Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: philip_rhoades on September 28, 2011, 12:42:40 PM

Title: 0.6 SVN - No contacts found in Address Book
Post 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.
Title: 0.6 SVN - No contacts found in Address Book
Post by: JohnDoh on September 28, 2011, 07:02:40 PM
there is a file in the bin folder called indexcontacts.sh, if you run that (just once) it should index all your old contacts
Title: 0.6 SVN - No contacts found in Address Book
Post by: philip_rhoades on September 29, 2011, 07:29:40 AM
Thanks!

Phil.
Title: cPanel hosting
Post by: willcom on November 18, 2011, 06:03:06 AM
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?
Title: 0.6 SVN - No contacts found in Address Book
Post by: SKaero on November 27, 2011, 09:18:52 AM
If you copy indexcontacts.sh and rename it to indexcontacts.php and remove the first line in the file:
Code: [Select]

#!/usr/bin/env php

You should be able to run it from your browser.
Title: 0.6 SVN - No contacts found in Address Book
Post by: Jack! on November 28, 2011, 08:18:27 AM
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)?
Title: 0.6 SVN - No contacts found in Address Book
Post by: SKaero on November 28, 2011, 09:16:21 AM
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:
Code: [Select]
require INSTALL_PATH.'program/include/clisetup.php';
With:
Code: [Select]
require INSTALL_PATH.'program/include/iniset.php';