WordPress.org

Ready to get started?Download WordPress

Forums

attempted upgrade to 1.5 (24 posts)

  1. hjem
    Member
    Posted 9 years ago #

    I got these errors after upgrading:

    Warning: main(/home/.narkis/jorahorg/jorah.org/treasure/wp-includes/wp-db.php): failed to open stream: No such file or directory in /home/.narkis/jorahorg/jorah.org/treasure/wp-settings.php on line 39

    Fatal error: main(): Failed opening required '/home/.narkis/jorahorg/jorah.org/treasure/wp-includes/wp-db.php' (include_path='.:/usr/local/lib/php') in /home/.narkis/jorahorg/jorah.org/treasure/wp-settings.php on line 39

    And a 404 when I try to go to any of the admin pages.

    Er? What's wrong?

    Hjem

  2. darkcanuck
    Member
    Posted 9 years ago #

    This happened to me too (upgrading from a 1.5-beta). You need to use the new index.php if you're already using themes. WP1.5 needs to see:
    define('WP_USE_THEMES', true);
    before including wp-blog-header.php

  3. hjem
    Member
    Posted 9 years ago #

    I have the new index.php and it does say define('WP_USE_THEMES', true);

  4. hjem
    Member
    Posted 9 years ago #

    Ah, that problem solved. Not all the files made it over the first time. So now I checked and I'm 97% sure they're all there but I'm getting a NEW error when I open the admin panel:

    WordPress database error: [Unknown column 'autoload' in 'field list']

    When I try to open my blog, it's just blank.

  5. darkcanuck
    Member
    Posted 9 years ago #

    Make sure you run the upgrade.php script (in your wp-admin folder I think). It will make sure that the database has all proper fields set up. This one got me too...

  6. hjem
    Member
    Posted 9 years ago #

    Ok, I did that and the errors disappeared, but my blog is still completely blank! Not even a 404 not found!

    http://www.jorah.org/treasure to see for yourself what I'm talking about.

  7. darkcanuck
    Member
    Posted 9 years ago #

    Very strange - I just checked your site, blank on the URL you gave (not even a 404). Can see your wp-login screen, so that's ok. Surfed to your wp-contents directory and noticed that you don't have a themes subdir! You need this for WP to load your theme (or the default if yours isn't setup).

    If you're not using themes, you should use your old index.php instead of the new one (I think)...

  8. hjem
    Member
    Posted 9 years ago #

    Well, we're a step closer! Now it shows, but with some errors again:

    Warning: main(/home/.narkis/jorahorg/jorah.org/treasure/wp-comments.php): failed to open stream: No such file or directory in /home/.narkis/jorahorg/jorah.org/treasure/index.php on line 55

    I tried re-running the instal, but that didn't help this time.

  9. darkcanuck
    Member
    Posted 9 years ago #

    Ok, that's a good start! Your install is looking for wp-comments.php which no longer exists in 1.5. Have you looked on http://codex.wordpress.org for instructions on how to migrate?

  10. darkcanuck
    Member
    Posted 9 years ago #

    Whoops, Codex is down but Podz has an upgrade tutorial on his site:
    http://www.tamba2.org.uk/wordpress/upgrade/

    It explains how to convert your site to use themes - pretty straightforward.

  11. hjem
    Member
    Posted 9 years ago #

    I've gone through that and I still have errors. I'm about ready to give up and start over with another blogging system. Grrr.

  12. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Yo do seem to have hit a rough patch here.
    If you could describe what the issues are now, we'll help as much as we can.

  13. protechs
    Member
    Posted 9 years ago #

    What now? Should the newly modified comments phps be put anywhere except in the wp-content/themes/Carrots folder
    I've read thru the above. I've made files according to http://www.tamba2.org.uk/wordpress/upgrade/
    and they seem to all be in place. I put back my old index.php in the main blog folder since the new one I modified is back in the Carrots folder back in themes/Carrots along with the other 3 files we modified:
    index.php
    comments.php
    comments-popup.php
    style.css

    I did forget about the plugins part - but I have never dealt with those or changed the default from the original install from last November.

    Ran upgrade.php and the site layout, etc. looks OK on the index page (fonts for group headers is Huge now).

    The theme is OK it appears. The posts/graphics seem OK, but there is that comment error group at the top of most posts (except the last one --top of blog).

    I get the same comments errors at the top of every post and the comments that go with the post and the comment window is not there.

    Warning: main(/home/whyjohn/public_html/blog/wp-comments.php): failed to open stream: No such file or directory in /home/whyjohn/public_html/blog/index.php on line 122

    Warning: main(/home/whyjohn/public_html/blog/wp-comments.php): failed to open stream: No such file or directory in /home/whyjohn/public_html/blog/index.php on line 122

    Warning: main(): Failed opening '/home/whyjohn/public_html/blog/wp-comments.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/whyjohn/public_html/blog/index.php on line 122

  14. lawtai
    Member
    Posted 9 years ago #

    you need to change the file call in your index.php(?) from wp-comments.php to comments.php as no wp-comments.php exists.

  15. protechs
    Member
    Posted 9 years ago #

    "you need to change the file call in your index.php(?) from wp-comments.php to comments.php as no wp-comments.php exists."

    OK, then you mean alter the one I put back into my main blog. When I put the newly modified index.php into that spot (the main blog folder) then went to test.... the entire page was white/blankness.

    Do I need to run the upgrade again after I put the modified index.php from Carrots? Where do the other 3 files go? Do they just stay in Carrots? They're not dealt with again that I can read in the instuctions.

    Thanks.

  16. lawtai
    Member
    Posted 9 years ago #

    does your site work if you were to use the default theme? can you post your carrots/index.php?

  17. protechs
    Member
    Posted 9 years ago #

    I'm sorry, I have been trying to understand your question. It doesn't make sense to me that my new style sheet is being read at all (as there's no line that points to that resaved as style.css file) ?

    I don't know how the index page reads either the default theme or the carrots themes - it seems it should be reading the default, yet the page appears the way the old default theme with our graphics should appear.

  18. lawtai
    Member
    Posted 9 years ago #

    well, does your site work if you were to choose the default theme that comes with wordpress? (selecting default theme in the theme manager) if so, then you can narrow down the problem to the theme you're trying to use, instead of just a wordpress problem.

    also, can you post a link to your site?

  19. protechs
    Member
    Posted 9 years ago #

    I'll go do these things....
    [imagine a "PLEASE WAIT"] graphic here.

  20. lawtai
    Member
    Posted 9 years ago #

    heh, i'll check back in the morning as i need sleep :p

  21. protechs
    Member
    Posted 9 years ago #

    Ok.

    It is set for default now. Yes. Sleep would be nice.
    Thanks.

  22. lawtai
    Member
    Posted 9 years ago #

    so does it work when it's on default?

  23. protechs
    Member
    Posted 9 years ago #

    It works both ways and still no comments. It was set to default and looked fine and then I chose custom template and it was fine. No comments or comment boxes. It appears many are having the exact same problem. I could not have follwed the instructions anymore closely, and exactly. I'm going to try a clean, new install and rewrite the new index.php that comes with that. It will be MUCH FASTER then trying the upgrade instructions.
    Thanks though.

  24. lawtai
    Member
    Posted 9 years ago #

    hopefully, you'll be able to get it working.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.