Roundcube Community Forum

 

Deleting Identities not working

Started by daz, February 14, 2008, 08:39:33 PM

Previous topic - Next topic

daz

Sorry if I do something wrong, this is my first post in this section ;)

Nightly SVN Build: roundcubemail-trunk-r1045-20080211 (11-Feb-2008 23:51)

I added a second identity to my account, and then when I try to delete either identity, it fails with the error:
You cannot delete this identity, it's your last one.
error log:
[14-Feb-2008 18:33:44 -0700] DB Error: DB Error: mismatch Query: SELECT count(*) AS ident_count FROM identities WHERE user_id =  AND del = 1 [DB Error: mismatch] in C:\Inetpub\Webmail\roundcubemail-trunk-r1045-20080211\program\include\rcube_db.inc on line 521

till

Quote from: daz Sorry if I do something wrong, this is my first post in this section ;)

Nightly SVN Build: roundcubemail-trunk-r1045-20080211 (11-Feb-2008 23:51)

I added a second identity to my account, and then when I try to delete either identity, it fails with the error:
You cannot delete this identity, it's your last one.
error log:
[14-Feb-2008 18:33:44 -0700] DB Error: DB Error: mismatch Query: SELECT count(*) AS ident_count FROM identities WHERE user_id =  AND del = 1 [DB Error: mismatch] in C:\Inetpub\Webmail\roundcubemail-trunk-r1045-20080211\program\include\rcube_db.inc on line 521

I cannot reproduce this, but I added another check to make sure the user id is really set. Apparently it isn't - no idea why.

Also, when you report an error, read this first.

Thanks,
Till