[Tickets #9937] Re: when caching is enabled for a server in backends exception is logged
bugs at horde.org
bugs at horde.org
Fri Jul 15 08:47:00 UTC 2011
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/9937
------------------------------------------------------------------------------
Ticket | 9937
Updated By | jives at gmx.at
Summary | when caching is enabled for a server in backends
| exception is logged
Queue | Horde Framework Packages
Version | Git master
Type | Bug
State | Not A Bug
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
jives at gmx.at (2011-07-15 08:47) wrote:
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.
More information about the bugs
mailing list