Re: Smarty and Warnings

From: Date: Thu, 17 May 2001 20:27:46 +0000
Subject: Re: Smarty and Warnings
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-777@lists.php.net to get a copy of this message
On Thu, 17 May 2001, Holger Bahr wrote: > Hi, > > i use > > <?php > error_reporting(63); > ... > .. > . > ?> > > during the time i develop some stuff. > > The bad thing is, that smarty throws out many warnings about > undefined variables then. Test driving somthing with error_reporting(63) > or a debugger, is kinda hell because smarty compiles the templates by request > now (wich "normally" is nice). > > In the older Versions i said "ok, one time all those warnings but > after smarty filled up templates_c it´s quiet again). > > Is there a way to tell smarty "please compile _all_ templates now and > not by request" > so that, if i test something, i do not have to see all those warnings > on every page where i changes something. > > On the other side, if the variables would be defined in the Smarty > Code, it would be ok, too :-) Some of these warnings have been fixed in 1.4.1, by the way. -Andrei "Freedom comes when you learn to let go. Creation comes when you learn to say no." -madonna

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