[Tickets #3898] NEW: Missing required random.inc generates error.

bugs@bugs.horde.org bugs at bugs.horde.org
Sun May 7 14:34:08 PDT 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=3898
-----------------------------------------------------------------------
 Ticket             | 3898
 Created By         | rick at emery.homelinux.net
 Summary            | Missing required random.inc generates error.
 Queue              | Klutz
 Version            | HEAD
 State              | Unconfirmed
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


rick at emery.homelinux.net (2006-05-07 14:34) wrote:

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.




More information about the bugs mailing list