Forums / Install & configuration / Can't log in admin after upgrade to 3.7.3

Can't log in admin after upgrade to 3.7.3

Author Message

Finn David Nilsen

Monday 23 January 2006 7:30:42 am

I have upgrade from 3.3.4. The data looks fine after the upgrade. But, its unpossible to log in at the admin site. No errors, the site only reload. Som hints?

Brian Gambill

Monday 23 January 2006 8:52:16 am

Have you checked the database to make sure the admin user is still in the ezuser table? I lost my admin user (ID=14) when upgrading from 3.5.0, so its a possibility.

Finn David Nilsen

Monday 23 January 2006 9:43:34 am

Yes, admin is still in the database, with id 14. If I try to logon with a user that not exist, I get an errormessage. But not when I try admin....

Finn David Nilsen

Monday 23 January 2006 11:17:41 am

The debug output look like this... Something wrong in my database? How to correct this?

Script start
Error: eZMySQLDB Jan 23 2006 20:13:33
Query error: Unknown column 'user_id' in 'field list'. Query: SELECT data, user_id, expiration_time FROM ezsession WHERE session_key='e1ea1668d2320b2cb0bb1b5fba7706bc'

Notice: eZMySQLDB::query(0.000 ms) query number per page:0 Jan 23 2006 20:13:33

SELECT data, user_id, expiration_time FROM ezsession WHERE session_key='e1ea1668d2320b2cb0bb1b5fba7706bc'

Timing: Jan 23 2006 20:13:33
Module start 'user'
Timing: Jan 23 2006 20:13:33
Module end 'user'
Timing: Jan 23 2006 20:13:33
End

Finn David Nilsen

Monday 23 January 2006 11:36:41 am

I have solved the problem..:-) There was no field named user_id in the ezsession table.