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

DW CS4 - Design/Live view not available with PHP

Community Beginner ,
Feb 22, 2010 Feb 22, 2010

I am working with PHP documents but both Live View and Design View are grey and unavailable with PHP documants open. I am using MAMP and have set up local info and testing server in the site set up dialog several times myself and with the help of some web search with no difference. Any thoughts on what may be some things to check would be greatly appreciated.

TOPICS
Server side applications
1.0K
Translate
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

correct answers 1 Correct answer

LEGEND , Feb 22, 2010 Feb 22, 2010

Have you changed your preferences to open PHP pages in Code view?

In the File Types/Editors category of Preferences, if you add .php to the list of file name extensions in "Open in code view", it disables Design view and Live View for that type of file.

Translate
LEGEND ,
Feb 22, 2010 Feb 22, 2010

Check that you have your site definition set up correctly. See http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php_05.html.


Translate
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
Community Beginner ,
Feb 22, 2010 Feb 22, 2010

yes that is actually one of the resources that i had foundand had gone through, a couple of times. it seems pretty basic, could there be some sort of setting elsewhere that may be affecting it?

local.png

testing.png

Translate
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 ,
Feb 22, 2010 Feb 22, 2010

Is Apache running? Did you change the ports in MAMP to use the Apache and MySQL defaults? http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php_03.html#test_mamp.

Translate
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
Community Beginner ,
Feb 22, 2010 Feb 22, 2010

yes the ports are changed to 80 and 3306. if i do a preview in browser it comes up fine, just can't get the design and live view buttins working.

views.png

Translate
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 ,
Feb 22, 2010 Feb 22, 2010

Have you changed your preferences to open PHP pages in Code view?

In the File Types/Editors category of Preferences, if you add .php to the list of file name extensions in "Open in code view", it disables Design view and Live View for that type of file.

Translate
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
Community Beginner ,
Feb 22, 2010 Feb 22, 2010

Bingo! I don't remember changing that but i suppose that it is a possibility. I removed ".php" from the list and the problem is solved. Thank you very much for your help.

Translate
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 ,
May 17, 2010 May 17, 2010
LATEST

Hoooo Leeeee Moe Leeee...

QUOTE"

Have you changed your preferences to open PHP pages in Code view?

In the File Types/Editors category of Preferences, if you add .php to the list of file name extensions in "Open in code view", it disables Design view and Live View for that type of file.

"

I can not believe I searched for over 30 minutes to find out that adding .php to this field; disables one of the ONLY reasons I purchased CS5.

Just for giggles, why would it be designed like this? "Open in code View" = a prefrence to what screen type you see, not, "I want to disable CS5 to pre CS2 version"...

Well, just my two cents.  Now that I know, I will never do that again... So, Next question.  Is there a way to make Dreamweaver by default open in code view, without setting the tempting box to do it for you?

Thanks ahead of time. By the way, I am greatful that someone has the answers! and I am glad that person is you sir = Enter the Adobe Expert.

Translate
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