Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Editing PHP files in Dreamweaver CS3 (MAC) then upload - Blank Page?

Blank page issue after editing PHP file in Dreamweaver.

5:17 pm on Mar 14, 2008 (gmt 0)

New User

5+ Year Member

joined:Oct 7, 2007
posts: 2
votes: 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!


11:53 pm on Mar 15, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:June 2, 2006
votes: 2

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?
6:56 am on Mar 17, 2008 (gmt 0)

New User

5+ Year Member

joined:Oct 7, 2007
posts: 2
votes: 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.


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members