Extension talk:GlobalBan

From mediawiki.org
Latest comment: 16 years ago by 151.47.157.5 in topic Error after installation

Error after installation[edit]

  • MediaWiki: 1.11
  • PHP: 5.0+

When I copy the require_once line into my LocalSettings.php, the following error occurs:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' 
in [mydomain]/public_html/wiki/extensions/RudeProxyBlock.php on line 22

this occurs putting the line in any position: before the

require_once( "$IP/includes/DefaultSettings.php" )

and after it.

Hope I could get support soon, best regards.

(Jack Phoenix) - 151.47.155.83 21:23, 23 March 2008 (UTC)Reply


hmm, make sure you put the code somewhere near the bottom of local settings.php
require_once("$IP/extensions/RudeProxyBlock.php");
also try chmod files to 777 --Alex Carter 22:56, 23 March 2008 (UTC)Reply


did both, but to no avail. (Jack Phoenix) - 151.47.145.158 09:31, 24 March 2008 (UTC)Reply


what is the url to your board? I wil try to assist. Alex Carter


http://itachan.890m.com/wiki/ (Jack Phoenix) - 151.47.150.72 22:00, 24 March 2008 (UTC)Reply


Ah I see, this is possibly because it is a free host. That is why. The host has possibly disabled some features in PHP.ini file. Do you have a site of your own?


Well, I don't - I guess I'll add the proxies by hand, though it'll take a bit. (Jack Phoenix) - 151.47.157.5 10:12, 25 March 2008 (UTC)Reply