homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

Editing PHP files in Dreamweaver CS3 (MAC) then upload - Blank Page?
Blank page issue after editing PHP file in Dreamweaver.

5+ Year Member

Msg#: 3600774 posted 5:17 pm on Mar 14, 2008 (gmt 0)

Hello all,
I'm in a bit of a quandary... I have a PHP script that I have edited in Dreamweaver CS3 on my PC at my office. I brought the script home and found later that I needed to edit the scripts more. So I opened the PHP files in Dreamweaver CS3 on my Mac made the edits, saved and uploaded the files. When I go to view the page in the browser, the page is blank... Now the edits aren't anything major, one of them was as simple as editing some text in a language.php file. When I save it from Dreamweaver and upload it, ALL of the text on the site disappears.

Not to throw a wrench into it, but when I edit the same language.php file in my regular Text Editor, save it and upload it, the page displays fine...

I CAN however edit the style.css file in Drwamweaver CS3 on my Mac and those style edits show up fine...

Is there a setting in Dreamweaver CS3 that would cause a PHP file to not display in a browser properly? A code rewrite or something? I'm really up at arms with this and am in need of some direction as to what may be causing this issue... Any help would be greatly appreciated!




WebmasterWorld Senior Member 5+ Year Member

Msg#: 3600774 posted 11:53 pm on Mar 15, 2008 (gmt 0)

I guess you could try viewing a source code of a "blank" page, once you upload it. Is it really blank, or it just does not execute properly?


5+ Year Member

Msg#: 3600774 posted 6:56 am on Mar 17, 2008 (gmt 0)

I found it...The issue was this...
In the DW CS3 Preferences on my Mac my Line Break Type was set to CR (Macintosh) and it needed to be set to either Unix or Windows... That was it. I tested both Unix and Windows Line Break Types and they both worked...

See this link in Adobe LiveDocs for a little more info.

Line Break Type
Specifies the type of remote server (Windows, Macintosh, or UNIX) that hosts your remote site. Choosing the correct type of line break characters ensures that your HTML source code appears correctly when viewed on the remote server. This setting is also useful when you are working with an external text editor that recognizes only certain kinds of line breaks. For example, use CR LF (Windows) if Notepad is your external editor, and use CR (Macintosh) if SimpleText is your external editor.
Note: For servers that you connect to using FTP, this option applies only to binary transfer mode; the ASCII transfer mode in Dreamweaver ignores this option. If you download files using ASCII mode, Dreamweaver sets line breaks based on the operating system of your computer; if you upload files using ASCII mode, the line breaks are all set to CR LF.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved