[Tickets #9677] Re: problems with hooks

bugs at horde.org bugs at horde.org
Mon Mar 21 09:07:39 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/9677
------------------------------------------------------------------------------
  Ticket             | 9677
  Updated By         | rsalmon at mbpgroup.com
  Summary            | problems with hooks
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


rsalmon at mbpgroup.com (2011-03-21 09:07) wrote:

> prefs_init has changed parameters within the last week, so if you  
> are using that hook you need to update.

this is true for Horde, but not for IMP. And my hook files look like  
the provided example, I can attached them if you want.

I think the problem could be related to the following errors :

2011-03-21T09:43:52+01:00 DEBUG: HORDE [horde] PHP ERROR: Object of  
class Horde_Prefs_Scope could not be converted to string [pid 31085 on  
line 1750 of "/var/www/html/hordetest/libs/Horde.php"]

2011-03-21T09:43:52+01:00 DEBUG: HORDE [imp] PHP ERROR: Object of  
class Horde_Prefs_Scope could not be converted to string [pid 31085 on  
line 1750 of "/var/www/html/hordetest/libs/Horde.php"]


here are my local prefs :
- Horde :
$_prefs['id']['value'] = '';
$_prefs['id']['locked'] = true;
$_prefs['id']['hook'] = true;
$_prefs['fullname']['value'] = '';
$_prefs['fullname']['locked'] = true;
$_prefs['fullname']['hook'] = true;
$_prefs['from_addr']['value'] = '';
$_prefs['from_addr']['locked'] = true;
$_prefs['from_addr']['hook'] = true;

- IMP :
$_prefs['search_sources']['value'] = '';
$_prefs['search_sources']['locked'] = true;
$_prefs['search_sources']['hook'] = true;
$_prefs['search_fields']['value'] = '';
$_prefs['search_fields']['locked'] = true;
$_prefs['search_fields']['hook'] = true;
$_prefs['add_source']['value'] = '';
$_prefs['add_source']['locked'] = true;
$_prefs['add_source']['hook'] = true;







More information about the bugs mailing list