Thread:Project:Support desk/No login page after 1.21.3 to 1.22 upgrade - Uncommitted DB writes?/reply (16)

Solved !!!

First i enabled SQL debug. Add in LocalSettings.php the following parameters:

$wgShowSQLErrors = true;

$wgDebugDumpSql = true;

$wgShowDBErrorBacktrace = true;

The error message show that the column iw_wikiid dont exist on table interwiki.

After I found the following patch /maintenance/archives/patch-iw_api_and_wikiid.sql

ALTER TABLE /*_*/interwiki ADD iw_wikiid varchar(64) NOT NULL;

after i created this column, all works fine!

P.S.: remember to remove the debug parameters