Last modified: 2010-05-15 15:41:17 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 7151 - Pages will not load, gives a php error
Pages will not load, gives a php error
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
PC Windows XP
: Highest critical (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-08-28 19:22 UTC by BostitcH1
Modified: 2010-05-15 15:41 UTC (History)
0 users

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


Description BostitcH1 2006-08-28 19:22:48 UTC
I get a php error whenever I try to load a page with the wiki script.  I was
adding articles to it, when all of a sudden this happened.  I have not messed
with the code.

This is the error that I get:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or
T_FUNCTION or T_VAR or '}' in
/my/direcotry/tree/foo/livingoffcampus/info/includes/Exception.php on line 114

The error refers to these lines of code: 

class ErrorPageError extends MWException {
	public $title, $msg;
	 * Note: these arguments are keys into wfMsg(), not text!
	function __construct( $title, $msg ) {
		$this->title = $title;
		$this->msg = $msg;
		parent::__construct( wfMsg( $msg ) );

	function report() {
		global $wgOut;
		$wgOut->showErrorPage( $this->title, $this->msg );

Comment 1 Daniel Kinzler 2006-08-28 19:25:13 UTC
MediaWiki 1.7x requires php 5 or later. If you are sure you are using php 5,
feel free to reopen the bug.
Comment 2 BostitcH1 2006-08-28 19:26:40 UTC
I am DEFINITELY using PHP 5, I made my host upgrade the server just for this script.
Comment 3 Daniel Kinzler 2006-08-28 19:29:11 UTC
Complain to your host, then. HTTP header says: X-Powered-By: PHP/4.4.4

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