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