Last modified: 2010-05-15 15:41:17 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 T9151, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 7151 - Pages will not load, gives a php error
Pages will not load, gives a php error
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
1.7.x
PC Windows XP
: Highest critical (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.livingoffcampus.info/info
:
Depends on:
Blocks:
  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: ---


Attachments

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 );
		$wgOut->output();
	}
}


PLEASE HELP ME!!
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.


Navigation
Links