Hi,

I've already checked about this error with Acidfree module developer and it suggested to post this question here. Basically i'm not able to submit images in Acidfree albums and i am seeing the following error.
Please let me know what could be wrong i'm doing.

Fatal error: Only variables can be passed by reference in /var/apache2/www/modules/filemanager.module on line 390

Thanks

Comments

Frando’s picture

Title: Not able to submit pictures to acidfree module » Having the same problem ...

Hey guys..

I'm having just the same problem. It seems to be a general problem with drupal and PHP 5.04 (see here http://drupal.org/node/26033).
There had been patches for the other affected modules... someone able to do the same for filemanager?

Would be great if it would still be compatible with acidfree (acidfree supplies a patch for filemanager) ... we might need an updated version of the acidfree patch that works on the patched filemanager.module as well.

regards,
Frando

Frando’s picture

Title: Having the same problem ... » Fatal error: Only variables can be passed by reference
ccourtne’s picture

Status: Active » Fixed

I have gone through and fixed all calls to file_move and file_copy to use variables instead of embeded function calls. I don't have a test bed that recreates this error to test the fix. Can you try the latest version from CVS.

zirafi’s picture

Yes, i would love to test this and use it, but i don't know the uninstall steps for this module. Do i need to drop the table first to uninstall it or i can just remove the module from modules dir? Actually i aslo installed filemanager patch also while i was installing Acidfree module. Please let me know how to reinstall this module. Is the latest version available from Modules pages?

Thanx

ccourtne’s picture

The latest version of filemanager has the acidfree patch already applied. All changes where in the filemanager.module file, to upgrade just replace your existing filemanger.module file with the latest version from the DRUPAL-4.6 branch or from the download on the modules page.

Thanks!

zirafi’s picture

Status: Fixed » Closed (fixed)

Yes, i copied over the new versions for both the modules and that helped me upload images.

thanks