Open lompichunter opened 10 years ago
Same problem here: Roudcube 1.0.0 PostgreSQL 9.1
Same problem here - did you find a solution?
Roundcube 1.0.0 MySQL 5.5.31
Same error here
RoundCube 1.0.0 MySQL 5.5.31
Using RoundCube 1.0.1 works as expected.
Check if you're using $config['dbprefix'] = 'rc'; instead of $rcmail_config['dbtable.....'] these won't work.
Also affected with this problem
@a-sassermann using "$config['dbprefix'] = 'rc'; instead of $rcmail_config['dbtable.....']" into the "config.inc.php" file doesn't help.
Regards.
@tgjb, @djnitrow I think I got mislead by the db_prefix introduction. The database connection is handled by rcoundcube mail before table prefixes come into action. As the configurations of plugins are merged into the rc base configuration, there should'nt be any extra connection settings. These would overwrite the main config. From the DAV plugin code I cannot find that it would affect the db connection.
My install was using no table prefix, and I got this error on first login after enabling the carddav plugin. I copied all the roundcube tables to eg rc_contacts, rc_cache etc, and then added $config['dbprefix'] = 'rc'; to my main roundcube config file. After that, the plugin worked, and created the tables it needed (with the rc_ prefix set). So it seems it requires a prefix other than the default '' no prefix.
My roundcube MySQL-DB used the prefix 'rc_', so I changed the SQL/mysql.sql accordingly.
After activating the plugin the error is shown. " DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database! Please contact your server-administrator. "
After deactivating the plugin, the error is gone.