close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

customer_order_details.php

Thread begun 6/08/2011 2:24 pm by cicyou421883 | Last modified 6/15/2011 10:07 am by Jason Byrnes | 3222 views | 12 replies |

cicyou421883

customer_order_details.php

Items are in Database, orders and orderdetails

Trying to make the pages for looking at order history.

customer_order_details.php

Unknown column 'WADAOrderID' in 'where clause'

Sign in to reply to this post

cicyou421883

Where Clause

The database is not seeing the page that I created with Webassist I am hosting with Godaddy and they use Starfied technolgies for the database, which is accepting products and orders.

Sign in to reply to this post

Jason ByrnesWebAssist

the error Unknown column 'WADAOrderID' in 'where clause' is because the recordset on the order details page is missing a parameter.

edit the recordset, in advanced view, create a new variable in the variables section:

Name: WADAOrderID
Type: Number
default Value: -1
Run Time Value: $_GET['OrderID']

Sign in to reply to this post

cicyou421883

Recordset Attempt

Hey Jason- 2 things happen. Type: only choice says "Floating Point Number" - Is it okay to choose? When I did and hit okay Error:

Please enter a SELECT Statement
WADAOrderID is an invalid variable name; it does not appear in the SQL

I used e-commerce for the SQL

Thanx again, Cathy

Sign in to reply to this post

Jason ByrnesWebAssist

there should be a selection for integer, use that one.


it sounds like you are createing a new recordsert not editing the existing record set on the order details page.


Double click the WADAOrders recodset on the order details page to edit it.

Sign in to reply to this post

cicyou421883

Same error message

Changed the variable with your instructions, uploaded to site and same error comes through

Unknown column 'WADAOrderID' in 'where clause'

Retosred .msql file in database to make sure.... all WA files were put... Any more ideas? Right now I am amually going into the database. Thanx, Cathy

Sign in to reply to this post

Jason ByrnesWebAssist

make a visual change to the page and re upload it to ensure that the upload is actually going up.

If you can versify that the code changes are actually making it to the server, and still have the same issue, send a copy of your page so I can view the code.

Sign in to reply to this post

cicyou421883

verified put successful

The page is uploaded, refreshed and verifies. Error still there, Sending Attachment - Thank you!

Sorry I sent it the wrong way - shame on me - I knew better. learning still. Will this zip work?

Attached Files
customer_order_details.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

please dont paste the code into a word doc, it is completely unreadable this way.


compress the original php file into a zip archive and send the zip file.

Sign in to reply to this post

cicyou421883

Changed the file

Changed the file, Thanx

Sign in to reply to this post
loading

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