[ingo] Errors from lib/Factory/Script.php after upgrade
Anna Christina Naß
acn at annachristina.eu
Wed Jun 5 14:52:43 UTC 2013
Zitat von Jan Schneider <jan at horde.org>:
Hallo,
>> If I can provide you any information to track down the problem,
>> just tell me.
>
> Try enabling DEBUG logging and check if the SQL queries sent to
> ingo_rules look correct.
When I enable DEBUG and then click on "Webmail => Filter", the logfile
begins with:
----snip----
2013-06-05T16:47:10+02:00 DEBUG: HORDE Load config file (conf.php;
app: horde) [pid 9701 on line 401 of "/usr/share/php/Horde.php"]
2013-06-05T16:47:10+02:00 DEBUG: HORDE Horde_Registry: retrieved app
with cache ID
horde_registry|app|1370420262|7402c06b537ecfcc610bd563dfec4c6d [pid
9701 o
n line 1987 of "/usr/share/php/Horde/Registry.php"]
2013-06-05T16:47:10+02:00 DEBUG: HORDE [imp] Load config file
(conf.php; app: imp) [pid 9701 on line 401 of
"/usr/share/php/Horde.php"]
2013-06-05T16:47:10+02:00 DEBUG: HORDE [ingo] Load config file
(conf.php; app: ingo) [pid 9701 on line 401 of
"/usr/share/php/Horde.php"]
2013-06-05T16:47:10+02:00 DEBUG: HORDE [ingo] Max memory usage:
2883584 bytes [pid 9701 on line 559 of
"/usr/share/php/Horde/Registry.php"]
2013-06-05T16:47:10+02:00 DEBUG: HORDE Load config file (conf.php;
app: horde) [pid 9701 on line 401 of "/usr/share/php/Horde.php"]
2013-06-05T16:47:10+02:00 DEBUG: HORDE Horde_Registry: retrieved app
with cache ID
horde_registry|app|1370420262|7402c06b537ecfcc610bd563dfec4c6d [pid
9701 o
n line 1987 of "/usr/share/php/Horde/Registry.php"]
2013-06-05T16:47:10+02:00 DEBUG: HORDE [imp] Load config file
(conf.php; app: imp) [pid 9701 on line 401 of
"/usr/share/php/Horde.php"]
2013-06-05T16:47:10+02:00 DEBUG: HORDE [ingo] Load config file
(conf.php; app: ingo) [pid 9701 on line 401 of
"/usr/share/php/Horde.php"]
2013-06-05T16:47:10+02:00 DEBUG: HORDE [ingo] SQL (0,0004s)
SELECT * FROM ingo_rules WHERE rule_owner = '<username>'
ORDER BY rule_order [pid 9701 on line 558 of
"/usr/share/php/Horde/Db/Adapter/Base.php"]
2013-06-05T16:47:10+02:00 WARN: HORDE [ingo] PHP ERROR: array_keys()
expects parameter 1 to be array, string given [pid 9701 on line 116 of
"/var/www/annachristina.eu/mail/ingo/lib/Factory/Script.php"]
2013-06-05T16:47:10+02:00 DEBUG: HORDE 1.
Ingo_Basic_Base->__construct()
/var/www/annachristina.eu/mail/ingo/basic.php:30
2. Ingo_Basic_Filters->_init()
/var/www/<domain>/mail/ingo/lib/Basic/Base.php:46
3. Ingo_Factory_Script->canPerform()
/var/www/<domain>/mail/ingo/lib/Basic/Filters.php:163
4. Ingo_Factory_Script->createAll()
/var/www/<domain>/mail/ingo/lib/Factory/Script.php:161
5. array_keys() /var/www/<domain>/mail/ingo/lib/Factory/Script.php:116
6. Horde_ErrorHandler::errorHandler()
2013-06-05T16:47:10+02:00 WARN: HORDE [ingo] PHP ERROR: Invalid
argument supplied for foreach() [pid 9701 on line 116 of
"/var/www/<domain>/mail/ingo/lib/Factory/Script.php"]
----snip----
So, the SQL query for ingo_rules looks okay to me...
Regards,
Anna Christina Naß
More information about the ingo
mailing list