|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
aneeshrp Smarty n00b
Joined: 19 May 2011 Posts: 1
|
Posted: Thu May 19, 2011 9:24 am Post subject: Smarty shows whitepage mostly |
|
|
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 |
|
rodneyrehm Administrator
Joined: 30 Mar 2007 Posts: 674 Location: Germany, border to Switzerland
|
Posted: Thu May 19, 2011 10:18 am Post subject: |
|
|
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 |
|
|
|
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
|