Hi there,

I have installed Xampp and drupal version 6 with standard modules on a windows server

after drupal install i have installed webFM module and setup in Drupal

but everytime a want to upload a file via WebFM i get the following message:

strict warning: Only variables should be passed by reference in C:\xampp\htdocs\drupal\modules\webfm\webfm.module on line 2352.

What am i doing wrong or how can this be fixed?

kind regards
Hugo

CommentFileSizeAuthor
#5 webfm_1841416-5.patch1.24 KBroball
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hugo.Bothma’s picture

i have also tried different versions of drupal and webFM
with the same warning message

hugo.Bothma’s picture

Assigned: hugo.Bothma » Unassigned
roball’s picture

Title: Web File manager strict warning problem » Strict warning "Only variables should be passed by reference"
Component: User interface » Code
Category: Support request » Bug report
Priority: Major » Normal
Issue summary: View changes

I would post a patch that fixes that millions of
Only variables should be passed by reference in /etc/drupal6/all/modules/webfm/webfm.module on line 2495.
errors in dblog when used with PHP 5.4. However, this module seems completely unmaintained since years :-(

nhck’s picture

Lets say minimally maintained. The original maintainer quickly jumped ship #592956

Anyway, if you post a patch I'll be happy to review and commit to the dev version.

roball’s picture

Version: 6.x-2.18 » 6.x-2.x-dev
Status: Active » Needs review
FileSize
1.24 KB

Oh, module is still alive ;-) Here is the patch!