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

Posted by Marcus Bointon on 10/23/05 23:53

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
--
Marcus Bointon
Synchromedia Limited: Putting you in the picture
marcus@synchromedia.co.uk | http://www.synchromedia.co.uk

 

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

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