Fwd: Re: [SMARTY] no template syntax errors shown with debugging_ctrl?

From: Date: Thu, 29 Jul 2004 20:22:29 +0000
Subject: Fwd: Re: [SMARTY] no template syntax errors shown with debugging_ctrl?
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-11648@lists.php.net to get a copy of this message
Prarie, Thanks. I will look into that. I notice that the manual says this value is ignored if debugging is enabled, though. I wonder if that applies to $debugging, $debugging_ctrl, or both. I'll send another message to the list later about my results ---------- Forwarded Message ---------- Date: Thursday, July 29, 2004 1:03 PM -0700 From: Prarie Blake <prarie@gmail.com> To: Lance E Sloan <lsloan@umich.edu> Subject: Re: [SMARTY] no template syntax errors shown with debugging_ctrl? I believe it has to do with the error_reporting property of smarty. I had this problem as well, but adding a line at the top of the page like $smarty->error_reporting = E_ALL; fixed the issue and now I always get messages when the template has an error. The error_reporting level is the same as used by the PHP function of the same name. Prarie (It's the On Thu, 29 Jul 2004 12:44:29 -0400, Lance E Sloan <lsloan@umich.edu> wrote:
I'm pretty new to Smarty and I'm running into trouble debugging templates. I've found that if I make a mistake (like a syntax error) in the template, absolutely *nothing* comes out of my program. I get a blank page. If I set $debugging to true, though, Smarty will tell me about the errors I've made.
!DSPAM:4109580f19836420784! ---------- End Forwarded Message ---------- -- Lance E Sloan, Systems Research Programmer III U-M WATS: Web Applications, Technologies, and Solutions Full-service web and database design, development, and hosting. http://www.itcs.umich.edu/wats/ - "Putting U on the Web"

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