Friday, April 2, 2010

CS4 does not display form in Design...

It appears that whenever I insert PHP code on a page with CS4, design view only displays the PHP symbol on the screen and nothing below it.?Everything worked fine in DW8.?The only way now to view the page is to upload it and browse to it.?Live view requires a testing server which I do not want to implement.?Any suggestions?

CS4 does not display form in Design...

It appears that whenever I insert PHP code on a page with CS4, design view only displays the PHP symbol on the screen and nothing below it.?Everything worked fine in DW8.

CS4 does not display form in Design...

David,

I appreciate very much your reply. The page in question does include an ''include'' statement but none of the offending statements that you suggest. I worked yesterday for several hours on a web site, at the beginning, I had this problem, later during the day, just for kicks, I displayed the page in design view and it worked like DW8, displaying everything. Guess what? I did make changes to the ''include'' modules code and, in fact, fixed a typo in one of the functions. So it appears that, besides those things you've listed, any errors in an included module causes this to happen. Thanks again, I've been scratching my head all night try to figure out why it all of a sudden started to display properly.

Regards, Eugene Wells

Date: Sun, 2 Aug 2009 11:53:01 -0600

From: forums@adobe.com

To: scprez75@hotmail.com

Subject: Dreamweaver Application Development CS4 does not display form in Design view if PHP code exists.

It appears that whenever I insert PHP code on a page with CS4, design view only displays the PHP symbol on the screen and nothing below it. Everything worked fine in DW8.

Without knowing what sort of code you're inserting, I can only guess what the problem is. But the fact that it worked fine in DW8 suggests that you're using include files. An include file should contain only snippets of code. It should not contain a DOCTYPE declaration and duplicate %26lt;head%26gt; and %26lt;body%26gt; tags. When the original file and its includes are put together, they should make up a single page with one DOCTYPE declaration, one pair of %26lt;html%26gt; tags, one %26lt;head%26gt; and one %26lt;body%26gt;.

DW8 still displayed the content of include files even if they broke this rule. CS4 is stricter. If the code is invalid, it's not displayed.

%26gt;

No comments:

Post a Comment