Last modified: 2011-04-04 21:32:40 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 T8623, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6623 - Attempts to login result in "Fatal error: Cannot redeclare class mediawiki_i18n"
Attempts to login result in "Fatal error: Cannot redeclare class mediawiki_i18n"
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
1.6.x
Other other
: High major (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.uvm.edu/~usernamewitheld/w...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-07-10 17:09 UTC by Chris
Modified: 2011-04-04 21:32 UTC (History)
0 users

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


Attachments
Copied older LocalSettings.php file (4.66 KB, text/plain)
2006-07-10 17:48 UTC, Chris
Details

Description Chris 2006-07-10 17:09:11 UTC
System is AIX running php 4.x
Install went ok, though had to use LocalSettings.php from olderinstall as the
install script wouldn't create it's own LocalSettings.php file and the one it
gave the "it would have created this content" did not work.

When trying to log in:
>>>
Fatal error: Cannot redeclare class mediawiki_i18n in
/machinepathtoaccountwithheld/public_html/wiki/includes/SkinTemplate.php on line 43
>>>

Wiki is set to allow open editing right now, so editing does work, but user
wants "user" edit access only.
Comment 1 Brion Vibber 2006-07-10 17:17:38 UTC
1) Provided URL does not work

2) Please include the exact error message with the failing 
LocalSettings.php

3) Please provide copies of the old and new LocalSettings.php

4) Please confirm that you have uploaded all the new files, complete and 
uncorrupted, and that paths in LocalSettings.php point to the correct 
files.

5) If a custom skin is in use, please check it for correctness and 
insure it is not including SkinTemplate.php extra times.
Comment 2 Chris 2006-07-10 17:48:33 UTC
Created attachment 2070 [details]
Copied older LocalSettings.php file

Version that originally came from a 1.5.x install.
Comment 3 Chris 2006-07-10 17:52:20 UTC
1)
http://www.uvm.edu/~merhart/wiki/index.php?title=Special:Userlogin&returnto=Main_Page

2)Exact error message (as already given)
Fatal error: Cannot redeclare class mediawiki_i18n in
/.../uvm.edu/fs/rack1b/u/ugrads/merhart/public_html/wiki/includes/SkinTemplate.php
on
line 43

3)version attached that was what was copied over. I'm not sure I have access to
te content of what was attempted to be created (the one that did not work)

4) Package was untarred in public_html directory and renamed to "wiki". Nothing
else was moved or changed. Except for the specific user information,
LocalSettings.php is set up eactly the same was as on a 1.6.7 version currently
running.

5) no custom skin is being used at this time. The install itself is fresh. There
is a reference in the LocalSettings.php file that referes to a different image
that was used, but it has only the effect of not showing the image (logo image).
Comment 4 Chris 2006-07-12 15:45:09 UTC
Problem solved.
mediawiki installer gave proper text to put in LocalSettings.php but when it was
copied using pico, the w switch wasn't used to it cause a couple lines to wrap. 

pico -w LocalSettings.php and pasting would have worked fine. I just edited the
file.

Still don't know why it was't able to create the file on it's own originally,
but I'm guessing it was a perms issue in the folder.

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


Navigation
Links