Skip to main content
redlilac78
Participating Frequently
September 9, 2017
Question

Dreamweaver CC and MYSQL

  • September 9, 2017
  • 2 replies
  • 8897 views

I have been using Dreamweaver for the past 7 years CS5 on a Mac and just recently updated to Adobe Cloud and my entire site broke. I am currently using localhost because I don't even dare wanna see what it does to a live site if it's breaking local host at the moment. I use MAMP for this localhost process. It's come to my attention that server behaviors and stuff like that have been removed here because they "recommend" you use something else or some other way. Pages show up completely fine until it's asking for any information from my localhost MYSQL sever. No coding has changed at all, yet once I remove all of the recordset code (which yes was used from the server behavior tabs and stuff but I know how to write myself) the page shows completely fine yet now I have a broken page. I'm unsure if I'm just overlooking something completely obvious or if I'm pretty much at the point to find a new program to use or a new way to do it. Thing is, I don't know WHAT I should even do next. My live site (which hasn't touched adobe cloud at all yet) still runs completely fine, so I'm unsure what the problem completely is, but would love some feedback or even someone I can put my head together with to figure this out because I've gone 2 days completely stumped.

This topic has been closed for replies.

2 replies

BenPleysier
Community Expert
Community Expert
September 9, 2017

The Server Behaviours panel has been left out of all Dreamweaver CC products because it produced outdated code, namely, code that was not PHP7 compliant.

If you are still using an outdated PHP version and you want to resurrect your development environment then (I'll make it brief) follow these steps.

  1. install Dreamweaver CC2015 (this will not work with CC2017)
  2. install the Extension Manager from DMXzone
  3. install the Server Behaviours panel from DMXzone

Note: There is no need to uninstall CC2017.* because the two versions will sit nicely on your system, albeit not run concurrently.

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Legend
September 9, 2017

I'm not sure what you mean by 'broken your site'. Code is code - a program wont break it, unless you do something which results in it breaking. You won't be able to use DWCC 2017 (out-of-the-box) going forward for dynamic mysql/php development, unless you can write your own code, as the outdated server behaviours have been removed.

However you should be able to edit the rest of your code in DWCC 2017 and then view the page/s by typing its address into a broswers url field:

localhost/name_of_your_site_folder/name_of_your_file.php

Obviously this is no help if you want to add additonal dynamic mysql and php functions to the site like getting results from your database BUT DW 2017 has not broken your site, its just not going to be of any help to you, as it was in past versions, if you want to create database driven sites.

As Ben has suggested you either need to drop back to DW CC2015 or if you dont want your site to break in future you need to convert your outdated msql code to the new improved mysqli code or PDO.

redlilac78
Participating Frequently
September 9, 2017

When I was saying break I meant that any page which connected to my database just showed a white screen instead of any content from my site. You you're saying to convert my mysql to mysqli, but would I also have to do something with the PHP since its apparently not compliant?

Ten A
Community Expert
Community Expert
September 9, 2017

Moved it from Creative Suites to Dreamweaver support forum.