• Resolved lexavision

    (@lexavision)


    Hi,

    I have installed WP 2.7.1 on my server. I now need to upload my blog files (images,.php’s) to the wordpress directory.

    1. Which directory do I upload the filed to?
    2. If I up load to the root I get
    Fatal error: Call to undefined function: get_header() in /home/lexasnm/public_html/snmblog/index.php on line 1

    This errors on all fuction calls in the index.php file.

    Any help would be greatly appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I am taking a guess that by

    I now need to upload my blog files (images,.php’s) to the wordpress directory.

    you mean a WordPress theme.

    Themes go in /wp-content/themes/ put the entire folder of your theme in the /themes/ folder the images go in a folder within your specific theme named /images

    the error message says you loaded your theme folder into the wordpress install folder. There is a file in your theme named index.php There is a file in the WordPress root folder named index.php They are not at all the same file. It appears you loaded your theme in the WordPress root folder, and that the theme’s index.php has replaced the necessary WordPress index.php If you don’t have a copy of the original WordPress index.php file you will need to reinstall the WordPress files, or at least the original index.php as your site will not work until you do.

    Thread Starter lexavision

    (@lexavision)

    Thanks stvwlf,

    I uploaded the files a in the /wp-content/themes/ directory, making a images directory for the images. I saved a copy of the original index.php in the root so that is back in there.

    There’s something I’m missing here because when I open the blog in the browser it displays the default index page. Apparently, not using any of the uploaded files.

    Sorry, new to WordPress. Would this be a config issue?

    Thanks!

    Hi

    I am not following what you are saying. When you correctly install a theme there is no need to make an images directory since all themes contain image directories already.

    You are not supposed to touch a theme folder at all. You upload the entire theme folder, exactly the way it is, with all files and enclosed folders still inside it, into folder
    /wp-content/themes/ Do not take anything out of the theme folder.

    You might want to start over. (the database should be OK).

    upload the WordPress 2.7.1 files again.

    Then upload your theme folder into folder wp-content/themes

    if you do this correctly, when you are done you will already have a folder /wp-content/themes/{themename}/images that contains the image files for the theme itself.

    After that, try starting your site again.

    Thread Starter lexavision

    (@lexavision)

    Got it!!

    Thanks a bunch stvwlf.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Upload blog files’ is closed to new replies.