Support » Themes and Templates » Problem Installing WP Theme

Problem Installing WP Theme

  • When I install a theme designed for WordPress, I get this error message: “Fatal error: Call to undefined function: get_header() in /home/webmentor/www/www/index.php on line 1”

    I have tried this several times, each time with a theme I picked up through the WP website. WP works fine with the theme that was incorporated in the original installation.

Viewing 13 replies - 1 through 13 (of 13 total)
  • exactly same problem with me
    as i installed WP for the very first time but when i uploaded theme files on site and try opening site this message comes up

    Fatal error: Call to undefined function: get_header() in /home/pokertip/public_html/index.php on line 1

    Site is http://www.PokerTipping.com

    can any one please Help Both of us out
    I hope there are lots of Lovely People out there who would love to help us

    Both of you broke the index.php. At that level in your wp installation the index.php should only contain:
    /* Short and sweet */
    define('WP_USE_THEMES', true);

    No get_header(). I suggest you replace whatever’s there with the correct one from the installation zip.

    I browsed around and found the way to do it 🙂
    Hey “ctate1” i will tell u how its done

    once u unzip a theme on ur PC , just upload the folder (along with all files in it) to ur Root>>wp-content/themes directory.

    once u finish uploading it

    just log in to ur sites admin panel and click Presentation and u will see the Theme Thumbed image there, click on it to install

    thats it ,

    i didn’t broke it infact upload the them files on root
    so it replaced index.php file now all sorted out

    hoping for a bright future in blogging LOL

    See the new theme there http://www.PokerTipping.com

    i didn’t broke it infact upload the them files on root
    so it replaced index.php file now all sorted out

    Musta been someone else… A burglar!


    i meant was not my intention 🙂

    but Yosemite deserve a BIG THANKS really

    for atleast looking here and trying to help us

    Thanks buddy


    Um – I’m having same problems but haven’t found how you guys resolved it. When you say login to your site admin (which I did) and look for presentation – I do not see presentation! Can some one please help. I just want to design my own wordpress theme and be able to view it properly!

    lovelylovely treats the terminology too freely…

    If you have a website hosted – the host usually offers some kind of site administration panel, like cPanel, Plesk etc.

    This is NOT the same as your (WP) blog’s admin panel! And the “Presentation” menu is in the WP admin panel, not in the site admin panel.
    So, login to your blog > and you will see the Presentation menu.

    Now, if you seriously want to get into the theme design business… you should forget the online editor, just design your theme offline, upload it, select it in the Presentation and you are good to go.

    See also the possibility of installing it locally for design purposes: http://codex.wordpress.org/Getting_Started_with_WordPress#Installation

    Hi Moshu! Thanks so much! It worked!!!

    Oh one more question… How can you preview your design offline? I try and I get error…

    It depends what do you mean by “offline”?
    Yes, I have a local installation on my computer here and I can preview all my design.
    Otherwise it’s impossible.

    If you want to upload a theme to your online installation AND seeing it without letting the visitors to know about its existence – use the Preview Theme plugin:

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Problem Installing WP Theme’ is closed to new replies.