>Fatal error: Call to a member function on a non-object >in
/home/cmradmin/public_html/thus/basket.php on line 304
>
>Does anyone know what the flaming heck that means?  I'm trying to fix this
little problem >which has only appeared since my webserver upgraded to PHP4.
>
>Line 304 contains this:
>
>$MyCart->Display($Orderno);

PHP thinks that $MyCart ain't an object, much less a Cart object.

At line 303, insert:
echo "MyCart is a ", vartype($MyCart), "<BR>\n";
vardump($MyCart);

and see what you get.

--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm



-- 
PHP General 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]

Reply via email to