FW: [SMARTY] Help on " Fatal Error: Call to undefined function"

From: Date: Tue, 13 May 2003 15:28:46 +0000
Subject: FW: [SMARTY] Help on " Fatal Error: Call to undefined function"
Groups: php.smarty.dev php.smarty.general 
Request: Send a blank email to php-smarty-dev+get-1451@lists.php.net to get a copy of this message
-----Original Message----- From: Narayana Reddy Gari, Ramki (MED) Sent: Tuesday, May 13, 2003 10:14 AM To: 'Scott James' Subject: RE: [SMARTY] Help on " Fatal Error: Call to undefined function" Hi Scott, Yes, I am using Smarty ver 2.5.0. I am instantiating smarty as a member of a presentation class. AS soon as user successfully logs into my site I instantiate this presentation class which sends out the first page. "html_options" gets substituted properly here. But in the pages thereafter I see the "<b>Fatal error</b>: Call to undefined function: ". So I experimented making the smarty global variable and I instantiate on each request. It seems to be working when I do this. Cannot I copy smarty into a session and use it?? Seems to be creating a problem when I do that?? Any suggestions to overcome this situation. Thanks a lot, Ramki -----Original Message----- From: Scott James [mailto:scottlists@jumbotech.com] Sent: Tuesday, May 13, 2003 9:54 AM To: Narayana Reddy Gari, Ramki (MED) Subject: RE: [SMARTY] Help on " Fatal Error: Call to undefined function" make sure your are using ver 2.5.0 > > I see the following error when I use html_options in the template file. > > "<b>Fatal error</b>: Call to undefined function: > smarty_function_html_options() in <b>C:\Program Files\Apache > Group\Apache2\cad_service\templates_c\%%480\%%480641378\addDicomConn.tpl > .php</b> on line <b>167</b><br /> " >

« previous php.smarty.dev (#1451) next »