Re: [SMARTY] Re: Blank page - no errors while extending Smarty
| From: | Monte Ohrt | Date: | Thu, 12 Aug 2004 20:46:31 +0000 |
| Subject: | Re: [SMARTY] Re: Blank page - no errors while extending Smarty | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11674@lists.php.net to get a copy of this message | ||
Smarty isn't meant to be executed statically, you should have an instantiated object.
Ryan Kanno wrote:
Thanks to all that responded. I spent yesterday debugging and here's what I found. If I override the 'fetch' function in my extended Smarty class, regardless of what's called within the function, I get the blank page with no error output. Here's what the fetch function looked like: public function fetch() { return Smarty::fetch(...); } If I comment that function out, then everything works as normal. I didn't run through the Smarty code yet, but is there something in Smarty that would account for this behavior? Thanks, Ryan _________________________________________________________________ Is your PC infected? Get a FREE online computer virus scan from McAfee® Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963