Skip to content

vt7.1 - Smarty debug does not work due to incorrectly declared variable

In /libraries/Smarty/libs/debug.tpl line 130

_smarty_console = window.open("","console{$id}","width=680,height=600,resizable,scrollbars=yes");

if this is changed to

var _smarty_console = window.open("","console{$id}","width=680,height=600,resizable,scrollbars=yes");

then the Smarty debugging works (if in /libraries/Smarty/libs/Smarty.class.php line 375 is set to true)

public $debugging = false; to public $debugging = true;