webfm_mkdir, webfm_rename cause fatal error: webfm_file.inc not included?
mhkc - September 14, 2009 - 15:47
| Project: | Web File Manager |
| Version: | 6.x-2.11 |
| Component: | User interface |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Description
I may be missing something VERY simple (probably am if history holds true), but I'm unable to rename any folders that are created within the Webfm browser.
Help?

#1
Uhm, right click and choose rename?
#2
Okay, I understand now - w/ the most recent copy from cvs this is broken:
Fatal error: Call to undefined function webfm_rename() in /var/www/fresh/sites/all/modules/webfm/webfm.module on line 1136
Fatal error: Call to undefined function webfm_mkdir() in /var/www/fresh/sites/all/modules/webfm/webfm.module on line 1080
webfm_file.inc doesn't seem to be included? I don't know why that happens?
#3
It appears that the last commit that affected that file was the views integration. Looking at the diff, it looks like the require_once statement was removed. I'll make a quick patch and commit here in a moment.
#4
I don't have a dev installation handy at the moment and don't have the time today or tomorrow to check and see if this patch addresses the problem. Would somebody kindly test this out?
#5
this works now - I hope this fixes your problem mhkc.
#6
Committed to HEAD. Thanks!
#7
Automatically closed -- issue fixed for 2 weeks with no activity.