Jump to content

blank page on changing comparison product number


Recommended Posts

turn on error reporting,

then instead of blank page you will see detailed information about what and where doesnt work (i hope so!)

 

open config/defines.inc.php
 
find this line: define('_PS_MODE_DEV_', false);
change to look like this: define('_PS_MODE_DEV_', true);
Link to comment
Share on other sites

Thanks!! I didn't knew this option, very useful! I've got this message (This is a syntax error, I modified the % to have 2 decimals and I made an error):

 

 

Strict Standards: Declaration of Cart::getOrderShippingCost() should be compatible with CartCore::getOrderShippingCost($id_carrier = NULL, $use_tax = true, Country $default_country = NULL, $product_list = NULL) in override/classes/Cart.php on line 52

 
Strict Standards: Declaration of Cart::getSummaryDetails() should be compatible with CartCore::getSummaryDetails($id_lang = NULL, $refresh = false) in override/classes/Cart.php on line 52
 
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "themes/default-bootstrap/products-comparison.tpl" on line 89 "-{round($product->specificPrice.reduction*100|floatval),1)}%" - Unexpected ",", expected one of: "}" , " " , ATTR' in tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:667 Stack trace: #0 tools/smarty/sysplugins/smarty_internal_templateparser.php(3144): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 tools/smarty/sysplugins/smarty_internal_templateparser.php(3209): Smarty_Internal_Templateparser->yy_syntax_error(37, ',') #2 tools/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(37, ',') #3 /home/xxxxxxx/public_html in tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 667
Edited by St055 (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...