Extension talk:GeeQuBox

When you're reporting an issues, please specify what version of mediawiki and what version of the extension you're using. Thanks! --Clausekwis 21:03, 22 March 2011 (UTC)

Fatal error
On mediaWiki 1.16 with your extension (v0.02.1) I'm getting the following error:

When I refresh the page the error is gone but the extension isn't activated. --84.245.7.153 12:34, 4 March 2011 (UTC)

Re: fatal error
I had that problem at first, too. I think it may have something to do with the PHP version. I fixed it by replacing this...

$replaced = preg_replace_callback($pattern,'self::_gqbReplaceMatches',$page);

with this...

$replaced = preg_replace_callback($pattern,'GeeQuBox::_gqbReplaceMatches',$page);

The second problem I had was that the extension assumes the URL root is /wiki/ and mine is actually /w/ - the way to fix this is to modify the regex pattern on line 128 (i.e. $pattern = '...').

I now have a third problem. Sometimes the lightbox works and sometimes it doesn't (goes to standard image view) - for the same exact pages. If I flush the cache it will sometimes work again, and sometimes not. Haven't been able to figure this one out yet.


 * Can you please let me know what version of PHP you're using? I'll see to updating the URL root behaviour, I should not have assumed any path values, I'm astonished I did. I can't help you out with our third issue though, but please do let me and the other users know once you find out what causes this. --Clausekwis 21:00, 22 March 2011 (UTC)


 * Both your first issues have been fixed in REL_0_2 (r84568) --Clausekwis 21:50, 22 March 2011 (UTC)

Plugin not working
I am using MW 1.16.4 on PHP 5.2.9 (XAMPP 1.7.1). I tried both REL_0_2 and the trunk-version of the Plugin but I cannot see any additional code in my pages' source code. Thumbnails link to the file-description page, as usual. best regards, docMario --129.206.90.2 09:43, 4 May 2011 (UTC)


 * Please make sure you have emptied your cache (memcached, page cache) and hit the refresh button on your pages containing galleries. If the problem persists despite this, please let me know. --Clausekwis 10:17, 4 May 2011 (UTC)


 * OK, still no luck in normal pages with thumbnails (is it supposed to work there?). I created a page with a gallery and get the following error when trying to view it:
 * Fatal error: Call to undefined method OutputPage::addModules in C:\XAMPP\htdocs\m5\extensions\GeeQuBox\GeeQuBox.php on line 101


 * Are you sure you're using 0.2 and not the trunk version? The trunk version will only work with me 1.17+. And no, it is not yet supposed to work with single thumbs. --Clausekwis 13:42, 4 May 2011 (UTC)