Maintainance mode displays SQL error

deep64blue

DaDaBIK Guru
Having upgraded my Dev site to 11.1 I am now upgrading production, I have set maintenance mode to 1 and checked it worked. I have uploaded the new file structure and am about to load the new database but I noticed that the site is now showing an error:-

[pre]
[08] Error: during query execution. SELECT `id_user`, `id_group`, `username_user`, confirmed_timestamp_user FROM `zdk_users` WHERE `username_user` = 'JoeP'
The DBMS server said: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'confirmed_timestamp_user' in 'field list'
[/pre]

I know why this as currently the code and DB are out of sync, shouldn't maintenance mode just ignore everything and display the message instead of trying to carry out SQL queries?
 

eugenio

Administrator
Staff member
Hello,
no, if code and DB are out of synch, there is nothing that is guarantee to work correctly.
 
Top