Topic on Project:Support desk

Problem with login/register on MediaWiki

12
Summary last edited by DanSchlosser 03:02, 2 August 2023 8 months ago

To everyone: Please do not reply this topic

The Real Minteck (talkcontribs)

Hello, I made a MediaWiki site (http://projectpedia.co.nf/) and I can't login to m'y admin account, register a new account, nor login to another account... I don't know what went wrong with my LocalSettings.php... Can you help me with that?

Regards, Minteck

MarkAHershberger (talkcontribs)
The Real Minteck (talkcontribs)

No, I don't have any access to command line. Just MediaWiki and PhpMyAdmin.

And the problem is for all the accounts on the wiki...

The Real Minteck (talkcontribs)

And now I also have access to my account from only one computer...

The Real Minteck (talkcontribs)

d I also tried to change my password using SQL requests.n

The Real Minteck (talkcontribs)
Leaderboard (talkcontribs)

The problem probably lies elsewhere. I tried to create a test article, and got hit by this error:

MediaWikiinternal error.
 

 Original exception: [XDzaN7mwK1oAACBgfa0AAABG] 2019-01-14 18:51:36: Fatal exception of type "Wikimedia\Rdbms\DBQueryError"
 

 Exception caught inside exception handler.
 

 Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.
 

 Fatal error:  Uncaught Wikimedia\Rdbms\DBTransactionError: Transaction round stage must be 'cursory' (not 'within-rollback') in /srv/disk12/2932603/www/projectpedia.co.nf/includes/libs/rdbms/lbfactory/LBFactory.php:703 Stack trace: #0 /srv/disk12/2932603/www/projectpedia.co.nf/includes/libs/rdbms/lbfactory/LBFactory.php(251): Wikimedia\Rdbms\LBFactory->assertTransactionRoundStage('cursory') #1 /srv/disk12/2932603/www/projectpedia.co.nf/includes/libs/rdbms/lbfactory/LBFactory.php(179): Wikimedia\Rdbms\LBFactory->commitMasterChanges('Wikimedia\\Rdbms...') #2 /srv/disk12/2932603/www/projectpedia.co.nf/includes/libs/rdbms/lbfactory/LBFactory.php(152): Wikimedia\Rdbms\LBFactory->shutdown(0) #3 /srv/disk12/2932603/www/projectpedia.co.nf/includes/libs/rdbms/lbfactory/LBFactory.php(728): Wikimedia\Rdbms\LBFactory->destroy() #4 [internal function]: Wikimedia\Rdbms\LBFactory->__destruct() #5 {main}  thrown in /srv/disk12/2932603/www/projectpedia.co.nf/includes/libs/rdbms/lbfactory/LBFactory.php on line 703

Looks like a database error from first glance. Edit: It's also on the main page, scroll to the bottom...

The Real Minteck (talkcontribs)

It's probably because my host sometimes reset MySQL and MediaWiki is unable to access the database for several minutes...

The Real Minteck (talkcontribs)

I changed database and I no longer have this problem...

The Real Minteck (talkcontribs)

The problem is back and I can login from work...

Leaderboard (talkcontribs)

What's the exact problem? Creating a test article worked this time...

The Real Minteck (talkcontribs)

So, it was you that made the test article I deleted...

The problem is very random, sometime I can login, and sometimeI can't...