There is some type of space or character before your DOCTYPE. On your current them, go to your header.php and remove any space before <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0…
Did you open/edit your header.php
?
Thread Starter
jelly
(@jelly)
@exploding-boy: If only it was that simple 🙂
I’ve already checked if that was the case – and it isn’t… I’ve even replaced the file in it’s enterity, using c/p via notepad to eliminate all possibilities of a ‘invisible’ sign to be transfered on…
Thread Starter
jelly
(@jelly)
@moshu: yes – the theme is build on a localised version of kubrick
No solution for this one? 🙁
I have the exactly same problem, but not just with the first line, in the body text too.
http://validator.w3.org/check?verbose=1&uri=http%3A//tobiasbergius.se/blogg/
There’s nothing before the doctype and I’ve tried both UTF-8 and UTF-8 without BOM.
Why doesn’t it work?!
Moderator
James Huff
(@macmanx)
Volunteer Moderator
Check the theme’s header.php file for blank spaces or odd characters before the !DOCTYPE tag. If it looks fine, see if disabling all plugins creates any improvement.
tobbaz – what program are you using to edit your files ?
If it is anything made by Adobe or Macromedia, they are very probably causing the problems.
Thanks for quick replies.
macmanx: No characters before the doctype. No difference when disabling all plugins.
podz: Notepad++
Can you post just that part of your file over at http://www.phpfi.com ?
Nothing wrong……
We’ve seen these ‘prolog’ problems here before, but with feeds. And with those we can never establish what the problem is – but for some reason it literally just goes away. I have had this with my feeds before too – and they are fine now. It took a couple of days to go away.
Before your page actually outputs to the screen, the code goes through any number of files so I guess one of them is choking on something strange but it’ll clear it’s throat soon. The only consolation being that those are the only 2 errors and your page does otherwise validate.
Yah, I had the same problem with my feed too. And it just went away. So I guess I’ll just wait then. 🙂
Thanks for you help. 🙂
Moderator
James Huff
(@macmanx)
Volunteer Moderator
Check for any strange characters before <?php
in the index.php file in your blog root (not your theme’s index.php file).
Thread Starter
jelly
(@jelly)
thanx for the help so far – Even though my problem persists…
@podz: using ultraedit
@macmanx: no strange characters in root/index.php
… I guess I have to wait a few more days to see if it’ll pass??? (the absolute strangest advice on how to deal with a software problem I’ve received so far 😉 )
Thread Starter
jelly
(@jelly)
FYI: the problem disappeared after updating to WP 1.5.2. 🙂 Jesper