[phplib] Template from within other class problem From: Max A. Derkachev (kot <email protected>)
Date: 05/12/00

I've created one instance of the Template class ($tpl), and tried to use it
from within other class (In my case, Cart). Template called in that
class functions (global $tpl), and then all the procedures called in
the right order (set_file, set_var, parse ..). The problem is the
first call to the Template from within a class function works fine,
the second (I suspect not only the second, but others except the first
also) , from another function, dies with a "not a valid handle" error, where a variable handle
in a template mentioned. It seems to me that the second set_file
worked bad .. Has someone experienced such a problem, an how to
resolve?

-- 
Best regards,
Max A. Derkachev

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>