[horde] Problems with selecting addressbooks - php errors

David Cunningham dcunningham at additionnetworks.net
Thu Feb 2 16:02:33 UTC 2017


Hi Michael,

I’m sorry, I don’t know what that means to not top post, apparently.

And sorry that I missed your response.

I do not appear to have a “search_sources” option in my or any other user’s horde_prefs table.  So, that appears to not be it.

I do have this set in prefs.php.local for turba:

// Columns to be displayed in Browse and Search results, with entries
// for the columns displayed for each address book.  Separate address
// book stanzas with \n and columns with \t. The "name" column is
// currently always displayed first and so cannot be modified here.
// Double quotes MUST be used as in the example.
$_prefs['columns'] = array(
    'value' => "localsql\temail\nlocalldap\temail"
);



Which also doesn’t appear to work as intended.

Also, either an example of a link to an example/rules on how to properly respond on this list would be appreciated.

Thanks,

Dave

-----Original Message-----
From: Michael J Rubinsky [mailto:mrubinsk at horde.org] 
Sent: Thursday, February 2, 2017 10:24 AM
To: David Cunningham <dcunningham at additionnetworks.net>
Cc: Jan Schneider <jan at horde.org>; horde at lists.horde.org
Subject: Re: [horde] Problems with selecting addressbooks - php errors


Please do not top post and keep discussions on the mailing list.

Quoting David Cunningham <dcunningham at additionnetworks.net>:

> Hi Michael,
> 
> Just making sure I didn’t miss a reply on this.

Well, considering you replied to the email that contained my reply....



> I’m copying Jan too who frequently helps me with issues.
> 
> Thanks,
> 
> Dave
> 
> 
>> On Feb 1, 2017, at 1:30 PM, Michael J Rubinsky <mrubinsk at horde.org> wrote:
>> 
>> 
>> Quoting David Cunningham <dcunningham at additionnetworks.net>:
>> 
>>> Hi Mike,
>>> 
>>> Were you able to take a look at this?  Do you have any suggestions?
>>> 
>>> Thanks,
>>> 
>>> Dave
>>> 
>>> 
>>> On Jan 30, 2017, at 2:32 PM, David Cunningham  
>>> <dcunningham at additionnetworks.net<mailto:dcunningham at additionnetworks.net>>  
>>> wrote:
>>> 
>>> Hi Michael,
>>> 
>>> Sorry about that… I did not see your embedded reply.
>>> 
>>> Please see this link to the 17MB debug file this created:
>> 
>> Your debug file has a LOT of unrelated entries probably from some  
>> other issue you were trying to debug. You should remove those  
>> Horde::debug lines from your install:
>> 
>> /var/www/html/horde/imp/lib/Maillog/Messages.php:78
>> 
>> 
>> 
>> It looks like the "search_sources" preference for the user(s)  
>> experiencing this issue are still using an older format. This was  
>> changed some time ago. The value is supposed to be automatically  
>> upgraded when each user logs in. Assuming you are not setting the  
>> default value explicitly for this preference in  
>> imp/config/prefs.local.php, either prefs backend was not upgraded,  
>> or perhaps you reverted your database from some old backup. Either  
>> way, you should delete the value for the "search_sources" pref  
>> manually in your pref backend.
>> 
>> 
>> 


<SNIP URL OF FILE>


