• I have been trying to upload WordPress files using Filezilla.
    When I go to view my page I get this error:

    Fatal error: Call to undefined function: get_header() in /home/content/l/a/d/ladywinfall/html/index.php on line 2

    I don’t know how to view the html code so I can’t make any changes to it. Can anyone help?

Viewing 1 replies (of 1 total)
  • what is the url to your wordpress blog?

    /home/content/l/a/d/ladywinfall/html/index.php

    that file should NOT be a theme index.php, it should have ONLY this inside it:

    <?php
    /* Short and sweet */
    define('WP_USE_THEMES', true);
    require('./wp-blog-header.php');
    ?>

    If you are changing out that file completely, or making changes to that file, you dont understand what you are doing and are best advised to read through some of the documentation (its linked at the top of ALL pages on this domain).

    If this is a brand new fresh upload of files — you didnt upload them according to how they unpacked — there is a very distinct directory structure, and it exists for a purpose.

Viewing 1 replies (of 1 total)

The topic ‘Neee help with Fatal Error’ is closed to new replies.