Author: mkbz7b
Description:
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!!
Version: 1.7.x
Severity: critical
OS: Windows XP
Platform: PC
URL: http://www.livingoffcampus.info/info