Hello, I recently moved to my own server and noticed the following error message when trying to get into my wiki.
*Parse error*: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in * /home/cwf/public_html/wiki/includes/Exception.php* on line *140
*I saw on mwusers.com, on their help forum, a thread on this issue but there was no solution listed. They mentioned something about PHP5 and parsing with it. I can use any and all help to fix this problem. I'm not sure why I am receiving this error or how to fix it.
Thanks, Jonathan
On 18/03/07, Jonathan J. Reinhart jreinhart@gmail.com wrote:
*Parse error*: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in * /home/cwf/public_html/wiki/includes/Exception.php* on line *140
You're running a version of MediaWiki which requires PHP 5. Install PHP 5 and configure the web server software to use it to parse (at least) MediaWiki's files.
Rob Church
Thanks Rob. I just submitted the request for that to be done to my server. I'm most grateful for your assistance.
On 3/18/07, Rob Church robchur@gmail.com wrote:
On 18/03/07, Jonathan J. Reinhart jreinhart@gmail.com wrote:
*Parse error*: syntax error, unexpected T_STRING, expecting
T_OLD_FUNCTION
or T_FUNCTION or T_VAR or '}' in * /home/cwf/public_html/wiki/includes/Exception.php* on line *140
You're running a version of MediaWiki which requires PHP 5. Install PHP 5 and configure the web server software to use it to parse (at least) MediaWiki's files.
Rob Church
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org