On Wed, 06 May 2009 09:17:01 -0230, Robert King robk@mun.ca wrote:
Small update. Seems that this maybe an issue with MDB2. I see the following error showing up in the error log:
DB Error: MDB2 Error: null value violates not-null constraint Query: _doQuery: [Error message: Could not execute statement] [Last executed query: EXECUTE mdb2_statement_mysql_1262ea08958a96c8945ed780e9000eb6efdbfef502 USING @0, @1, @2, @3, @4, @5, @6, @7, @8, @9, @10] [Native code: 1048] [Native message: Column 'user_id' cannot be null] in /var/www/html/program/include/rcube_mdb2.php on line 539 (GET
/?_task=mail)
Okay tracked down the issue, thought I'd update just so no one wastes any time on it.
Turns out that the ordering of my custom plugins was to blame. My forced logout plugin was removing the $rcube->user before our custom ldap identity plugin was calling it and forced the MDB2 error.