6.0.0-alpha12
6/8/25

[#3898] Missing required random.inc generates error.
Summary Missing required random.inc generates error.
Queue Klutz
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners marcus (at) riboflavin (dot) net
Requester rick (at) emery (dot) homelinux (dot) net
Created 05/07/2006 (6972 days ago)
Due
Updated 06/26/2006 (6922 days ago)
Assigned 05/08/2006 (6971 days ago)
Resolved 06/26/2006 (6922 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/26/2006 03:31:16 PM Marcus Ryan Comment #2
State ⇒ Resolved
Reply to this comment
Fixed.
05/08/2006 12:08:02 AM Chuck Hagenbuch Assigned to Marcus Ryan
State ⇒ Assigned
 
05/07/2006 09:34:08 PM rick (at) emery (dot) homelinux (dot) net Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Missing required random.inc generates error.
Queue ⇒ Klutz
Reply to this comment
The change in horde/klutz/comics.php, version 1.61 to 1.62 "use 
require and don't silence to be consistent with othe templates" is 
allowing an error to be displayed that has probably always been there 
but never shown:



Warning: 
main(/var/www/html/horde/config/../klutz/templates/comics/random.inc): 
failed to open stream: No such file or directory in 
/var/www/html/horde/klutz/comics.php on line 205



Fatal error: main(): Failed opening required 
'/var/www/html/horde/config/../klutz/templates/comics/random.inc' 
(include_path='/usr/share/php:/usr/share/pear:.') in 
/var/www/html/horde/klutz/comics.php on line 205



As far as I can tell (from cvs.horde.org), the file 
horde/klutz/templates/comics/random.inc has never existed. Commenting 
out the require on my local install has gotten rid of the error, and 
klutz seems to work fine without it. I'm not submitting a patch 
because I have to believe that random.inc was intended for something, 
so there's probably a better fix than removing the require.

Saved Queries