I'm getting Parse error: syntax error, unexpected T_STATIC in C:\wiki\htdocs\wiki\extensions\Realnames\Realnames.body.php on line 85
This post was posted by Vgold~mediawikiwiki, but signed as Vgold.
I'm getting Parse error: syntax error, unexpected T_STATIC in C:\wiki\htdocs\wiki\extensions\Realnames\Realnames.body.php on line 85
This post was posted by Vgold~mediawikiwiki, but signed as Vgold.
I'm not exactly sure if I fixed your problem, but could you please try 0.3.1 and let me know? I finally got my environment back up, and I've got it working on all wiki version back to 1.15.x
If it doesn't fix it, could you please give me the new error message/line num, as well as what version of PHP you are running?
Thanks for reporting the problem! I'll get it fixed ASAP either way.
This post was posted by Ofbeaton, but signed as Olivier Beaton.
Hi, I'm also getting this error with 0.3.1. Here is my enviroment:
Product | Version |
MediaWiki | 1.17.0 |
PHP | 5.1.6 (apache2handler) |
MySQL | 5.0.77 |
|- ! Header text !! Header text !! Header text |- | Example || Example || Example |- | Example || Example || Example |- | Example || Example || Example
And the error message: PHP Parse error: syntax error, unexpected T_STATIC in /var/www/html/mw/extensions/Realnames/Realnames.body.php on line 80
Same error as others
Parse error: syntax error, unexpected T_STATIC in /homepages/obfuscation/htdocs/mediawiki/extensions/Realnames/Realnames.body.php on line 80
Environment
LocalSettings.php
require_once("$IP/extensions/Realnames/Realnames.php");
$wgRealnamesLinkStyle = "append";
Users are clamoring for Real Names to be visible.
i've got the same error. MediaWiki 1.18.0 PHP 5.2.17 (ucgi5) MySQL 5.5.21-log Parse error: syntax error, unexpected T_STATIC in /polish/extensions/Realnames/Realnames.body.php on line 80
I resolved the issue by replacing all reference to static:: with self:: This will roughly have the same effect, but fix your errors.