Bug or what??
| From: | Andreas Heintze | Date: | Thu, 30 Aug 2001 23:33:00 +0000 |
| Subject: | Bug or what?? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-1400@lists.php.net to get a copy of this message | ||
Hi!
I thought I found a small little bug when I was messing around with the
smarty code, but I'm not sure. Do I have to set the include_path to the
smarty folder to get this to work, is this a demand?? I thought I
wouldn't need to do that since I could point it out with SMARTY_DIR!?
But... then I would get an error saying it couldn't find the
Config_File.class.php. And that's not at all strange because in the code
it looked like this in Smarty.class.php:
include_once 'Config_File.class.php';
..so I changed it to this:
include_once SMARTY_DIR . 'Config_File.class.php';
and it all seemed to work! But, then I suddenly would get blank screens
intermittently!!?? Pressing F5 (reload) on my browser several times I
sometimes get my page and sometimes a blank page!
I followed the problem to the file: Config_File.class.php and this code:
require_once "PEAR.php"; ...the run just stopped there!
Is this a PEAR bug? Or do I have to set the include_path, because the
problem seemed to disappear if I set the include_path to point to my
smarty folder.
Thanks!
/Andreas
PS. I use PHP v4.06