For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > March 2004 > smarty 2.6.2 : Fatal error: Call to undefined function: _compile_template() ????









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author smarty 2.6.2 : Fatal error: Call to undefined function: _compile_template() ????
Olivier Hericord

2004-03-19, 1:28 pm

hi,


i have a plugin where i wrote :

function smarty_function_traducteur2($params, &$this)
{
extract($params);
$trad = new translate;
$this->_compile_template("evaluated template",
$trad->traducteur($VERBOSE), $source);
eval('?>' . $source);
}


in smarty 2,6,2 it generates an error:
Fatal error: Call to undefined function: _compile_template()

why?


a way to correct this?

thanks
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com