|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
rajasi Smarty n00b
Joined: 15 Sep 2003 Posts: 1 Location: Avellino - ITALY - EEC
|
Posted: Mon Sep 15, 2003 10:01 pm Post subject: problem with debug console.. |
|
|
i've no problem yet running smarty on my Win system...
but the debug console don't come up ..
i'm using this istructions:
$smarty->debug_tpl = "./assets/libs/";
$smarty->debugging = true;
the debug.tpl file is in the right directory...
when i'm running the application i get this error:
Fatal error: Call to undefined function: () in e:\www\htdocs\prj\quaz\assets\libs\Smarty.class.php on line 1658
if i don't use the istruction:
$smarty->debugging = true;
all works.. but the debug window is still a ghost ...
thanks for anyone help me... _________________ --
KronoClass
a new way to compute time in PHP
http://lafucina.holosoft.it/kronoclass/ |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
Posted: Mon Sep 15, 2003 10:34 pm Post subject: |
|
|
I use the following to setup the debug template on my w2k box:
[php:1:a9fab8e644]$this->debugging = true;
$this->debugging_ctrl = 'SMARTY_DEBUG';
$this->debug_tpl = 'file:' . SMARTY_DIR . 'debug.tpl';[/php:1:a9fab8e644]
At anyrate, it appears that you are not specifying the debug template's name, which is required.
HTH |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|