Server is unreachable, invalid upload path
a.bond - October 27, 2009 - 16:26
| Project: | Web File Manager |
| Version: | 6.x-2.11 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
This is a new installation of WebFM on Drupal 6.14. I've set a WebFM root directory in admin/settings/webfm. The directory exists and has permissions of 775. However, when I go to the WebFM browser, highlighted in yellow on the left it says "Server is unreachable". If I try to upload a file, I get an "invalid upload path" error. What could be causing this?

#1
To update, I've noticed that when I attempt to upload a file, Drupal logs an "access denied" error on http://theajispace.com/?q=webfm_js from an anonymous account from my ip. I'm logged in, so I'm not sure why Drupal's logging it as an anomyous user. If webfm_js is an essential file, my lack of ability to load it might be causing the error.
I have clean urls on, so I'm not sure why it's using the ?q syntax here. Also, my site is set to the www.theajispace.com domain, so could the error be associated with the fact that the module is leaving off the www?
#2
Per this issue I also tried it with permissions 777 with no success. I'm not using the global redirect module. I tried opening the link directly (/?=webfm_js), and I got an empty file. I'm attempting to use webfm as user 1, so permissions shouldn't be an issue. When I open /webfm in IE8, IE8 reports an access denied error on sites/all/modules/webfm/js/webfm.js?M Odd that IE8 reports it on webfm.js and Chrome reports it on webfm_js. If I try to load the file directly, I can, so I'm not sure what kind of permissions error is going on here.
#3
I just found the "javascript debug messages" option and activated it. When I try to upload a file, the debug message it generates is "current directory undefined". I have a root directory defined in admin/settings/webfm, so I don't know why it's generating this message.
#4
Have you tried:
Also:
#5
I've tried deactivating caching, reinstalling the module, and using uid=1. I've deleted the directories created by webfm and allowed them to recreate automagically. I am running the current version, which is the only version I've run. I'm trying to add functionality to an existing live site, so I can't deactivate all other modules.
My error logs show the same message as the Drupal watchdog error logs:
#6
I noticed you've got some kind of "forward" once I visit your site - maybe there is an interference?
#7
In the htaccess I'm using the pre-coded rewrite condition to try to force the url to www instead of the plain version, and I have a javascript redirect to redirect anonymous users to the login page, so that only people with accounts can view the site. I'm also using a triggered action to redirect users on login to front instead of to profile. Are any of those what you're referring to? I disabled the javascript anonymous user redirect, but that didn't fix the problem.
#8
Figured it out, in my settings.php it had my domain without the www. Without the www, Drupal was treating the request for the JS file as an anonymous request and forbidding it.
#9
Automatically closed -- issue fixed for 2 weeks with no activity.