close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

"an unidentified error has occurred" when building recordset

Thread began 8/14/2017 1:19 pm by LionsMane | Last modified 8/15/2017 11:42 am by Ray Borduin | 1355 views | 7 replies |

LionsMane

"an unidentified error has occurred" when building recordset

Migrated an older site to a new host, with replicated mySQL database on the new host. Obviously this means new connection criteria, which all work successfully with my DB tools. DW won't connect to the DB however with the listed generic error. The FTP definition is correct, everything transfers. The PHP version is appropriately set on the host. The MM_scripts have been deleted locally and on the host. DW still fails to build a mySQLi recordset, throwing the error. I even killed my local .dat cache file. No luck. I'm out of ideas - help!

Sign in to reply to this post

LionsMane

Slight change now.. new error

So I had the web host completely delete off the domain, and pushed everything up clean, and even completely rebuilt the database on the host end. I can connect with FTP and DB tools again as before, except when I try to build a mySQLi recordset now, I get a new error: HTTP Error Code 500 Internal Server Error. No server logs on the host show any issues. Where could this be coming from??

Sign in to reply to this post

Me

There could be a few reasons for this issue.

1) Is there an htaccess file on the server, if so, is it configured properly. A further note here, if I am running a server locally, and on the test server there is a htaccess, for whatever reason, when we open a database or recordset dialog, this issue can be experienced. In which case we simply rename the file temporarily for example .httaccess becomes .htaccess(). Remember to rename it back to it's proper name on the live server though! I have never figured out why this happens, but it seems dreamweaver / webassist don't like it, if there is an htaccess file in the root. (?).

2) And quite common, make sure the Database Connection file contains the correct credentials to use any database for your site. Make sure that any tables that are referenced exist in your DB and make sure ALL columns referenced actually exist in the tables you are referencing. This all might sound like schoolboy (or girl!) errors but, a few times when we have updated our DB / tables locally, we have forgotten to apply those changes to the live server...it happens :-) and in such cases we get the issue as you have described here.

3) Further to point 2. In your SQL statements makes sure you are referencing column names properly. Again, If I blink whilst typed I might type:

my-table-column when in fact it should be my_table_column

Hope this helps

Sign in to reply to this post

LionsMane

No dice.. :(

All of the database connection criteria is correct. We have no columns to worry about yet as I'm simply just trying to create a mySQLi recordset, and I'm not even getting to the connection yet because the mySQLi behavior won't complete the connection test. I'm back to getting the Unidentified Error Has Occurred message again. This would normally happen if my site definition was off in some way, but that is all correct too. There is no .htaccess on the server, so thing there to cause an issue. PHP version is correct on the server, so that shouldn't be an issue. If this needs to become a paid session, then so be it, but I need to fix this ASAP.

Sign in to reply to this post

LionsMane

Issue resolved

I'm not sure why, but my host provider had to make the following change on the server side - and now the issue has been resolved. Just FYI, here's what they did: Adding <local IP> to csf.allow and iptables ACCEPT...

Sign in to reply to this post

Ray BorduinWebAssist

I was working on the files and made a fix in the connection files. The issue is that your password has an ampersand and it wasn't working properly with ampersands in the db password.

Please reinstall the MySQLi Server Behaviors and it should work properly moving forward.

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

LionsMane

reinstall?

Thanks for looking at that Ray. Are you saying that I need to re-download the extension, and reinstall it? Otherwise, just reinstalling what I have doesn't really change much on my machine I'd think?

Sign in to reply to this post

Ray BorduinWebAssist

Just reinstall would be fine if you already have the latest version. The files are loaded by the secondary installer.

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

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