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

Column 'DetailOrderID' cannot be null -can you please help me find the issue?

Thread began 11/06/2014 4:36 am by john42771 | Last modified 11/06/2014 4:50 pm by john42771 | 494 views | 5 replies

john42771

Column 'DetailOrderID' cannot be null -can you please help me find the issue?

My changes have broken the correct submitting of information. Upon submission I get this "Column 'DetailOrderID' cannot be null".

I used eCart 6 to customize a PowerStore. My client no longer wanted their customers to need login credentials or access to a profile, orders, or the view download page. I used the eCart checkout wizard to set up the ajax checkout experience (one page) as well as removing the customer's need to access anything through a login. (FYI: Customer receives a link to the product in an email. They may be using the product themselves, or they may have purchased it for someone else. Once that link is clicked, THEN the user will need to register to get access to the online product.)

Don't know if this is related at all, but I'm also noticing 2 different submits in the code. Payment_submit and CheckoutWizard_submit.
Is one incorrect?
Here's one related to the database:
if ((isset($_POST["Payment_submit"]) || isset($_POST["Payment_submit_x"]))) {
Here's the other:
<input class="formButton" name="CheckoutWizard_submit" type="submit" id="CheckoutWizard_submit" value="Continue" onClick="clearAllServerErrors('CheckoutWizard_NewFromBlank_Default')" tabindex="12">

Additionally, the AJAX checkout experience on a PC is acting funky by submitting the first part of the form prematurely - before any "Continue" button was pressed. Perhaps things are conflicting - needs debugging.

Attached Files
checkout.php
checkout7.php
confirm7.php
confirm7_cart.php

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