close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

error your SQL syntax

Thread began 10/10/2016 4:21 pm by malcolm230194 | Last modified 10/11/2016 6:05 pm by malcolm230194 | 443 views | 6 replies


error your SQL syntax

The following code is generated by eCart. and crashes with 'You have an error in your SQL sytax. It has affected two sites that were previously working. They both crashed after templates were updated containing changes in unrelated code.

The page is an order confirmation and runs perfectly if this section is commented out, though obvoiusly doesn't do what was intended.

Another problem with this is that it will only run on the local server as root even thouigh the user a/c is valid and tested in MySQL Workbench. This is a serious reputational and financial problem and I would appreciate your early attention

You will also see in the attached code some hacks going round in circles with session variables to try to save the order number correctly. I gave up trying to do it by the book as I got nowhere and every saved order had the number 400007. Christ only knows where that came from but it consistently appeared. Pragmatism overuled purity.

I'm in your hands.


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





Ease of use


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