ladivito Posted August 19, 2011 Share Posted August 19, 2011 Hi, when my shop go into maintenance in B.O (enabled=off) , the code and image are gone wrong. i tried to modify the maintenance.tpl and replace it but still show negative.....anyone able to help on this ? http://www.maricuti.com/index.php Thank you !! Link to comment Share on other sites More sharing options...
tomerg3 Posted August 19, 2011 Share Posted August 19, 2011 It looks like something wrong with your code, you should make sure you turn on force recompile in Preferences->performance after you make changes to the file. You can always restore the original file. Link to comment Share on other sites More sharing options...
ladivito Posted August 19, 2011 Author Share Posted August 19, 2011 Hi, i'm using the ver 1.3.5 ! where can i get the code ? thank you Link to comment Share on other sites More sharing options...
ladivito Posted August 19, 2011 Author Share Posted August 19, 2011 i had make change at config/smarty.config.inc.php and set force recompile to "true" but it become blank ~ after change back to "false", the page still the same..... any other way to do it ? thank you Link to comment Share on other sites More sharing options...
tomerg3 Posted August 19, 2011 Share Posted August 19, 2011 turn on error reporting (/config/config.inc.php line #4) and see what the error is, it's preventing the page from being properly compiled. Link to comment Share on other sites More sharing options...
ladivito Posted August 19, 2011 Author Share Posted August 19, 2011 already turn on ! but the page didnt show anything.... Link to comment Share on other sites More sharing options...
tomerg3 Posted August 19, 2011 Share Posted August 19, 2011 see if the error log on your server shows anything. You can try to use the default validation.php + .tpl Link to comment Share on other sites More sharing options...
ladivito Posted August 19, 2011 Author Share Posted August 19, 2011 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 More sharing options...
ladivito Posted August 19, 2011 Author Share Posted August 19, 2011 how to use the default validation.php + .tpl ? Link to comment Share on other sites More sharing options...
ladivito Posted August 19, 2011 Author Share Posted August 19, 2011 double check...no error in server log except the addheader and addstuff modules....but already uninstall from modules still show negative.... Link to comment Share on other sites More sharing options...
tomerg3 Posted August 19, 2011 Share Posted August 19, 2011 Download a copy of PS 1.3.5 and get those 2 files. Link to comment Share on other sites More sharing options...
ladivito Posted August 19, 2011 Author Share Posted August 19, 2011 Hi Tomer, i had tried to replace the validate.php in util and class folder but still not working ! but i saw the validation.tpl in many modules, do i need to replace those tpl file inside the modules ? thank you Link to comment Share on other sites More sharing options...
tomerg3 Posted August 19, 2011 Share Posted August 19, 2011 I must have been dream-posting last night, forget about validation. The file you should restore from the original PS 1.3.5 is /maintenance.tpl Link to comment Share on other sites More sharing options...
ladivito Posted August 19, 2011 Author Share Posted August 19, 2011 is still the same....i'll try to re-install again later.... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now