Skip to:
Content
Pages
Categories
Search
Top
Bottom

DOCTYPE whitespace

  • Avatar of harryko
    harryko
    Participant

    @harryko

    Hi,
    I’ve a problem whit buddypress 1.7 and older version.
    I’ve wordpress 3.5 install and no other plugin(fresh install).
    When I activate buddypress it add a whitespace above DOCTYPE.
    I’ve an error in IE9 and all my site is break only in IE9.
    I use different theme, custom like buddyboss, and Twenty Ten from wordpress.
    Allways the same a damned whitespace is add above DOCTYPE declaration.
    If someone can help me.

    Thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • Avatar of Henry
    Henry
    Participant

    @henrywright-1

    the DOCTYPE declaration is usually in your theme’s header.php file. Try looking at that first to see if you can remove any spaces at the very top of the file.

    Avatar of harryko
    harryko
    Participant

    @harryko

    Hi
    Thanks for your answer
    nothing in my theme’s header, always the same error even if i change my theme….

    Avatar of Henry
    Henry
    Participant

    @henrywright-1

    Humm, all I can think of is your functions.php and bp-custom.php. Make sure any white space is removed from the top of these files.

    Perhaps before you do anything else, try reverting to the default theme and disabling all plugins. Then once the problem has gone, work backwards, first by activating your plugins one at a time. Then activate your custom theme. This is probably your best bet to catch the culprit.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.