WebDav Help

Taylor J

Well-known member
Okay I just recently (like 30 minutes ago) switched from XAMPP to Zend CE for my localhost.

I have been trying to get WebDav working again in Dreamweaver CS5.5, and I keep getting an error.

Here is what I have put in,

zendwebdav.png


I have tried many different ways, without the :10081, with localhost and with localhost:10081.

I just can't get it to work, any suggestions?
 
I just figured out one thing, you have to set the webdav method on in the zend server ce control panel then restart php, but still I am getting an error thrown at me saying it cant get the listing and that to make sure i have the server set up properly and to make sure i have the correct permissions on it.
 
Just an update, but I still haven't been able to figure out why it just won't work, hopefully somebody that uses WebDav and Zend Server CE can come in here and help me troubleshoot it.

Also Brogan, the first link is helpful, but it really only seems like it is for making addon's etc when what I am using WebDav for at the moment is for styling.
 
Try adding this to the htaccess, after the "RewriteEngine On" line:
Code:
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
 
What happens if you send your browser to the admindav.php URL directly?
 
What happens if you send your browser to the admindav.php URL directly?
Says, "Must be in debug mode", but I never changed anything when I was using XAMPP, all I did then was put the details into the site manager on DW and it worked, plus I copied over everything from the XAMPP install to my Zend Server CE install.
 
Actually, I am a complete idiot, just realized I was trying to do it with 1.0.3, when I had it working on 1.0.2, so yeah, gotta add that piece of code into the 1.0.3 config.php. Woops, *slaps self in the face*.

Edit: I got it to where when I go to admindav.php directly via url that it makes me put in my username and password, but still in dreamweaver it doesn't want to connect, shoots the same error at me.

Also it only works when I have it directed at 127.0.0.1:10081/xf103/admindav.php, localhost and 127.0.0.1 by itself don't work when put in.

Edit2: It also doesn't work for my 1.0.2 install which nothing has been changed on that before/after the move to Zend CE.
 
Alright here are some images to help you help me out a little better :).

1.webp
2.webp
3.webp

And here is my config.php file
PHP:
<?php

$config['db']['host'] = 'localhost';
$config['db']['port'] = '3306';
$config['db']['username'] = 'root';
$config['db']['password'] = '';
$config['db']['dbname'] = 'xf103';
 
$config['superAdmins'] = '1';

if ($_SERVER['REMOTE_ADDR'] == '127.0.0.1')
{
    $config['debug'] = true;
}
 
Can you successfully enter your username and password via a browser? What do you get after that?

Do you have the trailing slash specified?
 
Are you sure the server is still recognising you as 127.0.0.1? Try forcing debug mode on and/or finding out what remote_addr is really set to.
 
My Dreamweaver config:
 

Attachments

  • Screen shot 2011-07-08 at 12.37.16.webp
    Screen shot 2011-07-08 at 12.37.16.webp
    28.6 KB · Views: 58
  • Screen shot 2011-07-08 at 12.37.22.webp
    Screen shot 2011-07-08 at 12.37.22.webp
    28.3 KB · Views: 56
  • Screen shot 2011-07-08 at 12.37.29.webp
    Screen shot 2011-07-08 at 12.37.29.webp
    10.6 KB · Views: 59
  • Screen shot 2011-07-08 at 12.37.34.webp
    Screen shot 2011-07-08 at 12.37.34.webp
    10.6 KB · Views: 52
  • Screen shot 2011-07-08 at 12.37.38.webp
    Screen shot 2011-07-08 at 12.37.38.webp
    13.1 KB · Views: 51
  • Screen shot 2011-07-08 at 12.37.43.webp
    Screen shot 2011-07-08 at 12.37.43.webp
    29.2 KB · Views: 50
  • Screen shot 2011-07-08 at 12.37.45.webp
    Screen shot 2011-07-08 at 12.37.45.webp
    17.7 KB · Views: 48
  • Screen shot 2011-07-08 at 12.37.50.webp
    Screen shot 2011-07-08 at 12.37.50.webp
    19.1 KB · Views: 49
After recreating what Kier had in his setup (but of course changing to the stuff to reflect my server stuff) I finally got it to connect to the server, the only problem is is that it keeps saying my login stuff is wrong, when it is right!

Even when I go to admindav.php directly via url on my localhost it won't log me in.

Now what could be causing this? Should I just try a reinstall of XenForo?
 
Even when I go to admindav.php directly via url on my localhost it won't log me in.

Now what could be causing this? Should I just try a reinstall of XenForo?
The line I gave for the .htaccess file is designed to fix that.
 
The line I gave for the .htaccess file is designed to fix that.

I haven't taken that line out of my .htaccess file since you gave it to me, just tried without it and still says wrong login information, then I readded it and it still says wrong login information.
 
Another quick update...

I decided to give up on Zend Server as it started to give me other problems that I just couldn't deal with. I switched back to XAMPP.

The thing is I installed XF on my localhost and got WebDav working for XAMPP, but for my VPS I am having the same issues I had with Zend Server CE.
 
The line I gave for the .htaccess file is designed to fix that.

Just to confirm that this worked for me - previously I could not log in using the web browser or Dreamweaver, and adding this line to .htaccess fixed it.

I also had to turn on allow_webdav_methods in Zend CE "Data Handling", as per Kier's config screenshots.

Can I suggest that more information be added to this post explaining what is required to make this work?
 
Top Bottom