Issue:No listing with DPL tag and errors in log on Fedora 13 64bit

From FollowTheScore
Jump to: navigation, search
Description: DPL will not generate anything on a Fedora 13 x64 system (Mediawiki 1.15.4, PHP 5.3.2 (apache2handler) / MySQL 5.1.47
Extension / Version: DPL   /   DynamicPageList (Version 1.8.9)
Type / Status: Bug   /   open

Problem

1. Installed fresh install of mediawiki, downloaded Semeb_extensions.zip from website,

2. created 2 test pages with random text, and 2 categories ([[category:infrastructure]] [[category:procedure]])

3. created a page called General:Testy

4. used the following code (which works on an older version of mediawiki (1.11.0) and php (5.2.13 / mysql 5.1.16 running on fedora 11):

DPL code I used: (on General:Testy on my wiki)

=== Infrastructure Documentation === {| border=1 cellpadding=2 cellspacing=0 width=100% style="font-size:12px;" |- style="background:Beige;" align=center |width=33%| '''Procedures''' ||width=33%| '''HowTo''' ||width=33%| '''Information''' |- |valign=top| <DPL> debug=0 category=infrastructure category=Procedure order=ascending </DPL> |valign=top| '''Hardware1''' <DPL> debug=0 category=Howto category=infrastructure category=doc_egenera order=ascending </DPL> '''Hardware2''' <DPL> debug=0 category=Howto category=infrastructure category=doc_ibm order=ascending </DPL> '''uncategorized''' <DPL> debug=0 category=Howto category=infrastructure notcategory=doc_ldap notcategory=doc_multipath notcategory=doc_san order=ascending </DPL> |valign=top| <DPL> debug=0 category=infrastructure category=Info order=ascending </DPL> |} * To add a document to the infrastructure page lists, add <pre>[[category:infrastructure]]</pre> to the bottom of your page, and then add one of the following category lines to the bottom of your page. <pre> [[category:procedure]] [[category:Howto]] [[category:info]] </pre> * Then add one of these sub categories: <pre> [[category:doc_ldap]] [[category:doc_oracle]] </pre> {{Template:Extension_DPL}}

Note: if you email me or reply with your address, I can send you a much better formatted than the above textfile with this information. Just an FYI.

The above results in NO output under category assigned (([[category:infrastructure]] [[category:procedure]]) <-- which in that case if you test the dpl code on a working dpl system you should have 2 test pages called test1 and test2 show up under 'infrastructure'.) Please help!

LOG:

When editing a page and hit 'preview' with DPL code:

[Fri Jun 18 16:04:54 2010] [error] [client 127.0.0.1] PHP Warning: Parameter 1 to Language::getMagic() expected to be a reference, value given in /var/www/html/wikitest/includes/StubObject.php on line 58, referer: http://localhost/wikitest/index.php?title=General:testy&action=edit [Fri Jun 18 16:04:54 2010] [error] [client 127.0.0.1] PHP Stack trace:, referer: http://localhost/wikitest/index.php?title=General:testy&action=edit [Fri Jun 18 16:04:54 2010] [error] [client 127.0.0.1] PHP 1. {main}() /var/www/html/wikitest/index.php:0, referer: http://localhost/wikitest/index.php?title=General:testy&action=edit [Fri Jun 18 16:04:54 2010] [error] [client 127.0.0.1] PHP 2. require_once() /var/www/html/wikitest/index.php:42, referer: http://localhost/wikitest/index.php?title=General:testy&action=edit [Fri Jun 18 16:04:54 2010] [error] [client 127.0.0.1] PHP 3. require_once() /var/www/html/wikitest/includes/WebStart.php:129, referer: http://localhost/wikitest/index.php?title=General:testy&action=edit [Fri Jun 18 16:04:54 2010] [error] [client 127.0.0.1] PHP 4. call_user_func() /var/www/html/wikitest/includes/Setup.php:310, referer: http://localhost/wikitest/index.php?title=General:testy&action=edit [Fri Jun 18 16:04:54 2010] [error] [client 127.0.0.1] PHP 5. ExtDynamicPageList::setupDPL() /var/www/html/wikitest/includes/Setup.php:0, referer: http://localhost/wikitest/index.php?title=General:testy&action=edit [Fri Jun 18 16:04:54 2010] [error] [client 127.0.0.1] PHP 6. Parser->setFunctionHook() /var/www/html/wikitest/extensions/DynamicPageList/DPLSetup.php:1117, referer: http://localhost/wikitest/index.php?title=General:testy&action=edit [Fri Jun 18 16:04:54 2010] [error] [client 127.0.0.1] PHP 7. MagicWord::get() /var/www/html/wikitest/includes/parser/Parser.php:4034, referer: http://localhost/wikitest/index.php?title=General:testy&action=edit [Fri Jun 18 16:04:54 2010] [error] [client 127.0.0.1] PHP 8. MagicWord->load() /var/www/html/wikitest/includes/MagicWord.php:197, referer: http://localhost/wikitest/index.php?title=General:testy&action=edit [Fri Jun 18 16:04:54 2010] [error] [client 127.0.0.1] PHP 9. StubContLang->getMagic() /var/www/html/wikitest/includes/MagicWord.php:244, referer: http://localhost/wikitest/index.php?title=General:testy&action=edit [Fri Jun 18 16:04:54 2010] [error] [client 127.0.0.1] PHP 10. StubContLang->__call() /var/www/html/wikitest/includes/StubObject.php:0, referer: http://localhost/wikitest/index.php?title=General:testy&action=edit [Fri Jun 18 16:04:54 2010] [error] [client 127.0.0.1] PHP 11. StubObject->_call() /var/www/html/wikitest/includes/StubObject.php:117, referer: http://localhost/wikitest/index.php?title=General:testy&action=edit [Fri Jun 18 16:04:54 2010] [error] [client 127.0.0.1] PHP 12. call_user_func_array() /var/www/html/wikitest/includes/StubObject.php:58, referer: http://localhost/wikitest/index.php?title=General:testy&action=edit


when accessing a dpl page:


[Fri Jun 18 16:11:45 2010] [error] [client 127.0.0.1] PHP Warning: Parameter 1 to Language::getMagic() expected to be a reference, value given in /var/www/html/wikitest/includes/StubObject.php on line 58, referer: http://localhost/wikitest/index.php/General:testy [Fri Jun 18 16:11:45 2010] [error] [client 127.0.0.1] PHP Stack trace:, referer: http://localhost/wikitest/index.php/General:testy [Fri Jun 18 16:11:45 2010] [error] [client 127.0.0.1] PHP 1. {main}() /var/www/html/wikitest/index.php:0, referer: http://localhost/wikitest/index.php/General:testy [Fri Jun 18 16:11:45 2010] [error] [client 127.0.0.1] PHP 2. require_once() /var/www/html/wikitest/index.php:42, referer: http://localhost/wikitest/index.php/General:testy [Fri Jun 18 16:11:45 2010] [error] [client 127.0.0.1] PHP 3. require_once() /var/www/html/wikitest/includes/WebStart.php:129, referer: http://localhost/wikitest/index.php/General:testy [Fri Jun 18 16:11:45 2010] [error] [client 127.0.0.1] PHP 4. call_user_func() /var/www/html/wikitest/includes/Setup.php:310, referer: http://localhost/wikitest/index.php/General:testy [Fri Jun 18 16:11:45 2010] [error] [client 127.0.0.1] PHP 5. ExtDynamicPageList::setupDPL() /var/www/html/wikitest/includes/Setup.php:0, referer: http://localhost/wikitest/index.php/General:testy [Fri Jun 18 16:11:45 2010] [error] [client 127.0.0.1] PHP 6. Parser->setFunctionHook() /var/www/html/wikitest/extensions/DynamicPageList/DPLSetup.php:1117, referer: http://localhost/wikitest/index.php/General:testy [Fri Jun 18 16:11:45 2010] [error] [client 127.0.0.1] PHP 7. MagicWord::get() /var/www/html/wikitest/includes/parser/Parser.php:4034, referer: http://localhost/wikitest/index.php/General:testy [Fri Jun 18 16:11:45 2010] [error] [client 127.0.0.1] PHP 8. MagicWord->load() /var/www/html/wikitest/includes/MagicWord.php:197, referer: http://localhost/wikitest/index.php/General:testy [Fri Jun 18 16:11:45 2010] [error] [client 127.0.0.1] PHP 9. StubContLang->getMagic() /var/www/html/wikitest/includes/MagicWord.php:244, referer: http://localhost/wikitest/index.php/General:testy [Fri Jun 18 16:11:45 2010] [error] [client 127.0.0.1] PHP 10. StubContLang->__call() /var/www/html/wikitest/includes/StubObject.php:0, referer: http://localhost/wikitest/index.php/General:testy [Fri Jun 18 16:11:45 2010] [error] [client 127.0.0.1] PHP 11. StubObject->_call() /var/www/html/wikitest/includes/StubObject.php:117, referer: http://localhost/wikitest/index.php/General:testy [Fri Jun 18 16:11:45 2010] [error] [client 127.0.0.1] PHP 12. call_user_func_array() /var/www/html/wikitest/includes/StubObject.php:58, referer: http://localhost/wikitest/index.php/General:testy


Version information:

Installed software Product Version MediaWiki 1.15.4 PHP 5.3.2 (apache2handler) MySQL 5.1.47 Installed extensions Parser hooks

DynamicPageList (Version 1.8.9) A highly flexible report generator for MediaWikis - manual and examples: see [1] Gero Scholz

ParserFunctions (Version 1.1.1) Enhance parser with logical functions Tim Starling

StringFunctions (Version 1.9.3) Enhances parser with string functions Juraj Simlovic

Wiki Category Tag Cloud (Version 1.0.1 [r188]) A Category Tag Cloud derived, improved, and fixed from the YetAnotherTagCloud Extension Daniel Friesen <dan_the_man@telus.net>

Extension functions registerTagCloudExtension, wfSetupParserFunctions, wfStringFunctions and (ExtDynamicPageList, setupDPL)

Parser extension tags

<dpl>, <dynamicpagelist>,
, <section> and <tagcloud>

Parser function hooks
anchorencode, basepagename, basepagenamee, defaultsort, displaytitle, dpl, dplchapter, dplmatrix, dplnum, explode, expr, filepath, formatdate, formatnum, fullpagename, fullpagenamee, fullurl, fullurle, gender, grammar, if, ifeq, iferror, ifexist, ifexpr, int, language, lc, lcfirst, len, localurl, localurle, namespace, namespacee, ns, numberingroup, numberofactiveusers, numberofadmins, numberofarticles, numberofedits, numberoffiles, numberofpages, numberofusers, numberofviews, pad, padleft, padright, pagename, pagenamee, pagesincategory, pagesize, plural, pos, protectionlevel, rel2abs, replace, rpos, special, sub, subjectpagename, subjectpagenamee, subjectspace, subjectspacee, subpagename, subpagenamee, switch, tag, talkpagename, talkpagenamee, talkspace, talkspacee, time, timel, titleparts, uc, ucfirst, urldecode and urlencode


== Reply ==