close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
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 | 180 views | 6 replies

malcolm230194

eCart and or MySQLi is generating corrupt code

Good morning Ray

Firstly the data type error was an oversight in my attempt to recreate the page and not the problem.

The problem lies in the store cart details generated by eCart. By commenting out everything else I'm left with this code which generates your error message from line 124 in rsobj.php.

$ReplaceConnection = $store_i;
$ReplaceTable = "order_detail";
$ReplaceQuery = new WA_MySQLi_Query($ReplaceConnection);
$ReplaceQuery->Action = "delete";
$ReplaceQuery->Table = $ReplaceTable;
$ReplaceQuery->addFilter("DetailOrderID", "=", "d", "".$_SESSION['OrderID'] ."");
$ReplaceQuery->execute();

Please treat this as a matter of urgency as these are live sites that have stopped working. I've put test site information in the private message.

I've attached the file again for you to see

I've also experienced the following error when trying to add or edit another recordset on the same page. Test is fine after setting up the query but trying to save it gives the following message.

'error while executing applyServerBehaviour in MySQLiRecoredset.htm, a javascript error occurred'

I've done the usual of clearing the Dreamweaver cache but it doesn't change.

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