Download & Extend

webfm_mkdir, webfm_rename cause fatal error: webfm_file.inc not included?

Project:Web File Manager
Version:6.x-2.11
Component:User interface
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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?

Comments

#1

Priority:normal» minor

Uhm, right click and choose rename?

#2

Title:rename folders?» webfm_mkdir, webfm_rename cause fatal error: webfm_file.inc not included?
Category:support request» bug report
Priority:minor» critical

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

Status:active» needs review

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?

AttachmentSize
577070-4.patch 486 bytes

#5

Status:needs review» reviewed & tested by the community

this works now - I hope this fixes your problem mhkc.

#6

Status:reviewed & tested by the community» fixed

Committed to HEAD. Thanks!

#7

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.