Support » Fixing WordPress » Header code blocking dashboard

  • dawnviola

    (@dawnviola)


    Hi Everyone – I was messing around with a no-right-click code in my header (before I knew WP doesn’t allow). All was fine until I tried to log into the WP dashboard — the page is blank, with only ?> showing up. The blog itself loads and functions just fine (although the same ?> appears at the very top of the page). http://www.dawnviola.com

    I know what I did wrong, I just can’t find the file in FTP to fix it. I’m using a template that, in the ePanel, allows me to insert code into the header automatically. The problem is I have no idea how it gets inserted or where (I know it’s in my header, but my header.php file doesn’t show the script I put in).

    I hope that makes sense? Basically, I just need to know which file the no-right-click code was inserted into so I can remove it manually via FTP — without access to the dashboard, it’s the only way to access.

    I’ve already tried loading my backup, which didn’t work.

    Thanks in advance for your help!
    -Dawn

Viewing 2 replies - 1 through 2 (of 2 total)
  • Christine Rondeau

    (@crondeau)

    Volunteer Forum Moderator

    It looks like the error is in your header.php on the very first line.

    The first thing that should be in the header.php is <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    I’m guessing that you inserted something at the top.

    If you haven’t messed around too much the team at elegant themes could provide you with the original theme you bought.

    dawnviola

    (@dawnviola)

    Thank you so much, Christine. I have the original files for the theme, so I’ll try replacing with that first. I really appreciate your help!
    -Dawn

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Header code blocking dashboard’ is closed to new replies.