Closed (fixed)
Project:
MediaWiki
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Feb 2008 at 14:10 UTC
Updated:
3 Mar 2008 at 10:12 UTC
I've set up a fresh Drupal 5.7 installation to test this module. I've installed the module in the same as any other module.
When enabling the module by clicking its checkbox in the module list and clicking save, PHP throws the following error:
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in modules/mediawiki/mediawiki.module on line 119
I have examined the code briefly but was unable to ascertain the source of the error.
If anybody has any thoughts or ideas they would be very much aprpeciated. Also, any feedback about how you got this module working for you would be very welcome too.
Cheers,
Chris.
Comments
Comment #1
chrism2671 commentedSolution found. Module is incompatible with php4, use php5.
Comment #2
trent4852 commentedI received the same error today:
Parse error: parse error, unexpected T_OBJECT_OPERATOR in modules/mediawiki/mediawiki.module on line 119
I can't seem to find any information about how to fix this.
Comment #3
chrism2671 commentedIt's because you are using PHP4. Use PHP5.