Topic on Project:Support desk

[RESOLVED] MediaWiki Won't Login!

4
95.166.17.211 (talkcontribs)

Hello,

I'm having a lot of problems with my MediaWiki website. I can no longer log in. When I go to the login page and type in my information, and click Log In, it just reloads the page... And it shows no error message... And when I want to reset the password, it also just reloads the page...

And I've tried modifying my MySQL database to change the password, since I don't have SSH access, and I've tried the salted SQL script, the unsalted script, I've tried every single script for the MySQL database, and EACH time, it says that 1 row has been affected, which is the password one, but when I try to log in, there is no change whatsoever. I've also tried clearing ALL my browser data, including cookies, caches etc. Tried to go on a different network, tried on my phone... Nothing works. This is really frustrating. Does anyone know what can be wrong???

Info:
- MediaWiki Version: 1.22.1
- PHP Version: 5.3.27 (cgi-fcgi)
- MySQL: 5.5.33-log

Thanks for reading,
- Nima

Ciencia Al Poder (talkcontribs)

It may be a problem with POST data being lost.

This may be caused by wrong $wgServer, for example, if $wgServer is //www.example.com but your server is //example.com and the server redirects all request from www.example.com to example.com: All POST data is lost on the redirect which prevents login information from reaching MediaWiki.

95.166.17.211 (talkcontribs)

Yes!! It worked!!! I had a subdomain called wiki.scarwood.net, that would replace scarwood.net/wiki, and when I disabled it I could log in again! Thank you so much!!
But is there a way to make it work when it's wiki.scarwood.net? :)

Ciencia Al Poder (talkcontribs)

Your wiki should be in only one of those locations. Just make the webserver redirect all requests from one to the other and make sure $wgServer is configured to the right location.

Reply to "[RESOLVED] MediaWiki Won't Login!"