Last modified: 2006-06-12 11:45:25 UTC
After update cd phase3 && svn update cd extensions && svn update revision 14355. cd phase3 && php -cli ./maintenance/update.php I'm no longer login and when I try to login, I get blank page with message : Fatal error: Cannot redeclare class mediawiki_i18n in D:\Net\mediawiki\trunk\phase3\includes\SkinTemplate.php on line 43 Version: # MediaWiki: 1.7alpha # PHP: 4.3.10 (apache) # MySQL: 4.1.9-max (EasyPHP 1.8.0.1)
URL is "http://127.0.0.1/STyxWiki/index.php?title=Special:Userlogin"
You'll need to advise us as to what version was upgraded from, what custom extensions were installed and what, if anything, was printed out during the upgrade process. Also be aware that SVN trunk is no longer guaranteed to work with versions of PHP older than 5.
In fact, the error occured (apparently from without a cause) then I've upgraded. I've update PHP and MediaWiki: STyx@loustyx /cygdrive/d/Net/mediawiki/trunk $ make update cd phase3 && svn update U config/index.php ... Actualis?\195?\169 ?\195?\160 la r?\195?\169vision 14483. cd extensions && svn update ... Actualis?\195?\169 ?\195?\160 la r?\195?\169vision 14483. cd phase3 && php -c c:/Util/EasyPHP/apache ./maintenance/update.php MediaWiki 1.7alpha Updater Going to run database updates for wikidb Depending on the size of your database this may take a while! Abort with control-c in the next five seconds...0 ...already ...already ... have ... have ... Done.
NEW ERROR MESSAGE: Fatal error: Cannot redeclare class skintemplate in D:\Net\mediawiki\trunk\phase3\includes\SkinTemplate.php on line 1007
VERSION: * MediaWiki: 1.7alpha (r14483) * PHP: 5.1.4 (apache) * MySQL: 4.1.9-max * Extensions: o Parser hooks: + CharInsert by Brion Vibber + Cite, adds <ref[ name=id]> and <references/> tags, for citations, by Ævar Arnfjörð Bjarmason + Inputbox by Erik Moeller + ParserFunctions by Tim Starling o Extension functions: + wfSetupParserFunctions, setupSpecialChars, wfCite and registerInputboxExtension o Parser extension tags: + <charinsert>, <ref>, <references> and <inputbox> * Hooks: o ParserClearState: (Cite, clearState)
phpMyAdmin 2.6.1 reports: Warning: Unknown: 1 result set(s) not freed. Use mysql_free_result to free result sets which were requested using mysql_query() in Unknown on line 0 I think this is a related problem.
I've solved the problem by recreating "LocalSettings.php" with "MediaWiki 1.7alpha Installation". :)) It reports: # Database wikidb exists Warning: mysql_query() [http://www.mysql.com/doc]: Table 'wikidb.cur' doesn't exist in d:\Net\mediawiki\trunk\phase3\includes\Database.php on line 428
main changes in "LocalSettings.php" are : * $wgProxyKey value * new lines : # When you make changes to this configuration file, this will make # sure that cached pages are cleared. $configdate = gmdate( 'YmdHis', @filemtime( __FILE__ ) ); $wgCacheEpoch = max( $wgCacheEpoch, $configdate );