Microsoft Expression Web breaking PHP file in wordpress template

Posted on 2009-12-23
Last Modified: 2013-12-13
I'm attempting to use this wordpress template:

I've used this template successfully in the past.  However, right now I'm editing in Microsoft expression web and I'm running into a problem.  Everything works fine, but if I open up header.php in expression web, change something (just add a space, remove it, save) it breaks the file and the page is no longer centered in IE8.  The file does become a very slightly different size, but winmerge says it is identical to the original.  This does NOT happen if I edit in notepad, but I can't seem to track down what expression web is doing to it (or why) and I've never had problems with expression web in the past.  

A couple other things worth noting:
-Once the file is broken it seems broken for good - pasting it into notepad and resaving does not fix it and the only noticeable difference is that it retains the line breaks from expression web (when originally opening it in notepad there are no line breaks).
-Even if I paste the original working code, from notepad into the broken file in notepad, it's STILL broken.

Any insight into this problem would be very helpful.  I've attached the original file and the broken file as well.
Question by:collages
    LVL 4

    Accepted Solution

    What version of Expression Web are you using?  There have been known problems with PHP and Expression Web 1.  
    LVL 1

    Author Comment

    The version reads: Microsoft Expression Web (12.0.4518.1014)
    LVL 1

    Author Comment

    It looks like my version is the original version of expression web.  I do see some things here and there about this version and PHP problems, and version 2 states that it has "PHP support".  I guess this is the source of my problems and I will need to upgrade.
    LVL 1

    Author Comment

    I've downloaded the trial of expression web 3, and it does not break the file so I'm good to go now.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    I had to do a bit of research to find the answer to this question so I thought I'd share my results.  Due to our outdated mainframe systems, we need to downgrade IE9 to IE8 in order to stay compatible.  We also needed to downgrade Java.  In order to…
    Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
    The viewer will learn how to dynamically set the form action using jQuery.
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now