Topic on Project:Support desk

"Upgrade an existing installation" error

6
Suriyaa (talkcontribs)

After disabling the Babel extension, I got an "Upgrade an existing installation" error:

<style>.bpe a:link, .bpe a:visited, .bpe a:active { color: #0b4c8e; text-decoration: none; } .bpe a:hover { color: #0D7CEC; }</style>
Warning: require_once(/users/suriyaakudo/www/wiki/extensions/v1.25/ArticleFeedbackv5/maintenance/../../../maintenance/Maintenance.php) [<a href='http://de.php.net/function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /users/suriyaakudo/www/wiki/extensions/v1.25/ArticleFeedbackv5/maintenance/setArchiveDate.php on line 12
<style>.bpe a:link, .bpe a:visited, .bpe a:active { color: #0b4c8e; text-decoration: none; } .bpe a:hover { color: #0D7CEC; }</style>
Fatal error: require_once() [<a href='http://de.php.net/function.require'>function.require</a>]: Failed opening required '/users/suriyaakudo/www/wiki/extensions/v1.25/ArticleFeedbackv5/maintenance/../../../maintenance/Maintenance.php' (include_path='.') in /users/suriyaakudo/www/wiki/extensions/v1.25/ArticleFeedbackv5/maintenance/setArchiveDate.php on line 12

(Link to MyWiki: http://suriyaakudo.bplaced.net/wiki/mw-config/?page=Upgrade)

Ciencia Al Poder (talkcontribs)

The problem is that /users/suriyaakudo/www/wiki/extensions/v1.25/ArticleFeedbackv5/maintenance/../../../maintenance/Maintenance.php doesn't exists, which is translated into /users/suriyaakudo/www/wiki/extensions/maintenance/Maintenance.php.

That's because the extension must be under extensions, not under extensions/v1.25

Suriyaa (talkcontribs)

Thanks it works! :)

Suriyaa (talkcontribs)

Got a new error but similar to this one. After installung BetaFeatures and Popup extension:

<!DOCTYPE html><html><head><title>Interner Fehler – MediaWiki</title><style>body { font-family: sans-serif; margin: 0; padding: 0.5em 2em; }</style></head><body>

[366a0ad5] /wiki/mw-config/?page=Upgrade MWException from line 185 of /users/suriyaakudo/www/wiki/includes/Hooks.php: Invalid callback CNDatabasePatcher::applyUpdates in hooks for LoadExtensionSchemaUpdates

Backtrace:

#0 /users/suriyaakudo/www/wiki/includes/installer/DatabaseUpdater.php(118):Hooks::run(string, array)
#1 /users/suriyaakudo/www/wiki/includes/installer/DatabaseUpdater.php(183): DatabaseUpdater->__construct(DatabaseMysqli, boolean, NULL)
#2 /users/suriyaakudo/www/wiki/includes/installer/DatabaseInstaller.php(305): DatabaseUpdater::newForDB(DatabaseMysqli)
#3 /users/suriyaakudo/www/wiki/includes/installer/WebInstallerPage.php(647): DatabaseInstaller->doUpgrade()
#4 /users/suriyaakudo/www/wiki/includes/installer/WebInstaller.php(280): WebInstallerUpgrade->execute()
#5 /users/suriyaakudo/www/wiki/mw-config/index.php(77): WebInstaller->execute(array)
#6 /users/suriyaakudo/www/wiki/mw-config/index.php(36): wfInstallerMain()
#7 {main}

</body></html>

Ciencia Al Poder (talkcontribs)

CNDatabasePatcher is from Extension:CentralNotice. And I've found it's a bug already reported: task T57955 Apparently you'll need to use the update.php command line script to upgrade that extension.

Suriyaa (talkcontribs)

I can't use the update.php command line script to upgrade the CentralNotice extension because I'm running my wiki on bplaced.net.

Reply to ""Upgrade an existing installation" error"