Last modified: 2006-11-13 07:57:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T9887, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 7887 - PHP Syntax Error
PHP Syntax Error
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
PC Linux
: Normal critical (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.nayefcopty.com/mwiki
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-11-12 17:26 UTC by Nayef
Modified: 2006-11-13 07:57 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nayef 2006-11-12 17:26:29 UTC
Hi

I never edited Exceptions.php
Now I get this error:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or
T_FUNCTION or T_VAR or '}' in
/home/nayef/public_html/mwiki/includes/Exception.php on line 114

I have a project due 15 days, PLEASE PLEASE help me.

Thanks,
Comment 1 Rotem Liss 2006-11-12 17:28:09 UTC
Did you change something? Did the PHP configuration change? This error is
specific for PHP 4, while recent MediaWiki version support only PHP 5.
Comment 2 Nayef 2006-11-12 21:31:36 UTC
I've downloaded this in around July. I dont know which PHP version it was
compatible with.

2 days ago, I installed GD Image Libraries.. Could that be the problem?
Should I try removing them, or maybe de-upgrading php5 to php4 and see if it works?
Comment 3 Rob Church 2006-11-12 23:16:25 UTC
The problem *appears* to be that the PHP version MediaWiki is now running as is
less than 5.x. MediaWiki 1.7 and above require at least PHP 5.0.x and 5.1.x is
strongly recommended. Rotem's trying to help you work out whether something
degraded in the environment which would cause this apparent jump.
Comment 4 Nayef 2006-11-13 04:54:52 UTC
I de-upgraded PHP to PHP 4.. and re-upgraded to 5, it worked :)

Thx

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links