Bug 702930
Summary: | Upgrade to mediawiki-1.16.4-58.fc14.i686 not working | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Muzi <muzammel.linux> |
Component: | mediawiki | Assignee: | Axel Thimm <Axel.Thimm> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 14 | CC: | Axel.Thimm |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-05-26 14:06:24 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Muzi
2011-05-08 12:32:05 UTC
Where was your mediawiki instance installed? Was it the default (but not recommended) /var/www/wiki? If yes, then the database update has been dealt with automatically. Otherwise cd to the mediawiki instance and call the update script there. Thanks Axel to look in to. I have test update using 2 mehtod 1) Using update script Yes i already tired to call update script from my installed location as cd /var/www/wiki/ ; php /usr/share/mediawiki/maintenance/update.php update script is running and its ok, but after that, wiki shows blank page, 2) Manually import new table Now restore old database dump and create sql file for import new table (pub_l10n_cache) . After import same thing happen wiki shows blank page, and below error appears in log. [Sun May 08 11:16:51 2011] [error] [client x.x.x.x] PHP Fatal error: Call to undefined method MediaWiki::initialize() in /var/www/wiki/public/index.php on line 117 Please suggest. As in past i used the same methods for update and never faced this problem. Concerning the blank page, you can check the error log under /var/log/ to see what the issue is. Also your wiki seems to not live under /var/www/wiki/, but /var/www/wiki/public/ according to your error message. This is not the issue yes i have use my own custom path (/var/www/wiki/public/) , error logs shows below only. PHP Fatal error: Call to undefined method MediaWiki::initialize() in /var/www/wiki/public/index.php on line 117 I've got the problem. :)
this is becuase index.php file is updated by new version, but dir contains the old file.
Line 117 difference is below
< $mediaWiki->initialize( $wgTitle, $wgArticle, $wgOut, $wgUser, $wgRequest );
---
> $mediaWiki->performRequestForTitle( $wgTitle, $wgArticle, $wgOut, $wgUser, $wgRequest );
I have now symlink index.php and api.php file , and problem is resolved.
Thanks.
|