Jump to:
| Project: | Web File Manager |
| Version: | 6.x-2.11 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
WebFM had been working properly. I upgraded a couple of other modules (namely added internationalization, upgraded civicrm, and a few others). Then WebFM mysteriously returned an empty file tree -- as if there was nothing in the directory. AND the directory tree -- on the left side -- was nonexistent. No errors.
So I turned off all the other modules I remembered adding. Same problem.
I recreated the file directories and checked and double-checked file permissions, Drupal's WebFM permissions. The problem stays.
When I go to "debug" it gives me an empty window. (Directory cache merely returns "[ ]"). The directory *does* exist, it is set correctly, its permissions are right, and it's filled with files. It was working before!
I don't remember making any other major changes and am completely stuck how to get WebFM to start working again.
Any help? I'd love to get this working.
Comments
#1
And just to add, firebug reports that webfm is in fact returning a directory tree from webfm_js i.e.:
{ "status": true, "tree": [ { "/TFC Files": { "designs": "", "tools": { "Deterrence Relay Race": "" },....
"directions": "", "non-english materials": { "italian": "", "russian": "", "french": "" } } } ], "current": "/TFC Files", "admin": true, "err": "" }
FYI: Apache, PHP/5.2.6, Drupal6
#2
These issues can be difficult to diagnose remotely. If the directory tree is as above but isn't being displayed then there is likely some bad javascript synergy happening. Not all js plays nice so check what is being loaded along with webfm.
#3
These issues can be difficult to diagnose remotely. If the directory tree is as above but isn't being displayed then there is likely some bad javascript synergy happening. Not all js plays nice so check what is being loaded along with webfm.
#4
I have the same problem. Strangely enough it works to attach in a node, but when I want to use only webfm in a page to administer somethings it gives me the same empty screen.
Has anyone found something here. I tried to disable almost everything else.
#5
I have exactly the same problem and tried to figure out what is going on but lacking the js knowledge. Has anyone found a solution for this?
On some sites I got it working on others it simply refuses, even when I make the configuration the same.
#6
Upgrading to 2.12 did it for me. (After update.php and reloading the js cache.)
One of those, felt like magic, moments.
#7
Your solution reminded me that there was an issue with older WebFM versions that might have been causing this. Some servers would return responses to the Ajax calls that had special characters at the beginning (e.g. control characters). One of the changes in 2.12 was to add code to trim any leading info from the responses.