close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

mysql error message

Thread began 8/21/2014 3:06 pm by vered435903 | Last modified 8/22/2014 1:42 pm by vered435903 | 2646 views | 10 replies |

vered435903

mysql error message

Hello~

I've been updating my admin product update page and suddenly I'm getting an error message. I don't know what I could have done.... This is the error message:
MySQL Error#: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

I'll attach the file so you can reference it. Also, I'm still getting a spry error message in regards to the ProductUpdateDate - I followed the Inventory Maintenance II tutorial and it seems like all the code wasn't removed, but when I delete the lines that reverence that field, I get an increase in error messages...

Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

vered435903

There isn't a problem online yet because I haven't uploaded the pages with issues.

The problem is occurring in Dreamweaver when I open the files. When I click on the recordset to add bindings to elements, that mysql error pops up and the recordset menu won't expand. I must have moved or deleted something that's responsible for that connection.... that same mysql error is now popping up in pages I haven't edited, so I may have compromised a web assist file somehow?? I haven't uploaded any files from the web assist folder which may be why the site is still functioning without issues.

What files should I send you? Or what should I look for?

I'm also getting this error when I open the document. When I search for the referenced lines and remove them, the page stops functioning.
I had the same issue when I added the inventory management and followed your tutorial to remove fields from the page. You told me to remove the spry references, and I did, which solved the problem. Now this similar error is appearing.

Thanks for your help!

Sign in to reply to this post

Jason ByrnesWebAssist

Please provide a Skype username or a US phone number and a good time to contact you when you will be in front of your computer and we will have an engineer contact you to resolve this issue over the phone.

We are available Monday - Friday from 9am - 4pm EST (except major U.S. holidays).

Sign in to reply to this post

vered435903

see pm

Sign in to reply to this post

Jason ByrnesWebAssist

I have sent a skype contact request.

Sign in to reply to this post

vered435903

see pm

Sign in to reply to this post

Jason ByrnesWebAssist

I Checked in with Ray, and this is a Dreamweaver issue that can sometimes happen when using a complex query, sometiomes if the query is to cplex, Ddreamweaver will flake out and thrpw SQL Errors when none exist.

Not really any workaround for this except to hand code the bindings as:

<?php echo($row_WADAProducts["ColumnName"]); ?>

where ColumnName is the name of the column

Sign in to reply to this post

vered435903

Thanks!

Where do I put those lines of code?

Sign in to reply to this post

Jason ByrnesWebAssist

where you would like to echo the recordset value

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