Bug 1200455 - en.opensuse.org responds 500 when logged in
Summary: en.opensuse.org responds 500 when logged in
Status: NEW
Alias: None
Product: openSUSE.org
Classification: openSUSE
Component: Wiki (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Christian Boltz
QA Contact: Adrian Schröter
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-12 13:04 UTC by Matwey Kornilov
Modified: 2022-06-13 08:27 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matwey Kornilov 2022-06-12 13:04:44 UTC
Hi,

en.opensuse.org is currently broken for me, when I try to login using my openSUSE account.

Steps to reproduce:
1. open en.opensuse.org
2. enter login/password
3. see 500 on every page
Comment 1 Christian Boltz 2022-06-12 18:18:31 UTC
I'll need to enable debugging for your username to find out what's going on.

What's your username?
Comment 2 Matwey Kornilov 2022-06-12 18:19:20 UTC
Sorry, forgot to mention. My username is "matwey"
Comment 3 Christian Boltz 2022-06-12 20:08:38 UTC
Debug log is enabled.

Please try to login again. (It will probably still fail, but should give me a nice log ;-)
Comment 4 Matwey Kornilov 2022-06-12 20:42:04 UTC
(In reply to Christian Boltz from comment #3)
> Debug log is enabled.
> 
> Please try to login again. (It will probably still fail, but should give me
> a nice log ;-)

I've just tried to login.
Comment 5 Christian Boltz 2022-06-12 22:39:05 UTC
Your user settings include to use the old design (Bento), but it no longer works. The debug log says "Error: Call to undefined function wfRestoreWarnings()" which probably no longer exists in the latest MediaWiki.

I'm not sure if it's worth the effort to upgrade the old design (it's rarely used, only 56 users of the english wiki have it in their config, and so far you are the only one who hit the issue) or if I should just disable it.

Anyway, I slightly modified your user preferences:

    delete from user_properties where up_user=4628 and up_property='skin' 
    and up_value='bento';

so that you should get the default design now (= the same as you get before logging in).

Can you please try to login again? Either it works now, or you at least hit a fresh error ;-)
Comment 6 Matwey Kornilov 2022-06-13 08:27:46 UTC
(In reply to Christian Boltz from comment #5)
> Your user settings include to use the old design (Bento), but it no longer
> works. The debug log says "Error: Call to undefined function
> wfRestoreWarnings()" which probably no longer exists in the latest MediaWiki.
> 
> I'm not sure if it's worth the effort to upgrade the old design (it's rarely
> used, only 56 users of the english wiki have it in their config, and so far
> you are the only one who hit the issue) or if I should just disable it.
> 
> Anyway, I slightly modified your user preferences:
> 
>     delete from user_properties where up_user=4628 and up_property='skin' 
>     and up_value='bento';
> 
> so that you should get the default design now (= the same as you get before
> logging in).
> 
> Can you please try to login again? Either it works now, or you at least hit
> a fresh error ;-)

Thank you. Now I can login!

Personally, I don't care much about the design. It is more important that wiki works for me now.