You are here: Re: Debugging custom template resource « Smarty Templates Posts « IT news, forums, messages
Re: Debugging custom template resource

Posted by Pedro on 10/24/05 13:49

try switching error_reporting(E_ALL)

use {debug} tags withing a template

Switch off buffering and caching in the testing.production stage

Pete

Marcus Bointon wrote:
> I have several custom template resources and I'm having some trouble
> with one of them. I've confirmed that it is definitely getting the
> contents of the template, but between returning the template source to
> smarty and then getting the rendered output back to the original fetch
> call, it's breaking, but I can't get any error messages out. It could
> well be an invalid template, but I'm not getting any kind of output at
> all - everything just stops. You can't log to normal output from a
> template resource function because it's output buffered (and all output
> appears in the rendered template), but logging to a file is working ok.
> Any ideas for finding the problem or persuading Smarty to generate more
> debug output (debugging = true doesn't help)?
>
> Marcus

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация