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

Coding PHP in DWCS5: no design view & DB connection panels grayed out

New Here ,
Feb 03, 2011 Feb 03, 2011

All,

This is fairly urgent.  I'm working with Dreamweaver CS5 and am having issues working with PHP files.  I have confirmed that I have PHP and MySQL installed an working properly.  When I open a PHP file, it opens in code view and I can't use design view (grayed out).  Also, the code is all black - no color coding.  The Databases, Bindings, and Server Behavior panels are grayed out and I can't access them to make a database connection.

I have already tried modifying the Extensions.txt file, as well as the XML file that determines what extensions Dreamweaver recognizes.  Nothing has helped.

Has anyone run into this issue before?  Any and all help is greatly appreciated.

Thanks!

Ike 

TOPICS
Server side applications
492
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 03, 2011 Feb 03, 2011

What extension does the php file have? Can you post an example of the code from a problem page? Is it possible there's something on it that DW doesn't like?

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 ,
Feb 03, 2011 Feb 03, 2011
LATEST

bregent,

Thanks for taking a look at this.  the file uses the .php extension. 

Here is the very complex code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Untitled Document</title>

</head>

<body>

Welcome to CW.com 2.0 - IIS

<?php phpinfo(); ?>

</body>

</html>

thanks!
Ike1492

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