6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/4/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#9937] when caching is enabled for a server in backends exception is logged
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__ ._.. .. |\ |[__) | |\/|| | \|| _|_| ||___
Comment
> I still get this error, running on H4.0.7 with imp 5.0.8 and caching > enabled in the backend configuration. The JSON returned by the server > looks fine though, except the error message at the end: > > /*-secure-{"response":{"ViewPort":{"cacheid":"V1243203288|H1992|12|0","data": > [...] > ,"metadata":{"readonly":0},"rowlist": > [...] > ,"totalrows":73,"view":"INBOX","update":1},"poll":{"INBOX":0}}}*/ > Fatal error: Call to a member function real_escape_string() on a > non-object in /usr/share/pear/Horde/Db/Adapter/Mysqli.php on line 194 > > I cut out the data and metadata itself, but it looks like perfectly > valid JSON and the data in there seems also correct. > > As you can see, I am using msqli, with SQL caching enabled: > > $conf['cache']['default_lifetime'] = 86400; > $conf['cache']['params']['driverconfig'] = 'horde'; > $conf['cache']['driver'] = 'Sql'; > $conf['cache']['compress'] = true; > $conf['cache']['use_memorycache'] = ''; > > The mailserver is an SSL enabled IMAP server. > > Output of "grep imp /var/log/horde/horde.log" > > 2011-07-15T10:44:55+02:00 DEBUG: HORDE [imp] Load config file > (conf.php; app: imp) [pid 2285 on line 860 of > "/usr/share/pear/Horde.php"] > 2011-07-15T10:44:55+02:00 DEBUG: HORDE [imp] SQL (0.0008s) > 2011-07-15T10:44:55+02:00 DEBUG: HORDE [imp] Cache hit: > MQSREGf-r2BOH-isUsJgjtA (Id 2e073ef8666002a7b90f675fbee35afe newer > than 1310633095) [pid 2285 on line 122 of > "/usr/share/pear/Horde/Cache/Storage/Sql.php"] > 2011-07-15T10:44:56+02:00 DEBUG: HORDE [imp] SQL (0.0008s) > 2011-07-15T10:44:56+02:00 DEBUG: HORDE [imp] Cache hit: imp|silver > (Id cf48e8223f4d6b406048f2a24dfc797a newer than 1310114696) [pid 2285 > on line 122 of "/usr/share/pear/Horde/Cache/Storage/Sql.php"] > 2011-07-15T10:44:56+02:00 DEBUG: HORDE [imp] SQL (0.0011s) > 2011-07-15T10:44:56+02:00 DEBUG: HORDE [imp] Max memory usage: > 19660800 bytes [pid 2285 on line 473 of > "/usr/share/pear/Horde/Registry.php"] > > Please let me know if you need additional information.
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