Jump to content

Error 500 after updating to PS 1.6.0.8


Recommended Posts

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

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

×
×
  • Create New...