Roundcube Community Forum

 

address_book_type not working

Started by dano, December 01, 2008, 12:52:36 PM

Previous topic - Next topic

dano

Ever since the addition of "$rcmail_config['address_book_type'] = 'sql';" to the main.inc.php autocompletion of addresses has stopped working.  I don't use LDAP so I simply removed that from the config line leaving sql and prior to this change it was working fine.

Was there something else I was supposed to change?

JohnDoh

Hi,

If you just use the standard sql addressbook and no LDAP then the line in your config should just read "$rcmail_config['address_book_type'] = 'sql';". There was a problem with r2081, there was some code missing, that was added in r2089. What version are you using?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

dano

Hello John and thanks for your reply,

I just did a compare of the main.inc.php.dist between versions 2088 and 2104 (currently running) and the only difference was:

// If true all folders will be checked for recent messages
$rcmail_config['check_all_folders'] = FALSE;

As far as I know the "$rcmail_config['address_book_type'] = 'sql';" line has not changed since it was added.  Did it maybe drop back out of the SVN?

JohnDoh

no the config is still in, there was a file added program/steps/mail/autocomplete.inc (that was the code that was missing) do you get any thing in your error log, does the UI just stick on "searching"?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

dano

Quote from: JohnDoh;15557no the config is still in, there was a file added program/steps/mail/autocomplete.inc (that was the code that was missing) do you get any thing in your error log, does the UI just stick on "searching"?

Excellent call John, I had missed uploading that file!

Thank you very much for your time :D