Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
Smarty shows whitepage mostly

 
Post new topic   Reply to topic    Smarty Forum Index -> Help Wanted (commercial)
View previous topic :: View next topic  
Author Message
aneeshrp
Smarty n00b


Joined: 19 May 2011
Posts: 1

PostPosted: Thu May 19, 2011 9:24 am    Post subject: Smarty shows whitepage mostly Reply with quote

Hi I have an application which is developed used Smarty 2.6.26 template engine.

The application was working fine till last week. Now I am getting a strange scene. Sometimes or frequently my sites displays whitepage instead of my website contents. Cleaning the templates_c directory fixes the issue. But this happens on a continuous bases. I have not enabled the smarty caching in my application.

Any help highly appreciated.

Things I have already tried
---------------------------
$smarty->compile_check = false; ( changed to false from true )


My Current Smarty settings

define('SMARTY_DIR', 'Smarty/libs/');

require_once(SMARTY_DIR . 'Smarty.class.php');

$smarty = new Smarty;

$smarty->compile_check = false;

$smarty->debugging = false;

$smarty->template_dir = 'view';

$smarty->compile_dir = 'templates_c';
Back to top
View user's profile Send private message
rodneyrehm
Administrator


Joined: 30 Mar 2007
Posts: 698
Location: Germany, border to Switzerland

PostPosted: Thu May 19, 2011 10:18 am    Post subject: Reply with quote

the white page usually means a fatal error has occured and you disabled showing errors. so either you set display_errors = On or you activate log_errors and set error_log to somewhere readable to you. either way, you don't get far without knowing what's actually happening to the system.

If there are no errors around, check the webserver's error_log - maybe you hit an error caused by php or some extension.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Help Wanted (commercial) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP