For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > July 2004 > Re: [SMARTY] Blank Page but no errors









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [SMARTY] Blank Page but no errors
Messju Mohr

2004-07-12, 4:06 pm

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

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com