Hello everyone,
I tried to updated filefield from 3.3. to 3.5. I have php 5.3 installed and as soon as I made the CVS update to 3.5, I received an internal server error.
The apache log says:
[Fri Jun 25 13:25:30 2010] [error] [client ] PHP Parse error: syntax error, unexpected T_IS_IDENTICAL in
/sites/all/modules/filefield/filefield.module on line 984
Best regards
Sera
Comments
Comment #1
quicksketchThere shouldn't be any parse errors in the 3.5 version. Drupal 6 is not compatible with PHP 5.3.
Comment #2
quicksketchPlease reopen if this problem is reproducible. There shouldn't be any parse errors.
Comment #3
Sera commentedI found out what the mistake was, or the source of this error:
I installed 3.3 via CVS and upgraded it to 3.5 (and later to 3.6. and now to 3.7) via "CVS update -r DRUPAL-6--3-7 -dP"
While doing so, the merge of the new or changed lines wasn't done correctly. While looking into the filefield.module I noticed that there where lines like
"=========================" or that the <?php tag was declared more than once.
After deleting the whole folder and downloading the complete version 3.7 via CVS everything was fine again :)
So I guess something went wrong with the CVS update.
I hope this helps a little bit more.
Comment #4
Sera commented*changed the title to fit better to the problem*
Comment #5
quicksketchThanks for the update Sera.