I'm getting Parse error: syntax error, unexpected T_STATIC in C:\wiki\htdocs\wiki\extensions\Realnames\Realnames.body.php on line 85
Topic on Extension talk:Realnames
Realnames_0.3_2011-11-05 fails on MW 1.18
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.
Hi, I'm also getting this error with 0.3.1. Here is my enviroment:
|- ! 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
- MediaWiki 1.18
- PHP 5.2.17
- Realnames 0.3.1 (2011-12-25)
$wgRealnamesLinkStyle = "append";
Users are clamoring for Real Names to be visible.
You have to update to php 5.3+
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.