Roundcube Community Forum

 

Can not save new identity in r3590

Started by ABerglund, May 03, 2010, 07:26:13 PM

Previous topic - Next topic

ABerglund

Unable to save new identity in r3590. Entries in error.log are:


[03-May-2010 16:22:00 -0700]: DB Error: _doQuery: [Error message: Could not execute statement]
[Last executed query: PREPARE mdb2_statement_mysql_571a8a41fc0e7cc346191c8becf6ddb88483c92a0 FROM 'INSERT INTO identities (changed, `name`, `email`, `organization`, `reply-to`, `bcc`, `signature`, `standard`, `html_signature`, user_id) VALUES (now(), ?, ?, ?, ?, ?, ?, ?, ?, ?)']
[Native code: 1054]
[Native message: Unknown column 'changed' in 'field list']
 in /var/www/html/svn/program/include/rcube_mdb2.php on line 262 (POST /svn/?_task=settings&_action=save-identity)


Is this an error in my DB, or a bug?
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA

rosali

It looks like you didn't update the database.

ALTER TABLE `identities` ADD INDEX `user_identities_index` (`user_id`, `del`);
ALTER TABLE `identities` ADD `changed` datetime NOT NULL DEFAULT '1000-01-01 00:00:00' AFTER `user_id`;

There are more changes in the database structure. You have to run the whole update script.
Regards,
Rosali

ABerglund

That would make sense, except I know that I had done so. As confirmed because when I ran it again, it kept telling me that the changes already existed.

But in any case, I babied and nursed the update script to run through again, and it works fine now. Thanks for the clue.
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA