Re: Bug or what??

From: Date: Fri, 31 Aug 2001 02:27:56 +0000
Subject: Re: Bug or what??
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1401@lists.php.net to get a copy of this message
Yes, this is a problem that has been fixed for the next release. Smarty is due for a new release, but we've been _extremely_ busy the last few weeks and we haven't had time. So for the meantime, I'm going to create a "snapshot" directory, and just dump the latest CVS version in there. On Thu, 2001-08-30 at 19:33, Andreas Heintze wrote: > 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 > > > --- > You are currently subscribed to smarty as: monte@ispi.net > To unsubscribe send a blank email to $subst('Email.Unsub') > Visit Smarty's homepage at > http://www.phpinsider.com/php/code/Smarty/

« previous php.smarty.general (#1401) next »