• Resolved jelly

    (@jelly)


    I have a problem getting my kubrick-based site to validate (uri: https://laugesen.org/wordpress/). The problem is, that somewhere in the parsing, something puts an illegal character in the very beginning of the code:
    “Line 1, column 0: character “” not allowed in prolog

    ?????????<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www&#8221;

    – does anyone have an idea which file to look at?

    (the problem only occurs in the theme that is active – I suppose it’ll be in one of the files in the theme-folder?)

    ?? Jesper

Viewing 16 replies (of 16 total)
  • blndcat

    (@blndcat)

    I’ve just gone through solving the same problem. I tried everything including upgrading from 1.5.1 to 1.5.2 but it didn’t solve the problem.

    What did was to check *BOTH* header.php and index.php (of the theme) for the BOM. Because index.php calls <?php get_header(); ?> so if index.php has a BOM then what gets generated is
    <BOM><!DOCTYPE…
    even if header.php doesn’t have a BOM

Viewing 16 replies (of 16 total)
  • The topic ‘another validation problem…’ is closed to new replies.