[Tickets #5020] In the event of errors when accessing Chora, there is an issue with the error handling in lib/Chora.php (Patch included)
bugs@bugs.horde.org
bugs at bugs.horde.org
Thu Feb 22 05:00:35 PST 2007
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=5020
-----------------------------------------------------------------------
Ticket | 5020
Created By | jon at spriggs.org.uk
Summary | In the event of errors when accessing Chora, there is an issue with the
| error handling in lib/Chora.php (Patch included)
Queue | Chora
Version | HEAD
Type | Bug
State | Unconfirmed
Priority | 1. Low
Owners |
-----------------------------------------------------------------------
jon at spriggs.org.uk (2007-02-22 05:00) wrote:
Index: lib/Chora.php
===================================================================
RCS file: /repository/chora/lib/Chora.php,v
retrieving revision 1.85
diff -r1.85 Chora.php
237c237
< Chora::fatal($e->getMessage());
---
> Chora::fatal('Error', $e->getMessage());
I know this is a little ropey, but it a) highlights the issue to the Chora
Developers, and b) stops errors from being flagged in
/var/log/httpd/error_log (example: [Tue Feb 20 22:20:42 2007] [error]
[client 127.0.0.1] PHP Warning: Missing argument 2 for Chora::fatal(),
called in /var/www/html/chora/lib/Chora.php on line 176 and defined in
/var/www/html/chora/lib/Chora.php on line 214, referer:
http://URL/services/portal/sidebar.php)
More information about the bugs
mailing list