Last modified: 2006-07-09 10:14:57 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 6597 - Maintenance scripts fail with error in SpecialPage.php
Maintenance scripts fail with error in SpecialPage.php
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
PC Windows XP
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-07-09 07:15 UTC by Patriarch Anthony I
Modified: 2006-07-09 10:14 UTC (History)
0 users

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


Description Patriarch Anthony I 2006-07-09 07:15:41 UTC
Everytime I try to run the maintenance scripts I get this error:

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or
T_FUNCTION or T_VAR or '}' in /home/taacus/public_html/includes/SpecialPage.php
on line 69

It worked before in 1.6.7 but not anymore. I have my AdminSettings.php set up
like it says to. Like I said they used to work until the upgrade to 1.7.0 and
1.8-svn. I tried both 1.7.0 and 1.8-svn and both have the same problem.
Comment 1 Brion Vibber 2006-07-09 07:37:43 UTC
It sounds like you're running PHP 4. Make sure your command-line 
PHP executable is in fact PHP 5.
Comment 2 Patriarch Anthony I 2006-07-09 08:03:11 UTC
That is exactly what it was. I have no idea how to make my shell access use php5
since the php is the cgi module on my server but I have found a temporary work

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