moy2010 Posted June 30, 2014 Share Posted June 30, 2014 Hello, PS Community. After installing PS 1.6.0.8 in my demo store, I started experiencing the error 500. I've ttried to debug it by enabling the error displaying options in the defines.inc.php file, but with no success (It just says that there was an error 500 and that's it :/). Any ideas? Thanks in advance . Link to comment Share on other sites More sharing options...
moy2010 Posted July 1, 2014 Author Share Posted July 1, 2014 Well, it seems that it has to do something with the file config.inc.php. If I overwrite it with the one from ps 1.6.0.6, then I can access to the website yet it still is unusable. Link to comment Share on other sites More sharing options...
vekia Posted July 1, 2014 Share Posted July 1, 2014 do you see differencies between those 2 files? if i were you i will compare them perhaps your original (from new ps) file is crashed 1 Link to comment Share on other sites More sharing options...
tuk66 Posted July 1, 2014 Share Posted July 1, 2014 Is there /* Get smarty */ require_once(dirname(__FILE__).'/smarty.config.inc.php'); $context->smarty = $smarty; at the end of config.inc.php? 1 Link to comment Share on other sites More sharing options...
moy2010 Posted July 1, 2014 Author Share Posted July 1, 2014 Yep, it has that line, tuk66. So far, these are the differences between both files:Lines 46-52: if (!file_exists(dirname(__FILE__).'/../install')) die('Error: "install" directory is missing'); header('Location: install/'); exit;vs.:if (file_exists(dirname(__FILE__).'/../install')) header('Location: install/'); elseif (file_exists(dirname(__FILE__).'/../install-dev')) header('Location: install-dev/'); else die('Error: "install" directory is missing'); exit; Line 64:if (Tools::isPHPCLI()) vs. if (Tools::isPHPCLI() && isset($argc) && isset($argv))Line 118-119: (Not present in the 1.6.0.6. version): if (Configuration::get('PS_USE_HTMLPURIFIER')) require_once (_PS_TOOL_DIR_.'htmlpurifier/HTMLPurifier.standalone.php');After disabling the html purifier in the backoffice, the website is more usable but not completelly functional yet. Link to comment Share on other sites More sharing options...
Recommended Posts