close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Error: The files from the _mmServerScripts folder are for the server model PHP-MySQL...

Thread began 9/20/2016 7:39 pm by art226587 | Last modified 4/24/2017 1:34 pm by Ray Borduin | 602 views | 11 replies |

art226587

Error: The files from the _mmServerScripts folder are for the server model PHP-MySQL...

I'm getting this error message in DW CC any time I try to add a connection to a php page:

"The files from the _mmServerScripts folder are for the server model PHP-MySQL. Try to connect to the database using a different server model..."

I already have the Server Behaviors and Database Bindings mumbo-jumbo installed and can see the my existing connection in the panel, but my database doesn't show any tables even though there are dozens.

If I ignore this and try to launch DataAssist Pages, I get the attached error. It seems like a DW problem, not a DA problem, but I can't even begin to use DA until I get this resolved. Anyone know how to fix this?

Sign in to reply to this post

Ray BorduinWebAssist

If you send me your site definition .ste file exported from Dreamweaver I can try to reproduce the problem and figure out the cause.

Sign in to reply to this post

art226587

Hi Ray, your reply got me thinking and so I moved my db tables to a fresh site in DW and everything is working as expected. I was able to create a db connection, open a blank php form page and use the DA Pages wizard. Where would I start to debug the old site? Would it help if I trashed the _mmServerScripts folder on local and remote and replace them with the ones from the new site?

Mind you, I'd used WA scripts on the old site for many years, but haven't tried using the latest extension again until very recently, when I ran into this trouble. Thanks, Art

Sign in to reply to this post

Ray BorduinWebAssist

It is probably an issue with the site definition. Make sure you have a testing server set up and that the root folder and url are set correctly.

Sign in to reply to this post

art226587

Hi Ray, I'm still getting the above screenshot error on one of my sites in Dreamweaver when trying to use DataAssist Pages.

Sign in to reply to this post

Ray BorduinWebAssist

It seems like it could be an issue with the FTP permissions. I can't seem to download some files on the server. If Dreamweaver is unable to update the files in the _mmServerScripts folder it would cause the error you are getting. The site definition doesn't look wrong, but It doesn't work for me in CC2017 either, and I did notice the other FTP restrictions on some files.

Sign in to reply to this post

art226587

Hi Ray, could you elaborate on what file permissions the _mmServerScripts folder should have? Right now it's set to 755 whereas the files inside are all set to 664. This is the same for the webassist folder. The owner is the same for all and is the main account I use to connect and work on the site (that's also what's used in the site definitions.

I've tried deleting the _mmServerScripts folder on the server and creating a fresh, clean copy, but that doesn't help. I've got a few other domains hosted at the same company that I've successfully used WA scripts on, so it's very frustrating for it not to work on this one domain.

Sign in to reply to this post

Ray BorduinWebAssist

I think I figured out the problem.

1) You have the server set to: http://www.omagonline.com/ but the server has an automatic redirect to: http://omagonline.com/
Try setting the Web URL for the testing server to just: http://omagonline.com/

2) You have included a port number in your connection server. Try removing that as well.

When I made those two changes I was able to connect to your database and see the tables.

Sign in to reply to this post

art226587

Hi Ray, I did what you suggested and was able to connect! I tested it on a small insert/results/update set of forms and everything worked smoothly. Thanks so much for your help, you're a life saver!

Sign in to reply to this post

art226587

Hi Ray,

One last question about this. I'm trying to clean out that server and am seeing what look like older versions of WebAssist code that are probably not being used any more. Can you tell me if these directories are safe to discard if I'm now only working with projects created using the latest WebAssist extensions?

/WA_DataAssist/
/WA_ValidationToolkit/
/WADbSearch/

I've spot-checked the new code and all I can see is references to files within the 'webassist' directory, so I figured it was okay to delete these old folders. I just don't want to find out that things have stopped working because they were actually still being used. Thanks in advance!

Art

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