Author Topic: 0.6 SVN - No contacts found in Address Book  (Read 4343 times)

Offline philip_rhoades

  • Jr. Member
  • **
  • Posts: 28
0.6 SVN - No contacts found in Address Book
« 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.

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,845
0.6 SVN - No contacts found in Address Book
« Reply #1 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
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline philip_rhoades

  • Jr. Member
  • **
  • Posts: 28
0.6 SVN - No contacts found in Address Book
« Reply #2 on: September 29, 2011, 07:29:40 AM »
Thanks!

Phil.

Offline willcom

  • Newbie
  • *
  • Posts: 1
cPanel hosting
« Reply #3 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?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
0.6 SVN - No contacts found in Address Book
« Reply #4 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.

Offline Jack!

  • Jr. Member
  • **
  • Posts: 34
0.6 SVN - No contacts found in Address Book
« Reply #5 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)?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
0.6 SVN - No contacts found in Address Book
« Reply #6 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';