Hello,
It's been some time I am struggling with automatic_addressbook plugin with RCube version 1.3.0, but without success. I don't see any errors, but it won't collect any addresses.
I see a "Collected Addresses" address book, but it's always empty.
The config is:
/* automatic_addressbook plugin */
$config['default_addressbook'] = '1';
/* on edit move to default addressbook */
$config['on_edit_move_to_default'] = TRUE;
/* database table name */
$config['db_table_collected_contacts'] = 'collected_contacts';
/* Is automatic_addressbook enabled or disabled by default for users ? */
$config['use_auto_abook'] = TRUE;
/* Should automatic_addressbook be used for completion ? */
$config['use_auto_abook_for_completion'] = TRUE;
I also tried with $config['default_addressbook'] = '0' but nothing changed.
The plugin is enabled, and in the database creation I paid attention to add the prefix to the users table reference.
Does anyone know if I may be doing anything wrong or if there is some malfunction?
Please, advise.
Cheers,
Nick
I haven't tried 1.3 yet. But it looks like there is a problem. Possibly with 1.2.3 of RC as well.
https://github.com/sblaisot/automatic_addressbook/issues/16
This is the commit that should fix the problem https://github.com/sblaisot/automatic_addressbook/commit/618b0812b6262012fe212b1ed2d6ad18dabd53ad
No, this is an older fix, which is already incorporated in the code, but the problem still occurs.
Nick
QuoteThe plugin is enabled, and in the database creation I paid attention to add the prefix to the users table reference.
I have found (by enabling SQL debugging) that the problem was that the plugin table needed to be created with the global table prefix.
After changing the plugin table name, the plugin functions fine!
Cheers,
Nick
But it looks like there is a problem