Re: [SMARTY] Blank Page but no errors
| From: | messju mohr | Date: | Mon, 12 Jul 2004 13:44:44 +0000 |
| Subject: | Re: [SMARTY] Blank Page but no errors | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11577@lists.php.net to get a copy of this message | ||
On Mon, Jul 12, 2004 at 01:58:53PM +0100, Danielb wrote:
> I was having an error about not being able to find the
> smarty files/class'es when trying to view my smarty
> template which I've fixed but now I'm getting a blank page
> instead of the expected content and no error messages from
> smarty, php or apache. Anyone got any ideas as to what
> could cause this?
>
> The template I'm trying to view is from an active site so
> it should work, which makes me suspect it could be
> something to do with my local set-up but I'm not sure what
> it could be as I'm new to smarty and linux!
make sure php-errors are logged or displayed. for example set
error_reporting to E_ALL and turn display_errors on in your php.ini.
then clear all files in the "templates_c"-directory and, maybe in
"cache".
then reload the page and see if any errors occur.
> Cheers,
>
> Daniel
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php