RE: [PHP-WIN] Fatal Error
| From: | Flint Doungchak | Date: | Thu, 18 Oct 2001 21:23:36 +0000 |
| Subject: | RE: [PHP-WIN] Fatal Error | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-9925@lists.php.net to get a copy of this message | ||
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:cburwell@netzero.net]
Sent: Thursday, October 18, 2001 2:11 PM
To: php-windows@lists.php.net
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: php-windows-unsubscribe@lists.php.net
For additional commands, e-mail: php-windows-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net