UBB.Dev
Posted By: PeelBoy Error messages - 02/28/2001 10:52 PM
My users are getting the following error message on my forum:

Fatal error: Cannot instantiate non-existent class: in /home/httpd/html/clubmaxima/forum/showflat.php on line 133



I'm guessing it only happens after I move a post and they try to view it or something?

here is the code on that line..... looks fine to me..


131 // If we didn't find the main post, then this post doesn't exist
132 if (!$current) {
133 $html = new $html;
134 $html -> not_right("$lang[POST_PROB]",$Cat);
135 }


------------------------------------------------
Jeremy 'PeelBoy' Amberg
Posted By: PeelBoy Re: Error messages - 02/28/2001 11:23 PM
Is that "$html = new $html" supposed to be "$html = new html" ? it doesn't seem right to have the dollar sign there?

------------------------------------------------
Jeremy 'PeelBoy' Amberg
Posted By: Rick Re: Error messages - 03/01/2001 3:30 AM
Yep that should be

$html = new html;
© UBB.Developers