Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Testing Server Running, Pages Are Blank

New Here ,
Jun 30, 2011 Jun 30, 2011

Copy link to clipboard

Copied

Hello,

I originally posted this in "Dreamweaver" but I think I should have placed it here...

I am new to PHP and to Dreamweaver. The first two years of my experience are with VS 2010 and ASPX.

That being said I have developed a working php script that I have hosted on a server and it is running smoothly. However, when accessing the site through dreamweaver I am having issues.

First of all I have DW on my mac and my pc, lets start with my mac.

I downloaded, installed, and set up MAMP. Both the apached and mysql lights are green. I also have my database for my script in my phpadmin within mamp. All of the files hosted on my site (where everything runs smoothly) are also on my local drive and are being pointed to for my new site in dreamweaver. Upon opening a page, say index.php I then create the MySQL connection and it works. I connect to my local server and can view all of my tables etc...

Now, any php page that I open in DW will only show up in code view, whenever I try to view it in design view I get a blank page. When I try previewing in browser the testing server appears to be working, however I am also seeing blank pages. I am not getting error messages in safari when I preview in browser. Just blank pages.

The message that DW gives when I click design view and see a blank page is this: "This page may have dynamically-related files that can only be discovered by the server."

Does anyone know what I am doing wrong? I am almost 100% positive that my local server is set up correctly considering I made mySQL connection through dreamweaver and it worked. Also, I pointed my server/host folder directories to the folder on my drive containing the same identical folders I have hosted remotely, and sure enough they pull up in DW. So, I seem to be connected to my files and to my DB, but how come I can't work in design view or preview in browser?

Now, onto my PC. I installed DW and I downloaded XAMPP. I need to run DW on both machines as my pc is a laptop for when I am on the go, and my MAC is a desktop for my office. I have been trying to watch XAMPP videos but they have been outdated and I am not even sure if mine has installed correctly. Anyone ever used XAMPP on a pc and set up  a testing server that functioned with php driven content in DW?

Thank you in advance for your time and help!

Regards,

Keller Tiemann

TOPICS
Server side applications

Views

652
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 30, 2011 Jun 30, 2011

Copy link to clipboard

Copied

Just opened up another site I am working on that isn't PHP driven. It is strictly html and css at the moment. It is running smoothly on my testing server that I created with MAMP on my Mac. Just wanted to share this information to confirm that my testing server is set up correctly.

Thanks

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 30, 2011 Jun 30, 2011

Copy link to clipboard

Copied

LATEST

kellertiemann wrote:

Now, any php page that I open in DW will only show up in code view, whenever I try to view it in design view I get a blank page. When I try previewing in browser the testing server appears to be working, however I am also seeing blank pages. I am not getting error messages in safari when I preview in browser. Just blank pages.

See Why are my PHP pages blank? in the http://forums.adobe.com/thread/429114http://forums.adobe.com/thread/429114.

If I recall correctly, by default MAMP sets display_errors off. You need to edit php.ini to turn on the display of errors.

Now, onto my PC. I installed DW and I downloaded XAMPP. I need to run DW on both machines as my pc is a laptop for when I am on the go, and my MAC is a desktop for my office. I have been trying to watch XAMPP videos but they have been outdated and I am not even sure if mine has installed correctly. Anyone ever used XAMPP on a pc and set up  a testing server that functioned with php driven content in DW?

I have written a tutorial on setting up both MAMP and XAMPP in conjunction with Dreamweaver. See: http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html.

There are some strange quirks with XAMPP 1.7.4 (at least on Windows 7 64-bit). If you have problems, it might be worth uninstalling 1.7.4 and using the previous version (1.7.3) instead.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines