Jump to content

Cant open smarty debug console


Recommended Posts

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

  • 3 weeks later...
  • 1 month later...
×
×
  • Create New...