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

Niels Hackius - September 17, 2009 - 18:36
Priority:normal» minor

Uhm, right click and choose rename?

#2

Niels Hackius - September 19, 2009 - 18:37
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

cweagans - September 19, 2009 - 19:57

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

cweagans - September 19, 2009 - 20:00
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

Niels Hackius - September 19, 2009 - 23:54
Status:needs review» reviewed & tested by the community

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

#6

cweagans - September 20, 2009 - 00:38
Status:reviewed & tested by the community» fixed

Committed to HEAD. Thanks!

#7

System Message - October 4, 2009 - 00:40
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.