Hi,
I installed Cite.php like this:
-- downloaded Cite.php and Cite.i18n.php to my extensions/ directory, and made them executable -- added the line require_once( "$IP/extensions/Cite.php" ); to my LocalSettings.php
and got these error messages when I tried to access a page on my wiki:
array(1) { ["ParserClearState"]=> array(2) { [0]=> array(2) { [0]=> &NULL [1]=> string(10) "clearState" } [1]=> array(2) { [0]=> &object(extparserfunctions)(4) { ["mExprParser"]=> NULL ["mTimeCache"]=> array(0) { } ["mTimeChars"]=> int(0) ["mMaxTimeChars"]=> int(1000) } [1]=> string(10) "clearState" } } } Unknown datatype in hooks for ParserClearState
Backtrace:
- GlobalFunctions.php line 602 calls wfbacktrace() - Hooks.php line 85 calls wfdebugdiebacktrace() - Parser.php line 160 calls wfrunhooks() - Parser.php line 3542 calls parser::clearstate() - MessageCache.php line 457 calls parser::transformmsg() - MessageCache.php line 406 calls messagecache::transform() - GlobalFunctions.php line 449 calls messagecache::get() - GlobalFunctions.php line 408 calls wfmsggetkey() - GlobalFunctions.php line 319 calls wfmsgreal() - OutputPage.php line 172 calls wfmsg() - Article.php line 924 calls outputpage::setpagetitle() - Wiki.php line 326 calls article::view() - Wiki.php line 50 calls mediawiki::performaction() - index.php line 123 calls mediawiki::initialize()
Any ideas?
I'm running:
MediaWiki 1.6.3 PHP 4.3.10 MySQL 4.0.24 FreeBSD 5.4
Charlie
Charlie McElfresh wrote:
I installed Cite.php like this:
-- downloaded Cite.php and Cite.i18n.php to my extensions/ directory, and made them executable -- added the line require_once( "$IP/extensions/Cite.php" ); to my LocalSettings.php
and got these error messages when I tried to access a page on my wiki:
Upgrade to MediaWiki 1.8, which includes fixes to the broken hook code. (PHP 5 is required.)
-- brion vibber (brion @ pobox.com)
mediawiki-l@lists.wikimedia.org