Undefined variable: & GetContent() error
Hey Gang,
I must just be over-looking something here . . . but I can't seem to locate my problem.
I installed my new cart (ECart 5.03) - everything appeared to go as anticipated (both times) . . . however, when I attempt to load the pages on the local server and hosting server (Bluehost), I get these errors:
Local: (items_Results.php is the page I added the Add to Cart button to)
Notice: Undefined variable: Spark in C:\wamp\www\Besparklicious\Products\items_Results.php on line 3
Fatal error: Call to a member function GetContent() on a non-object in C:\wamp\www\Besparklicious\Products\items_Results.php on line 3
Bluehost:
Fatal error: Call to a member function GetContent() on a non-object in /home1/basinho1/public_html/besparklicious/Products/items_Results.php on line 3
The common denominator seems to be the GetContent() code in the results page:
<?php
$shopBag->GetContent();
?>
The only thread I could find in the forums was in reference to the cart name being the same as the connection or a record set. Just to be sure, I went through the Ecart process again with completely new cart - I got the same result.
What am I missing? Thanks a lot!
Jim