Enabling an extension and it's breaking the whole site

If you are having problems with my MediaWiki Extensions, post here.
Post Reply
User avatar
dorlow
Rank 0
Rank 0
Posts: 2
Joined: February 26th, 2015, 4:25 pm

Enabling an extension and it's breaking the whole site

Post by dorlow »

Ok, I'm trying to enable the SQL2Wiki extension. One of the steps is to add

require_once("$IP/extensions/SQL2Wiki/SQL2Wiki.php");

to the bottom of of my LocalSettings.php.

When I put it in exactly how it's above then refresh my wiki, it takes the whole webpage for SQL2Wiki and injects it into every page of my Wiki.

I then tried changing the line

require_once("$IP/extensions/SQL2Wiki/SQL2Wiki.php");

to

require_once("/full/path/to/file/SQL2Wiki/SQL2Wiki.php");

and immediately after that, it just broke the whole wiki page so I just got a page cannot be displayed. I removed the line and the whole wiki works fine.

I can't do this trial and error too much. This is an enterprise wiki. I'm not sure how many people really use the wiki now, but I'd really like to get this feature to work.
Post Reply