Any idea of what was wrong in the old LocalSettings? And old was it: what version of MediaWiki? Thanks
Nicolas Le 27 sept. 2012 à 14:11, Pete a écrit :
Stip,
That was the trick. Thanks!
Pete
On Thu, Sep 27, 2012 at 1:40 AM, Stip stipen.treublatt@gmx.net wrote:
Try this: Dont copy the old localsettings. Use the webinstaller, it will create a new localsettings, and copy every line you need out of the old localsettings into the new one.
Am 26.09.2012 22:33, schrieb Pete:
Hi All,
I have tried this upgrade twice now, carefully reviewing each step as described here: http://www.mediawiki.org/wiki/Manual:Upgrading and both times, I get stuck at what appears to be the exact same place.
I have enabled $wgShowExceptionDetails = true; in LocalSettings.php but nothing is displayed in the web browser. The only message I get is in the apache logs and the fatal message is:
PHP Fatal error: Call to undefined method ACTION::getActionName() in /var/www/wiki/includes/Wiki.php on line 317
I have some php experience but get lost quick in this code. There are methods/functions/tools that I've never used before so I'm having difficulty following it.
I've done everything it told me to on the upgrade page.
Download new Remove old Move new to web root Copied old LocalSettings.php to new Turned on wgShowExceptionDetails Updated extensions etc.
However, I get a blank web page when I browse to index.php and the error log shows the error pasted above. If this helps, here's where "getActionName" is found in the code base:
../includes/Action.php: public final static function getActionName( IContextSource $context ) { ../includes/OutputPage.php: $bodyAttrs['class'] .= ' action-' . Sanitizer::escapeClass( Action::getActionName( $this->getContext() ) ); ../includes/OutputPage.php: 'wgAction' => Action::getActionName( $this->getContext() ), ../includes/Wiki.php: $action = Action::getActionName( $this->context );
Any ideas?
Thanks in advance, Pete
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
-- N. Brouard