• OK.. I recently attempted to upgrade from WordPress 1.2 (or so I do believe) to 1.5 and am having a lot of issues. This is one of them:

    I unzipped the .zip Strayhorn file and extracted all. I proceeded to upload, and then it brought up several of those:


    <code> Warning: main(/home/unchaine/public_html/wp-includes/template-functions.php): failed to open stream: No such file or directory in /home/unchaine/public_html/wp-settings.php on line 41

    Warning: main(/home/unchaine/public_html/wp-includes/template-functions.php): failed to open stream: No such file or directory in /home/unchaine/public_html/wp-settings.php on line 41

    Fatal error: main(): Failed opening required '/home/unchaine/public_html/wp-includes/template-functions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/unchaine/public_html/wp-settings.php on line 41

    Now, I looked in the extracted files and they do not include a template-functions.php….. I’m kind of lost here. Help, anyone?

Viewing 11 replies - 16 through 26 (of 26 total)
  • Yes. What you do is put The_Loop in your main index page. There’s a whole buncha posts around about that – and this is the Codex page of info on The_Loop.

    Thread Starter Chelsea

    (@chelsea)

    OK. Thank you!! ??

    Good luck with it, report back, okay?

    I don’t think there’s any reason moving the blog to the root would have caused any errors.

    Did you move everything now? It looks like you need to change line 4.

    Well, if before the upgrade the WP files (and the blog) were in a subfolder and then you delet the files and upload the new ones in the root – without changing the home_url and site_url in the DB and try to upgrade… then you’ll run into troubles.
    BTW, I am not even sure the upgrade.php has ever been run, never was mentioned ?? just read the OP’s first post.

    Thread Starter Chelsea

    (@chelsea)

    I tried to run the upgrade.php – denied me access because of all the errors I was getting.

    I talked to a WP guru friend of mine this morning and she suggested replacing the wp-config.php file and configuring it all over again still using the same database. I just did that a few minutes ago, and it now works fine ?? Thank you guys for all the help though! It’s very much apperciated.

    Well, the wp-config.php file will not “configure it all over” – it’s just the file containing your MySQL connection data.
    I’d say: install the new version where the old one was, run the upgrade and if it works, come back and ask how to move it up.

    Thread Starter Chelsea

    (@chelsea)

    I installed it in a sub-directory (https://unchained-melody.net/wp/) and tried to upload the index.php to public_html. It comes up as a total blank, and when I deleted the index.php from the subdirectory, it didn’t do anything.

    I have the WordPress address set to (https://unchained-melody.net/wp/) and the blog address to (https://unchained-melody.net) I don’t see why it shouldn’t work.

    Open the index file in the wp directory – not in a theme!
    It should look like:
    <?php
    /* Short and sweet */
    define('WP_USE_THEMES', true);
    require('./wp-blog-header.php');
    ?>

    That’s all ??

    Now change this line as follows:
    require('./wp/wp-blog-header.php');

    You are good to go!

    Thread Starter Chelsea

    (@chelsea)

    Sorry I didn’t reply back sooner – but it does indeed work now. Thank you guys so much! I apperciate the help and support here a lot and wouldnt know what to do without it.

    That’s great, Chelsea! Glad to hear it’s working now.

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘Fatal Error doesnt make sense’ is closed to new replies.