close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Unspecified Error when creating connection

Thread began 9/04/2017 11:52 pm by Orian | Last modified 2/03/2020 8:16 pm by Ray Borduin | 2898 views | 16 replies |

Orian

Unspecified Error when creating connection

Hello!

New customer here.

Just now installed MySQLi Server Behaviors and am trying to use it to create a connection.
I have been following the online step-by-step on your website. But, not getting very far...

I have tried several variations of server name, including the port... not including the port, even trying localhost and he full domain name.

The user name and password are no problem I know those are correct.


When I put the database name in and click TEST... I always get "An Unidentified Error has Occurred". I don't know where to go from here. I can connect from manually coded MySQLi and PDO connection. So, that too is not the issue.

Mac OS 10.12.6 using Dreamweaver CS6

Please assist

Sign in to reply to this post

Ray BorduinWebAssist

This is an issue with the Dreamweaver Site Definition, specifically the Testing Server settings, and most likely the Website URL value you have entered. I'd have to see your testing server settings in Dreamweaver to debug, but you can look there and may be able to spot the problem yourself.

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

Orian

This issue seems to have been resolved.
It seems that hacks like me, are no longer going to get away without setting up an actual testing server anymore. Never used one from CS3-->CS6 despite the nag screens.
Per Ray's advice, I set up a testing server using one of my unused/email-only domains. Once the first sync was complete, it lit up and now the learning begins.
there is a niggling issue with field focus on the WASB forms. You have to click back and forth a couple of times between fields to get them to accept keyboard input. Hopefully, this will get fixed soon.

Sign in to reply to this post

Ray BorduinWebAssist

You can just define the live remote server as the testing server. It doesn't actually have to be a testing server, you just have to tell Dreamweaver to use your live server as the testing server and that will work too. You can literally use the duplicate button to duplicate your remote server settings and use it as your testing server.

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

Orian

Good to know. Thanks

Sign in to reply to this post

dionysus224892

Hey Ray, I'm having the exact same thing happen. I remember it from a couple years back and it's all coming back to haunt me again.

Just like Orian, my DW (High Sierra/CS6) connects fine to server and separate PHP/mysql connection works. But I'm trying to update one section of a site to mysqli and the Database connection just can't be made because of that "unidentified error".

I know it's often some strange thing in the site definition but I wonder if you can see what it is cause I just can't see it even after a couple days trying various things.

Sign in to reply to this post

Ray BorduinWebAssist

This is usually a server redirect causing the site URL from your testing server in dreamweaver to not properly reflect the final URL.

So if you have your URL in your Dreamweaver testing server set to http://www.yoursite.com and if you put that in the browser it goes to https://yoursite.com then it wouldn't work because of the redirect. Try to copy/paste the url in your Dreamweaver testing server into a browser and then copy/paste it back to your Dreamweaver site definition to make sure that it is set to the final destination url. That will usually do the trick.

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

dionysus224892

Hey Ray.. thanks for getting back to me. This is a strange issue because you're correct, when the site is entered in a browser, it DOES go to https:// version.

How can I work around this is that's the case? How can I keep it all consistent (SSL) using the Webassist MYSQLI package?

Sign in to reply to this post

Ray BorduinWebAssist

Just update the testing server settings in Dreamweaver to specify the https:// location and it should work.

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

dionysus224892

If you mean putting https in the last field of the site setup (Web URL), then I had done that and no luck.

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