Roundcube Community Forum

 

0.6 SVN - No contacts found in Address Book

Started by philip_rhoades, September 28, 2011, 12:42:40 PM

Previous topic - Next topic

philip_rhoades

People,

In 0.6 SVN I can't search for contacts - whatever search string I use, I get "no contacts found" - EXCEPT new ones that I have entered since upgrading - maybe I have not upgraded the DB successfully in one of the version upgrades?

Thanks,

Phil.

JohnDoh

there is a file in the bin folder called indexcontacts.sh, if you run that (just once) it should index all your old contacts
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...


willcom

How can I execute this on a cPanel shared hosting account?  Will I need to ask their support team or is there an alternative method?

SKaero

If you copy indexcontacts.sh and rename it to indexcontacts.php and remove the first line in the file:

#!/usr/bin/env php

You should be able to run it from your browser.

Jack!

Can you do this (removing first line, renaming extension, run script in browser) for every sh script in the bin folder independant of the OS platform (Linux, Windows)?

SKaero

No you can't do it for all of them, if definitely wouldn't work on decrypt.sh, jsshrink.sh, jsunshrink.sh, makedoc.sh, installto.sh, msgimport.sh, msgexport.sh, update.sh It may work on dumpschema.sh and it should work on cleandb.sh, and indexcontacts.sh

The other step I for to mention was you need to replace:
require INSTALL_PATH.'program/include/clisetup.php';
With:
require INSTALL_PATH.'program/include/iniset.php';