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

confirm page error

Thread began 6/01/2009 3:42 pm by jenbar3378469 | Last modified 6/02/2009 10:14 am by Ray Borduin | 1131 views | 5 replies |

jenbar3378469

confirm page error

Hi, I keep getting MySQL syntax errors for line 1 of the shopping cart. I have tried to enter different items in the shopping cart on line 1 and no matter which item it always returns an error on the confirm page such as this:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Brand Video Corporate Capabilities DVD In Multiple Languages, detailItemName = '' at line 1

Any ideas?

Thanks!

Sign in to reply to this post

Ray BorduinWebAssist

Seems like it must be an issue with how you are setting the ID in the shopping cart.

This looks like an issue with the data type used with the store cart details in database on the confirm page. I would need to look at it further to tell for sure, but it appears the column before detailItemName, which I imaging is detailItemID is set as a number field but you are trying to insert a text value.

Sign in to reply to this post

jenbar3378469

I see what you mean Ray. It was set for numeric. Do I want that field to be numeric? Do I have my bindings wrong? Thanks

Sign in to reply to this post

Ray BorduinWebAssist

It looks like you are inserting the name as the ID. I think it is the bindings. It appears it is inserting: Brand Video Corporate Capabilities DVD In Multiple Languages

as the ID... which is clearly not numeric. Most likely you have bound the ID to the name field.

Sign in to reply to this post

jenbar3378469

Thanks Ray! I seemed to have fixed that but now it is giving me this error:

Unknown column 'isqov7s99kt3ki17tqdk21n1i5' in 'where clause'

Any ideas?

Sign in to reply to this post

Ray BorduinWebAssist

It looks like the same problem now in a different column.... That is probably your SessionID and you are probably inserting it into the orders table in the ReferenceID column. That column is marked as a number in the database.

You should update that to a varchar column in the database and then update the store cart summary in database to mark the reference id as a text column in the server behavior. Probably the bindings are correct, but it is hard to be sure.

This is definitely another data type mismatch error inserting text into a number column.

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