Page MenuHomePhabricator

'Internal error' is displayed when the user trying to access 'My preferences' link
Closed, ResolvedPublic

Description

Author: nadeejw

Description:
My preferences - Internal link

Steps to reproduce:

  1. Logged in user click on the 'My preferences' link.

Actual results:
'Internal error' displayed. (Refer screen shot)

Expected results:
'Preferences' page should displayed.

URL : http://prototype.wikimedia.org/rc-en/index.php/Main_Page
Version : 1.17alpha (r80667)


Version: 1.17.x
Severity: blocker
OS: Windows XP
Platform: PC

Attached:

My_preferences_internal_link.JPG (934×1 px, 146 KB)

Details

Reference
bz26920

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 21 2014, 11:22 PM
bzimport set Reference to bz26920.

Error message is: global default 'vector' is invalid for field skin.

I have no clue how Vector would suddenly be considered an invalid skin, that's very strange.

Weiiiiird. Does it occur on other installations of 1.17?

Was anything committed to fix this?

I find it *very* hard to believe this magically resolved itself.

pdhanda wrote:

It was a change in WikiEditor and Vector config params that took effect in 1.17.
Should be fixed now.

wiel wrote:

Although I'm running 1.19, this error still exists. What are these parms you're talking baout? Can they be set by the admin?

wiel, your problem is probably a different one. "Internal error" is just a php fatal error. Please look at the php error log for hints.
Also, you may need to update some of your extensions.

wiel wrote:

Looks pretty much the same though:

Global default 'tct' is invalid for field skin

Backtrace:

#0 [path to root]/httpdocs/includes/Preferences.php(1217): Preferences::getPreferences(Object(User), Object(RequestContext))
#1 [path to root]/httpdocs/includes/specials/SpecialPreferences.php(61): Preferences::getFormObject(Object(User), Object(RequestContext))
#2 [path to root]/httpdocs/includes/SpecialPageFactory.php(476): SpecialPreferences->execute(NULL)
#3 [path to root]/httpdocs/includes/Wiki.php(263): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#4 [path to root]/httpdocs/includes/Wiki.php(593): MediaWiki->performRequest()
#5 [path to root]/httpdocs/includes/Wiki.php(503): MediaWiki->main()
#6 [path to root]/httpdocs/index.php(58): MediaWiki->run()
#7 {main}

Do you have $wgDefaultSkin = 'tct'; in LocalSettings.php ?

wiel wrote:

(In reply to comment #9)

Do you have $wgDefaultSkin = 'tct'; in LocalSettings.php ?

Yes.

I thought I had found the reason of the error, but it didn't work:

I had copied the Monobook directory to a new directory 'tct' to be able to change to a new layout. But I forgot to make tct versions of Monobook.php/Monobook.deps.php and edit it, replacing all references from Monobook to tct. I did so now but to no avail.

BTW, thanks for reacting so fast!