Re: [SMARTY] blank output
| From: | M Mohr | Date: | Wed, 11 Dec 2002 09:37:43 +0000 |
| Subject: | Re: [SMARTY] blank output | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6730@lists.php.net to get a copy of this message | ||
hello,
On Wed, Dec 11, 2002 at 01:03:48AM -0800, Yuriy Blokhin wrote:
> i've developed site engine using Smarty and when i uploaded to upload
> project's files to FTP server - the were no errors, just blank output.
> At first I thought that there is a kind of path configuration error
> and just for test uploaded the files tree from right from the
> distributive and test script that is supplied with the distibutive
> also output a blank screen! Note that when I've uploaded my project to
> another servers - all is ok, as on my localhost. So, the error is on
> server side ? But what it could be? Here is the servers's phpinfo:
> http://hosting.iptcom.net/phpinfo.php
> i'm really stucked...
> thank you for paying attention to read this
i see, your "error_reporting" is set to "0". so no errors are
displayed on the screen. thats good for production-sites, but bad for
development/testing/installation . you should put a statement like
error_reporting(E_ALL);
at the top of your php-file (after the '<?php', of course) and see what
happens.
see: http://www.php.net/manual/en/function.error-reporting.php
have fun
messju
> Yuriy Blokhin
>
> mailto:flea@ewe.ca
>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php