I don't see a spot where the class is initiated anywhere such as. $tpl = new classname;
Could this be the problem? Unless the class is saved as a session, this might be the problem. -Flint -----Original Message----- From: Chris Burwell [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 18, 2001 2:11 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Fatal Error When I try to assign a php varible to a fast template value i get the following fatal error: Fatal error: Call to a member function on a non-object in c:\web\re-write\news.php on line 43 Line 43 reads as follows: $tpl->assign(NEWSID, $newsid); Any ideas on what is happening, and how i can fix this problem? The source for this file can be found at http://www.burwell.f2s.com/news.phps -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]