Extension talk:Gallery2wiki

Errors with Gallery 2.3 and MediaWiki 1.13.2
Gallery 2.3 is installed and working. MediaWiki 1.13.2 (via svn) is installed and working. (on a he.net server)

When I enable Gallery2wiki (via LocalSettings.php), I get this error when I try to access my website:

MediaWiki internal error.

Original exception: exception 'MWException' with message 'Detected bug in an extension! Hook replaceR failed to return a value; should return true to continue hook processing or false to abort.' in /home/meaning/public_html/w/includes/Hooks.php:137 Stack trace:
 * 1) 0 /home/meaning/public_html/w/includes/parser/Parser.php(318): wfRunHooks('ParserBeforeStr...', Array)
 * 2) 1 /home/meaning/public_html/w/includes/Article.php(3384): Parser->parse('= [[Image:DL an...', Object(Title), Object(ParserOptions), true, true, 2461)
 * 3) 2 /home/meaning/public_html/w/includes/Article.php(865): Article->outputWikiText('= [[Image:DL an...')
 * 4) 3 /home/meaning/public_html/w/includes/Wiki.php(437): Article->view
 * 5) 4 /home/meaning/public_html/w/includes/Wiki.php(59): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
 * 6) 5 /home/meaning/public_html/w/index.php(93): MediaWiki->initialize(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest))
 * 7) 6 {main}

Exception caught inside exception handler: exception 'MWException' with message 'Detected bug in an extension! Hook replaceR failed to return a value; should return true to continue hook processing or false to abort.' in /home/meaning/public_html/w/includes/Hooks.php:137 Stack trace:
 * 1) 0 /home/meaning/public_html/w/includes/parser/Parser.php(457): wfRunHooks('ParserBeforeStr...', Array)
 * 2) 1 /home/meaning/public_html/w/includes/parser/Parser.php(3900): Parser->preprocess('$1 - {{SITENAME...', Object(Title), Object(ParserOptions))
 * 3) 2 /home/meaning/public_html/w/includes/MessageCache.php(684): Parser->transformMsg('$1 - {{SITENAME...', Object(ParserOptions))
 * 4) 3 /home/meaning/public_html/w/includes/GlobalFunctions.php(469): MessageCache->transform('$1 - {{SITENAME...')
 * 5) 4 /home/meaning/public_html/w/includes/GlobalFunctions.php(432): wfMsgGetKey('pagetitle', true, false, true)
 * 6) 5 /home/meaning/public_html/w/includes/GlobalFunctions.php(338): wfMsgReal('pagetitle', Array, true)
 * 7) 6 /home/meaning/public_html/w/includes/OutputPage.php(239): wfMsg('pagetitle', 'Internal error')
 * 8) 7 /home/meaning/public_html/w/includes/Exception.php(139): OutputPage->setPageTitle('Internal error')
 * 9) 8 /home/meaning/public_html/w/includes/Exception.php(174): MWException->reportHTML
 * 10) 9 /home/meaning/public_html/w/includes/Exception.php(260): MWException->report
 * 11) 10 /home/meaning/public_html/w/includes/Exception.php(294): wfReportException(Object(MWException))
 * 12) 11 [internal function]: wfExceptionHandler(Object(MWException))
 * 13) 12 {main}

Is this problem solved ? --hollosch 15:33, 1 April 2009 (UTC)

---

Looking for this as well... -- NCooper 3 Feb 2010 (MST)

-- When I click any edit link on any page, e.g., Main Page: http://localhost/TestWikiLR/mediawiki/index.php?title=Main_Page&action=edit

Internal error

Detected bug in an extension! Hook todoPreviewAction failed to return a value; should return true to continue hook processing or false to abort.

Backtrace:


 * 1) 0 /var/www/html/TestWikiLR/mediawiki/includes/EditPage.php(288): wfRunHooks('AlternateEdit', Array)
 * 2) 1 /var/www/html/TestWikiLR/mediawiki/includes/EditPage.php(271): EditPage->edit
 * 3) 2 /var/www/html/TestWikiLR/mediawiki/includes/Wiki.php(553): EditPage->submit
 * 4) 3 /var/www/html/TestWikiLR/mediawiki/includes/Wiki.php(70): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
 * 5) 4 /var/www/html/TestWikiLR/mediawiki/index.php(117): MediaWiki->performRequestForTitle(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest))
 * 6) 5 {main}

What's wrong with my installation with the SMW extensions?

---Linforest (talk)

Error for Extension Info/Download Page
The page hosting info and download on the Gallery2Wiki extension is showing a PHP error, so the extension itself as well as any further info is inaccessible. (This appears to be working fine now. --glenn)

http://www.transarte.net/mediawiki/index.php/Gallery2wiki

Cannot redeclare class galleryembed in GalleryEmbed.class on line 49
After Installation, every I press the icon, it appears Fatal error: Cannot redeclare class galleryembed in http://myhost/gallery2/modules/core/classes/GalleryEmbed.class on line 49

Is this due to my php version (php5)? --59.117.209.57 12:18, 4 July 2006

Fix?
I found a way to see what the content is at http://www.transarte.net/mediawiki/index.php/Gallery2wiki.

Instead of going there go to http://www.transarte.net/mediawiki/index.php?title=Gallery2wiki&action=raw&ctype=text/php and download the file instead. would some of you find this as a fix (or a way to get it)? Frostyfrog 22:43, 22 May 2007 (UTC)

Current Version ?
Is there a current Version for MW 1.13+ 1.14+ ??

thanks --hollosch 15:31, 1 April 2009 (UTC)

Fix with Hook_replace_R
Hi!

I found a fix to problems with the integration...



But, another problem occurred: When I edit a page, everything works fine, the new button, the integration of the images and so on. But when I preview the edit, the gallery2wiki-button vanishes.

Has anybody an idea on this? --Bruder Lars 09:00, 27 January 2010 (UTC)

Extension dead ?
I think this extension is dead, or ? --hollosch 20:03, 21 June 2011 (UTC)