Christian.Isai Posted July 3, 2014 Share Posted July 3, 2014 I set up a server with wamp and installed prestashop as I would normally do, when trying to display the debug console from smarty ( using {debug} on a template file ) It seems to break due the absolute urls: getting stuff like this INLINE : \/th>\n Smarty_Variable Object (3)<\/b> ->value<\/b> = " " ->nocache<\/b> = false<\/i> ->scope<\/b> = "file:C:\\wamp\\www\\prestashop/themes/de..."<\/td><\/tr>\n \n $ er<\/th>\n Smarty_Variable Object (3)<\/b> ->value<\/b> = false<\/i> ->nocache<\/b> = false<\/i> ->scope<\/b> = "file:C:\\wamp\\www\\prestashop/themes/de..."<\/td><\/tr>\n \n $js_dir<\/th>\n Smarty_Variable Object (3)<\/b> ->value<\/b> = "http://localhost/prestashop/themes/de..." ->nocache<\/b> = false<\/i> ->scope<\/b> = "file:C:\\wamp\\www\\prestashop/themes/de..."<\/td><\/tr>\n \n $js_files<\/th>\n Smarty_Variable Object (3)<\/b> ->value<\/b> = Array (25)<\/b> ... It seems that the backslashes are breaking the script but Im not able to escape them, I read about all the debug tpl en the smarty forums but wasnt able to find a solution. Also a friend of mine working on the same enviroment was able to replicate the issue. I happened on 1.6.0.7 and 1.6.0.8, in other version I didnt had any issue, do you know what could be making this? or a possible solution? Link to comment Share on other sites More sharing options...
Christian.Isai Posted July 24, 2014 Author Share Posted July 24, 2014 I already put the site online and the issue is still happening, as an update if I put the debug in a module (i tested with topmenu) it does work but will only show a limited number of variables.. Link to comment Share on other sites More sharing options...
kwak Posted September 18, 2014 Share Posted September 18, 2014 Hi, I don't know if you solved your issue, but the fix is here (waiting 1.6.0.10) : Forge PSCSX-2651 (Gregory's comment) Hope that helps. Link to comment Share on other sites More sharing options...
Recommended Posts