Author Topic: 0.9.2 Upgrade Addressbook issue  (Read 4715 times)

Offline mikbull

  • Jr. Member
  • **
  • Posts: 12
0.9.2 Upgrade Addressbook issue
« on: August 29, 2013, 04:47:07 PM »
Hello,

I've recently moved to 0.9.2 from 0.8.5 and I noticed that when you select the addressbook tab at the top '_task=addressbook' it loads all contacts from all sources into the 'contacts' listbox. At this point if I select a contact in the list I get 'The requested contact was not found'. It is not until I click the 'Personal Addresses' item in the  'Groups' listbox that I can click the contact and successfully load the details. It seems like the main link at the top needs to post with '_source=0' for this to work. I have tried disabling all the plugins and it doesn't resolve my issue.

In my main.inc.php i have the addressbook_source set to 'sql' and the default addressbook is '0'.

I was wondering if anyone else has had this issue after a 0.8.5-0.9.2 upgrade. Or perhaps, this has always happened.

Anyone know of a fix?





Offline mikbull

  • Jr. Member
  • **
  • Posts: 12
Re: 0.9.2 Upgrade Addressbook issue
« Reply #1 on: August 30, 2013, 07:56:01 AM »
As it turns out, I needed to comment out the 'default_addressbook' option in main.inc.php to resovle me issue.

// Defines address book (internal index) to which new contacts will be added
// By default it is the first writeable addressbook.
// Note: Use '0' for built-in address book.
//$rcmail_config['default_addressbook'] = 0;

I guess the 'sql' addressbook isn't considered 'built-in'

Offline alec

  • Hero Member
  • *****
  • Posts: 1,363
Re: 0.9.2 Upgrade Addressbook issue
« Reply #2 on: August 30, 2013, 09:12:52 AM »
There might be a difference between 0 and '0'.