6.0.0-beta1
9/24/25

[#5020] In the event of errors when accessing Chora, there is an issue with the error handling in lib/Chora.php (Patch included)
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
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester jon (at) spriggs (dot) org (dot) uk
Created 02/22/2007 (6789 days ago)
Due
Updated 02/22/2007 (6789 days ago)
Assigned
Resolved 02/22/2007 (6789 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
02/22/2007 11:45:58 PM Jan Schneider Comment #2
Assigned to Jan Schneider
State ⇒ Resolved
Reply to this comment
Fixed in CVS.
02/22/2007 01:00:35 PM jon (at) spriggs (dot) org (dot) uk Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
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
Reply to this comment
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)

Saved Queries