dakira / myroundcube

Automatically exported from code.google.com/p/myroundcube
0 stars 0 forks source link

[google_oauth2] - DB Errors #807

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Token: 94195e618d907c571fe0dada20491eb1 (Don't modify this token!)
Version: 1.0.26 (03-04-2015)
PHP: 5.4.39-0 deb7u2
RCMAIL: 1.1.1
Database: mysql
SERVER: Apache/2.2.22 (Debian)
----
I.  Issue Description: Getting db errors in my log

II. Steps to reproduce the Issue:
1. Enable Plugin.
2. Enable Google Access.
3. Check log and this appears "DB Error: [1054] Unknown column 'user_id' in 
'field list' (SQL Query: SELECT user_id, COUNT(*) FROM google_oauth2 WHERE 
user_id='9') in 
/var/www/path_to_my_roundcube_root/program/lib/Roundcube/rcube_db.php on line 
543 (GET /roundcube/?_task=settings&_action=plugin.moreuserinfo&_framed=1)"

Original issue reported on code.google.com by texxasru...@gmail.com on 10 Apr 2015 at 1:48

GoogleCodeExporter commented 8 years ago
This is a configuration issue of moreuserinfo plugin. Remove google_oauth2 from 
"moreuserinfo_database_tables" configuration.

I have remove the outdated key from the distributed config.inc.php.dist.

NOTE: Things in this configuration section are example and it is up to the 
admin to check if this tables/keys exist.

Original comment by roland.l...@gmail.com on 10 Apr 2015 at 2:01