Smarty and Warnings
| From: | Holger Bahr | Date: | Thu, 17 May 2001 20:23:56 +0000 |
| Subject: | Smarty and Warnings | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-776@lists.php.net to get a copy of this message | ||
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 :-)
Holger