Thread:Project:Support desk/Internal error when creating a new user

Hi,

I've just installed Mediawiki with sqlite support and I got the following error when trying to create a new user account:

Fatal exception of type MWException

Enabling $wgShowExceptionDetails, I get the following instead:

User::addToDatabase: hit a key conflict attempting to insert a user row, but then it doesn't exist when we select it! Backtrace:
 * 1) 0 /var/www/localhost/htdocs/mediawiki/includes/specials/SpecialUserlogin.php(468): User->addToDatabase
 * 2) 1 /var/www/localhost/htdocs/mediawiki/includes/specials/SpecialUserlogin.php(453): LoginForm->initUser(Object(User), false)
 * 3) 2 /var/www/localhost/htdocs/mediawiki/includes/specials/SpecialUserlogin.php(236): LoginForm->addNewAccountInternal
 * 4) 3 /var/www/localhost/htdocs/mediawiki/includes/specials/SpecialUserlogin.php(178): LoginForm->addNewAccount
 * 5) 4 /var/www/localhost/htdocs/mediawiki/includes/SpecialPage.php(613): LoginForm->execute(NULL)
 * 6) 5 /var/www/localhost/htdocs/mediawiki/includes/SpecialPageFactory.php(487): SpecialPage->run(NULL)
 * 7) 6 /var/www/localhost/htdocs/mediawiki/includes/Wiki.php(291): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
 * 8) 7 /var/www/localhost/htdocs/mediawiki/includes/Wiki.php(565): MediaWiki->performRequest
 * 9) 8 /var/www/localhost/htdocs/mediawiki/includes/Wiki.php(458): MediaWiki->main
 * 10) 9 /var/www/localhost/htdocs/mediawiki/index.php(59): MediaWiki->run
 * 11) 10 {main}

This is my actual configuration: Mediawiki - 1.21.2 SQLite - 3.7.17 PHP - 5.5.4

Any clue what might be causing the problem?