close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

getting an error when trying to add a MySQLi Recordset

Thread began 1/24/2019 7:48 am by Adam | Last modified 1/25/2019 9:01 am by Ray Borduin | 2182 views | 16 replies |

Adam

getting an error when trying to add a MySQLi Recordset

Just purchased and downloaded the MySQLi Server Behaviors, and I'm not able to insert a recordset due to the error message below. Any help would be greatly appreciated.

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 'b64:U0VMRUNUICogRIJPTSBiYW5uZXIGT1JERVIgqlkgYHZpZXdgIEFTQw==' at line 1

Sign in to reply to this post

Ray BorduinWebAssist

Usually this is an issue with your site settings for your testing server URL pointing to the wrong directory. Can your export and send me your Dreamweaver site settings? I can use that to debug what might be wrong.

Sign in to reply to this post
Did this help? Tips are appreciated...

Adam

Here you go. Thank you again for your help.

Sign in to reply to this post

Ray BorduinWebAssist

It looks like you don't have a testing server defined? You need a testing server to connect to a database. I'll need the full exported site with the testing server and usernames and passwords to fully test. What is the url of your site? Make sure it is set correctly in the testing server settings and send me the full export so I can test if you still have issues.

Sign in to reply to this post
Did this help? Tips are appreciated...

Adam

Here's the full site. I don't recall needing to set one up in the past.

Attached Files
CMU2.ste
Sign in to reply to this post

Adam

I'm having to migrate from php5.6 to php7...which is what prompted my purchase of the mysqli behaviors. everything has been working just fine, until i started migrating over to php7

Sign in to reply to this post

Ray BorduinWebAssist

It looks like your site is using the directory: www

but you don't have that specified in your remote and testing server settings. You will have to also move your Connections folder into that folder.

Dreamweaver has always required accurate testing server settings to connect to the database.

Sign in to reply to this post
Did this help? Tips are appreciated...

Adam

ok...here's an updated export. still getting that same error.

Attached Files
CMU3.ste
Sign in to reply to this post

Ray BorduinWebAssist

The root folder in your site settings is still set to: /
it should be set to: /www

and now your web url appears to be set incorrectly as well. It has to be the url to the site that you can copy and paste into a browser to view the pages.

Sign in to reply to this post
Did this help? Tips are appreciated...

Adam

here is the setup of another site i have...and everything works just fine on it currently (i haven't switched it to php7/mysqli, yet). do i need to set the cmu site root to /www even though i publish files outside the www folder?

Attached Files
other.ste
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...