Topic on Project:Support desk

Jump to navigation Jump to search

[RESOLVED] "" is not a valid magic word for "speciale"

7
78.34.148.80 (talkcontribs)

Since I have upgraded from 1.19.1 to 1.20.2 I always get the following errors in the apache logs:

  • "" is not a valid magic word for "speciale"
  • PHP Warning: array_map(): An error occurred while invoking the map callback in /var/www/wiki/mediawiki-1.20.2/includes/Title.php on line 2087
  • PHP Fatal error: Call to a member function matchStartAndRemove() on a non-object in /var/www/wiki/mediawiki-1.20.2/includes/parser/Parser.php on line 3147

The page never is shown - instead I only get a blank page.

php --version

PHP 5.3.3-7+squeeze14 with Suhosin-Patch (cli) (built: Aug  6 2012 14:18:06) 
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
   with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH

mysql --version

mysql  Ver 14.14 Distrib 5.1.63, for debian-linux-gnu (x86_64) using readline 6.1
Ciencia Al Poder (talkcontribs)

See Manual:How_to_debug. Try disabling all extensions. Be sure you unpacked the installation on an empty directory and not over the old installation.

78.35.73.156 (talkcontribs)

I do not use any extensions and I have unpacked into an empty directory - will try to create a debug log tomorrow ...

Bawolff (talkcontribs)

Btw, make sure all your language files were upgraded properly when you did the upgrade. It sounds kind of like some of the translation files were damaged.

86.134.102.231 (talkcontribs)

Have reloaded the mediawiki tarball, to ensure that the language files are OK, set a wgDebugLogFile and got the following output:

[116f798f] /DocuWiki/index.php?title=Special%3ASearch&search=db_arrayGet&redirs=1&profile=default   Exception from line 311 of /var/www/wiki/mediawiki-1.20.2/includes/MagicWord.php: Error: invalid magic word 'speciale'
#0 /var/www/wiki/mediawiki-1.20.2/includes/MagicWord.php(236): MagicWord->load('speciale')
#1 /var/www/wiki/mediawiki-1.20.2/includes/parser/Parser.php(4765): MagicWord::get('speciale')
#2 /var/www/wiki/mediawiki-1.20.2/includes/parser/CoreParserFunctions.php(74): Parser->setFunctionHook('speciale', Array)
#3 /var/www/wiki/mediawiki-1.20.2/includes/parser/Parser.php(253): CoreParserFunctions::register(Object(Parser))
#4 [internal function]: Parser->firstCallInit()
#5 /var/www/wiki/mediawiki-1.20.2/includes/StubObject.php(79): call_user_func_array(Array, Array)
#6 /var/www/wiki/mediawiki-1.20.2/includes/StubObject.php(99): StubObject->_call('firstCallInit', Array)
#7 /var/www/wiki/mediawiki-1.20.2/includes/cache/MessageCache.php(829): StubObject->__call('firstCallInit', Array)
#8 /var/www/wiki/mediawiki-1.20.2/includes/cache/MessageCache.php(829): StubObject->firstCallInit()
#9 /var/www/wiki/mediawiki-1.20.2/includes/cache/MessageCache.php(807): MessageCache->getParser()
#10 /var/www/wiki/mediawiki-1.20.2/includes/Message.php(618): MessageCache->transform('$1 - {{SITENAME...', true, Object(Language), Object(Title))
#11 /var/www/wiki/mediawiki-1.20.2/includes/Message.php(436): Message->transformText('$1 - {{SITENAME...')
#12 /var/www/wiki/mediawiki-1.20.2/includes/Message.php(476): Message->toString()
#13 /var/www/wiki/mediawiki-1.20.2/includes/OutputPage.php(790): Message->text()
#14 /var/www/wiki/mediawiki-1.20.2/includes/OutputPage.php(833): OutputPage->setHTMLTitle(Object(Message))
#15 /var/www/wiki/mediawiki-1.20.2/includes/SpecialPage.php(589): OutputPage->setPageTitle('Search')
#16 /var/www/wiki/mediawiki-1.20.2/includes/specials/SpecialSearch.php(84): SpecialPage->setHeaders()
#17 /var/www/wiki/mediawiki-1.20.2/includes/SpecialPage.php(611): SpecialSearch->execute(NULL)
#18 /var/www/wiki/mediawiki-1.20.2/includes/SpecialPageFactory.php(494): SpecialPage->run(NULL)
#19 /var/www/wiki/mediawiki-1.20.2/includes/Wiki.php(290): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#20 /var/www/wiki/mediawiki-1.20.2/includes/Wiki.php(536): MediaWiki->performRequest()
#21 /var/www/wiki/mediawiki-1.20.2/includes/Wiki.php(446): MediaWiki->main()
#22 /var/www/wiki/mediawiki-1.20.2/index.php(59): MediaWiki->run()
#23 {main}

any idea? --86.134.102.231 18:07, 23 December 2012 (UTC)

UnwashedMeme~mediawikiwiki (talkcontribs)

Getting the same error:

  • upgrading from mediawiki-1.19.1
  • no extensions
  • unzip into an empty folder, copy in images and LocalSettings.php
  • language 'en'
  • ran the update `cd maintenance; php update.php`- it doesn't appear to report any errors, ends with "Done."

This post was posted by UnwashedMeme~mediawikiwiki, but signed as UnwashedMeme.

Reply to "[RESOLVED] "" is not a valid magic word for "speciale""