>>> 
>>> Dave
>>> 
>>> 
>>> 
>>> On Jan 30, 2017, at 2:11 PM, Michael J Rubinsky  
>>> <mrubinsk at horde.org<mailto:mrubinsk at horde.org>> wrote:
>>> 
>>> 
>>> Quoting David Cunningham  
>>> <dcunningham at additionnetworks.net<mailto:dcunningham at additionnetworks.net>>:
>>> 
>>> On Jan 27, 2017, at 1:41 PM, David Cunningham  
>>> <dcunningham at additionnetworks.net<mailto:dcunningham at additionnetworks.net>>  
>>> wrote:
>>> 
>>> Yes, using the addressbook itself is no problem.
>>> 
>>> Dave
>>> 
>>> 
>>> On Jan 27, 2017, at 1:09 PM, Michael J Rubinsky  
>>> <mrubinsk at horde.org<mailto:mrubinsk at horde.org>> wrote:
>>> 
>>> 
>>> Quoting David Cunningham  
>>> <dcunningham at additionnetworks.net<mailto:dcunningham at additionnetworks.net>>:
>>> 
>>> Hi All,
>>> 
>>> Under preferences - mail - addressbooks I am unable to select  
>>> columns and the addressbook selection does not appear to work.
>>> 
>>> When I watch the logs while selecting this preference menu, I get  
>>> these errors which I assume are related:
>>> 
>>> 
>>> Jan 26 10:55:23 portal HORDE: [imp] PHP ERROR: Illegal offset type  
>>> in isset or empty [pid 24776 on line 185 of  
>>> "/usr/share/php/Horde/Core/Prefs/Ui/Widgets.php"]
>>> Jan 26 10:55:23 portal HORDE: [imp] PHP ERROR: Illegal offset type  
>>> in isset or empty [pid 24776 on line 185 of  
>>> "/usr/share/php/Horde/Core/Prefs/Ui/Widgets.php"]
>>> Jan 26 10:55:23 portal HORDE: [imp] PHP ERROR: array_diff():  
>>> Argument #2 is not an array [pid 24776 on line 190 of  
>>> "/usr/share/php/Horde/Core/Prefs/Ui/Widgets.php"]
>>> Jan 26 10:55:23 portal HORDE: [imp] PHP ERROR: Invalid argument  
>>> supplied for foreach() [pid 24776 on line 190 of  
>>> "/usr/share/php/Horde/Core/Prefs/Ui/Widgets.php"]
>>> ^C
>>> 
>>> Do you actually have access to any address books?
>>> 
>>> 
>>> 
>>> Any help is appreciated.  Thanks!
>>> 
>>> Dave
>>> --
>>> Horde mailing list
>>> Frequently Asked Questions: http://horde.org/faq/
>>> To unsubscribe, mail:  
>>> horde-unsubscribe at lists.horde.org<mailto:horde-unsubscribe at lists.horde.org>
>>> 
>>> 
>>> 
>>> --
>>> mike
>>> The Horde Project
>>> http://www.horde.org<http://www.horde.org/>
>>> https://www.facebook.com/hordeproject
>>> https://www.twitter.com/hordeproject
>>> --
>>> Horde mailing list
>>> Frequently Asked Questions: http://horde.org/faq/
>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>> 
>>> --
>>> Horde mailing list
>>> Frequently Asked Questions: http://horde.org/faq/
>>> To unsubscribe, mail:  
>>> horde-unsubscribe at lists.horde.org<mailto:horde-unsubscribe at lists.horde.org>
>>> 
>>> 
>>> Hi All,
>>> 
>>> Does anyone have any feedback on this?  I cannot figure it out for  
>>> the life of me.
>>> 
>>> Not without the information I requested from you in my last email.
>>> 
>>> 
>>> 
>>> Dave
>>> 
>>> 
>>> 
>>> --
>>> mike
>>> The Horde Project
>>> http://www.horde.org<http://www.horde.org/>
>>> https://www.facebook.com/hordeproject
>>> https://www.twitter.com/hordeproject
>>> --
>>> Horde mailing list
>>> Frequently Asked Questions: http://horde.org/faq/
>>> To unsubscribe, mail:  
>>> horde-unsubscribe at lists.horde.org<mailto:horde-unsubscribe at lists.horde.org>
>> 
>> 
>> 
>> --
>> mike
>> The Horde Project
>> http://www.horde.org
>> https://www.facebook.com/hordeproject
>> https://www.twitter.com/hordeproject



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject


More information about the horde mailing list