close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Warning when added column to ecart object and buy now button

Thread began 3/23/2010 9:17 pm by lightwalkercreations361768 | Last modified 3/24/2010 1:36 pm by Eric Mittman | 909 views | 1 replies |

lightwalkercreations361768Beta Tester

Warning when added column to ecart object and buy now button

Dear Webassist,

I have needed to add an extra column to e cart object for a productID (which is separate from itemID) after doing so and have bound the productID to the recordset for the buy now button. I get this error below and the page no longer redirect to cart.php. This is the warning below. I have checked to make sure there is not white space in the code which which is common I understand for "cannot modify header information".

Notice: Undefined index: Product in /Volumes/My Book/Cura Romana/Dreamweaver/CuraRomana Large official/curaromana/uk/IC24.php on line 68

Warning: Cannot modify header information - headers already sent by (output started at /Volumes/My Book/Cura Romana/Dreamweaver/CuraRomana Large official/curaromana/uk/IC24.php:68) in /Volumes/My Book/Cura Romana/Dreamweaver/CuraRomana Large official/curaromana/uk/IC24.php on line 91

I have uploaded the product pages as well as the ecart object page. The error come on the IC24.php page.

Many Thanks as always for your help

Sincerely Aaron

Attached Files
CuraRomana_UK_PHP.php.zip
IC24.php.zip
WA_eCart_Definition_PHP.php.zip
Sign in to reply to this post

Eric Mittman

This error is occurring because you do not have this Product column listed in the IC24Rs recordset. To get past this issue you just need to update the query to also select this column.

You can also alter it and set it to select all of the columns, this will make it so you do not need to update it in the future if you add in a new column to the table.

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