Jump to content

maintaiiance error


Recommended Posts

inside config/smarty.config.inc.php

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

$smarty = new Smarty();

$smarty->template_dir = _PS_THEME_DIR_.'tpl';

$smarty->compile_dir = _PS_SMARTY_DIR_.'compile';

$smarty->cache_dir = _PS_SMARTY_DIR_.'cache';

$smarty->config_dir = _PS_SMARTY_DIR_.'configs';

$smarty->caching = false;

$smarty->force_compile = false; // to pass "false" when put into production

$smarty->compile_check = false;

//$smarty->debugging = true;

$smarty->debug_tpl = _PS_ALL_THEMES_DIR_ . 'debug.tpl';

 

and inside config/config.inc.php

/* Debug only */

ini_set('display_errors','on');

error_reporting(E_ALL);

define('_PS_DEBUG_SQL_', false);

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...