• WIERD. I had everything working ok, until I tried installing a few PlugIns. Then I got “Header” errors only to find that I had an empty line (before the opening <? tag) at the top of the page of my index.php file. I removed it, and what happens, now I get Page Cannot be FOund when trying at access WP. UGH!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter kpizme

    (@kpizme)

    OK. Im no longer sure its the index file as if I take out the leading blank line and just have this as a test all works.

    <?
    Print “TEST”;
    ?>

    So, the whole empty line issue is a mistery. Could it be a problem with the wp-blog-head.php file?

    Thread Starter kpizme

    (@kpizme)

    Still haven’t figured this out. I did a search and found some interesting related information, but I dont think any of it applied directly to my problem. I have now started to focus my attention away from the index.php file and more on wp-blog-head file.

    Re-upload the index.php file from the original WordPress archive on this site and try it. If it still doesn’t work, start removing plugins until it does. If it starts working, then the last plugin you removed has a blank line in it that needs to be fixed.

    Any PHP code should start with <?php not just <? – you never know when something’s going to change and the short-style tag will break.

    Thread Starter kpizme

    (@kpizme)

    Thanks for your response Rusty. Typically speaking your right regarding the <? as opposed to <?php depending on the version of PHP used. In my case, <? alone is sufficient.

    The problem ended up being resolved based on this recommendation: https://www.ads-software.com/support/topic.php?id=27886 that I cane across just now doing additional searches.

    I don’t know how I missed it the first time. It may very well be a Plesk issue, s I have had many other issues related to Plesk, outside WP. If it were my choice, I would be on UNIX with control Panel, but unfortunately, I get to deal with Windows/Plesk. LOL!

    Anyway, thank again for your time and input. I’m now happily WP’ing!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Windows Server Issue’ is closed to new replies.