close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Syntax error on submitting order.

Thread began 6/15/2010 3:05 am by rikaG_510 | Last modified 7/17/2010 6:17 am by rikaG_510 | 4112 views | 18 replies

Eric Mittman

Thanks for getting back with the details, this was the info that I was looking for. Based on what you have in your query and the way that the Store Order Details server behavior is setup it seems like you may just have the associations to the fields in your order details table misconfigured.

For example in the printed out query that you have the first column mentioned in the DetailID, but the first value you are passing into this column is 'Standard rudder'. This is not an appropriate value for this column. You should not be specifying any value for the id column, it should be automatically create for you when the record is inserted.

You should edit your store order details server behavior and re-associate the columns with the correct value. You should not specify anything for the DetailID, for the other columns you should set the values like this:

DetailOrderID $_SESSION["Swift_OrderID"]
DetailProductID product id column in the cart
DetailName the name column from the cart
DetailPrice the price column from the cart
DetailQuantity the quantity column from the cart

As for the Universal Email code that you have on the page there was a problem with the code that I posted, it should be updated to be like this instead:

php:
$BurstSize = 200;

$BurstTime = 1; 
$WaitTime = 1;

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