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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Fatal error: Call to a member function GetContent() on a non-object in

Thread began 7/10/2013 2:25 pm by FrankJay | Last modified 7/11/2013 12:49 pm by FrankJay | 395 views | 4 replies |

FrankJay

Fatal error: Call to a member function GetContent() on a non-object in

I have two main product category items - schoolware and footwear. I have followed the checkbox options tutorials for the schoolware products size options being passed to the shopping cart. Implemented successfully.

While implementing this to the footwear products I received the above error. I followed some forum threads suggesting rearranging the sequence of the code.

The above fatal error is now no longer being displayed and during some testing I received the following error:

Warning: session_start() [function.session-start]: Cannot send session
cache limiter - headers already sent (output started at
/Applications/XAMPP/xamppfiles/htdocs/h_schoolwear_specialists_rwd/
footwearDetails.php:9) in
/Applications/XAMPP/xamppfiles/htdocs/h_schoolwear_specialists_rwd/
WA_eCart/WA_eCart_Definition_PHP.php on line 465

When testing the footwear size options being added to the cart, the footwear page gets reloaded and only displays the size options that were selected originally, but does not redirect and add these to the cart page.

However, when I test the schoolwear size options, the schoolwear size option items are being added to the shopping cart as well as the previously selected footwear size options are being listed on the shopping cart page that were selected while testing

Both the schoolwear and footwear product items is sharing the same shopping cart.

I am attaching three pages that I use while testing, namely: schoolwearDetails, footwearDetails and cart-quote.

I have run out of options and thank you in advance for the assistance with this issue.

Attached Files
fatal error.zip
Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

FrankJay

See Details

I have replied

Sign in to reply to this post

Jason ByrnesWebAssist

on the footwearDetails.php page, there was a blank line between php tags causing the problem. line 50 - 52:

php:
?>


<?php



that blank line at 51 was the cause of the problem.

Sign in to reply to this post

FrankJay

Thank You

Thanks

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...