Re: [SMARTY] Blank page - no errors while extending Smarty

From: Date: Thu, 12 Aug 2004 06:47:38 +0000
Subject: Re: [SMARTY] Blank page - no errors while extending Smarty
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-11671@lists.php.net to get a copy of this message
Do you have a code snippet from your extended class that might help us out a bit? There are no none errors with php5 + smarty, ive been using it here fine for months. -bok On Wed, 11 Aug 2004 20:33:12 +0000, Ryan Kanno <kannoberg@hotmail.com> wrote: > > I have a weird problem running Smarty 2.6.3 with PHP 5.0 running on Apache > 2.0 on a Windows 2000 box. When I create the Smarty object itself, > intialize the correct directories, etc, my pages all load fine. However, > when I attempt to extend the Smarty class, to > > class MySmarty extends Smarty { ... > > and attempt to instantiate the MySmarty object, only a blank page shows up, > with no errors. I have the correct error settings set in my scripts as well > as my php.ini. I've cleared my cache, templates_c directories with no luck. > I've checked the permissions in the directories. I do notice that there > are files being created when running my extended class. I've tried all > sorts of things to no avail... even printing out the class name, parent > class, etc... I get all the correct names back. > > I was just wondering if this is a known bug or if anyone has seen something > of the sort. > > Thanks, > Ryan > > _________________________________________________________________ > Express yourself instantly with MSN Messenger! Download today - it's FREE! > > hthttp://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

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