fatal error - please help
I am new to dynamic websites but I have managed to work out data assist and have got some really great product pages which I am now trying to add ecart functionality too. I have followed the getting started guide and added in my add to cart buttons, created my checkout pages and was looking forward to testing when I got the following error. It appears on all my pages now - even my product pages that I have added cart buttons too :(
PRODUCT PAGES ERROR - Fatal error: Call to a member function GetContent() on a non-object in C:\xampp\htdocs\tinytotsdynamic\ball-pits.php on line 3
Line 3 of my code says: $TinyTots->GetContent();
CHECKOUT PAGE ERROR - Parse error: syntax error, unexpected '[' in C:\xampp\htdocs\tinytotsdynamic\WA_eCart\TinyTots_PHP.php on line 10
Line 10 of my code says: $TinyTots->cartAction = "RedirectIfEmpty";
Does anyone know what it means and/or what I can do to fix it?
Please let me know if I should post any additional info.
Thanks so much!