Forums

supposed error with default theme get header function? (3 posts)

  1. AdviceB
    Member
    Posted 4 months ago #

    Hi all, hopefully someone can help me.

    I decided to use the default theme for a blog I created. The only things I did to it were to change the header by uploading another image and change the background and text colours in the style.css.

    I have uploaded it to my site, however I get the following error:

    Call to undefined function get_header() in /home/vhosts/advice.6te.net/default/index.php on line 1

    I'm not sure what I've done wrong. If someone could clearly explain a way to figure out the problem (or better yet what to do to fix it directly) I'd much appreciate it.

    Oh and I ran the html through a validator and it says that the attribute role is not an attribute and asks if I meant frameborder or scrolling. Just thought this was worth a mention as it's line after the get header function.

    Many thanks.

  2. samboll
    moderator
    Posted 4 months ago #

    just re upload the theme file(s) you changed
    with the default theme can't you do what you want in the dasboard under the "Appearance" tab? The Kubrick header options

  3. AdviceB
    Member
    Posted 4 months ago #

    The theme seems to work fine under localhost - the problem occurs when I upload it to the host site. I've already reuploaded it 3 times and still get the same problem. I thought about changing it in the appearance settings but I wasn't sure that would change it when I then uploaded it to my host site.

    Perhaps I'm uploading it wrong? (total newbie sorry). I assumed that by uploading all the files (php, css, db) and images I have to the host site, it would (theoretically) be the same as how it appears in localhost?? All the files are in root of the host site, they don't need a special file name etc. to work for this host.

    Hope that sheds some light. Thanks for replying Samboll.

Reply

You must log in to post.

About this Topic