[PHP] "Call to a member function on a non-object" error!
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); Which is calling the function from this class: class MyCart extends Cart { function Display($orderno) { echo "called dummy..."; // this isnt the real function this is just a dummy } } I can't quite figure out the error message itself, it doesnt really make any sense. Any help appreciated! Cheers. -- Greg Fyans [EMAIL PROTECTED]
[PHP] Worldpay module an Exchange Project e-commerce site
Does anyone know where I can find a module for Worldpay that will work with The Exchange Project? www.worldpay.com -- Greg Fyans www.syntonik.co.uk
Re: [PHP] Java Jock - 1st line syntax
you got an example you can show us -- Greg Fyans www.syntonik.co.uk > I recently just started using PHP. I searched this list's archives first, > but couldn't find an answer to my question: > > Whenever I get a "syntax error" it's always reported "on line 1", even > when it's obviously not on line 1. I *never* get an error reported on any > other line #. > > Any thoughts on this? > > Thanks! -- 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]