6.0.0-alpha14
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
6/24/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#9677] problems with hooks
*
Your Email Address
*
Spam protection
Enter the letters below:
__..___..___.__.. . (__ | [__ | || | .__) | | |__\|__|
Comment
>> 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; >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers