Roundcube Community Forum
News and Announcements => General Discussion => Topic started by: philip_rhoades on September 28, 2011, 12:42:40 PM
-
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.
-
there is a file in the bin folder called indexcontacts.sh, if you run that (just once) it should index all your old contacts
-
Thanks!
Phil.
-
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?
-
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.
-
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)?
-
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';