close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

fatal error - please help

Thread began 9/10/2010 1:01 pm by nicemanda413049 | Last modified 9/10/2010 1:43 pm by Jason Byrnes | 878 views | 2 replies |

nicemanda413049

fatal error - please help

Hi there,

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!

Sign in to reply to this post

nicemanda413049

Worked it out

I ended up figuring out what I had done wrong - I'd taken out the total and subtotal sections of the checkout because there is no money involved in these transactions and it required me too take them out of the code in another file too which is what it was pointing at in the 10th line. Once I did this that sorted out the checkout and the product page was really strange I just retried several times and eventually it seemed to sort itself out.

It's nearly 4am here in Oz so you have to give me a dodo allowance of some sort for this time of night -or morning I should say - lol :)

Sign in to reply to this post

Jason ByrnesWebAssist

ok, glad to hear you have it figured out.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...