Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I'm running into the following error message when using the latest version of "filefield": Parse error: syntax error, unexpected '=', expecting ')' in /mnt/gs02/herd02/26164/domains/demos.kitsunedigital.com/html/expressions/sites/all/modules/filefield/filefield.module on line 190
When running the module locally on my laptop installation there's no problem - the problem only occurs when I activate the module on my Media Temple site. Reverting to the previous version of the module resolves the problem, upgrading again brings the problem back.
Comments
Comment #1
jpetso CreditAttribution: jpetso commentedThis is an error that occurs only on PHP 4 - the one in filefield has already been fixed in CVS, there's another one in the new filefield_meta module which is harder to fix. Previously and still discussed at issue #221730: PHP 4 parse error in filefield_meta, therefore this is a dupe. Guess we should release -rc3 soon so we don't get buried in bug reports for this one.