Last modified: 2006-06-12 11:45:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T8058, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6058 - Cannot redeclare class mediawiki_i18n in SkinTemplate.php
Cannot redeclare class mediawiki_i18n in SkinTemplate.php
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
1.7.x
PC Windows XP
: High major with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-05-23 15:34 UTC by STyx
Modified: 2006-06-12 11:45 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description STyx 2006-05-23 15:34:44 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)
Comment 2 Rob Church 2006-05-28 21:50:26 UTC
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.
Comment 3 STyx 2006-05-30 16:18:47 UTC
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.
Comment 4 STyx 2006-05-30 16:19:32 UTC
NEW ERROR MESSAGE: 

Fatal error: Cannot redeclare class skintemplate in
D:\Net\mediawiki\trunk\phase3\includes\SkinTemplate.php on line 1007
Comment 5 STyx 2006-05-30 16:21:32 UTC
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) 


Comment 6 STyx 2006-05-30 16:24:17 UTC
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.
Comment 7 STyx 2006-06-02 15:00:37 UTC
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
Comment 8 STyx 2006-06-02 15:03:59 UTC
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 );


Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links