Last modified: 2010-05-15 15:41:17 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!!
MediaWiki 1.7x requires php 5 or later. If you are sure you are using php 5, feel free to reopen the bug.
I am DEFINITELY using PHP 5, I made my host upgrade the server just for this script.
Complain to your host, then. HTTP header says: X-Powered-By: PHP/4.4.4