WordPress.org

Ready to get started?Download WordPress

Forums

[1.5] Upgrade problems (33 posts)

  1. sylday
    Member
    Posted 9 years ago #

    Hi. Not sure what happened when I attempted to upgrade last night. I followed the tamba2.org instructions to the letter with no variation. Then I ran the upgrade.php, received the "You're all done!" type message, and when I surfed to the blog I got a blank page with "No input file specified". Everything was gone. I had to go back to my 1.2.2 installation and restore my database to get my blog back. Any clue what happened?

  2. Joshua Sigar
    Member
    Posted 9 years ago #

    By "everything was gone", you mean your database was wiped out? Deleting all you posts?

  3. FireflyBeads
    Member
    Posted 9 years ago #

    Similar problem here. I backed up my blog directory, backed up the mysql db. I deleted all files on my server except wp-config.php and the wp-content folder and re-uploaded the new ones. I got a screen saying something like 'congrats - there is only one thing to do - click here and go have fun' and when I did, I was forwarded to my blog, which was completely blank! :(

    I do not have any plugins active, so I left that alone. I cannot locate my htaccess file anywhere on my server - where is it? Could that be the problem?

    For now, I just re-installed my backed up files and everything is back how it should be (v1.o).

    Any ideas? I am a bit nervous to try the upgrade again, but really looking forward to all of the features, especially the comment upgrades. I had to turn my comments completely off due to online poker and viagra spams...

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

    To both posters: Did you upload the new themes directories ?

    The new index point to another file, and that points at a theme index - no index there and it will fail silently with a blank page.

    If you can get into #wordpress on irc.freenode.net I'll step through the upgrade with you if you want ?

  5. Joshua Sigar
    Member
    Posted 9 years ago #

    No one has explicitly answer my question.

    Did the upgrade process delete the database content (the tables, posts, etc)? Because if it did, it's seriously need to be resolved.

    Or did it just corrupt the database?

  6. FireflyBeads
    Member
    Posted 9 years ago #

    Uhhhh Yes, clicking deeper, I see that I did upload the themes directory! (I just grabbed everything new and uploaded it into my almost-empty directory).

    Is there an easy fix for this? Or do I just not upload that directory? I am not sure how to log into irc.

    Thanks!

    [sorry alphaoide - I didn't mean to hijack your thread - just thought we had a similar problem]

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

    If my directions were followed, I would be amazed if the db had been affected - it was very well tested and read over by numerous people before it saw the light of the web.

    Fireflybeads - did you follow exactly the guide at tamba2 ? If you can rewind to when it was working, it's doable to redo the upgrade.

  8. If you're coming from v1.0, you need to make a new wp-config file using the wp-config-sample.php file included with the v1.5 download.

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

    Missed that ...... ideally go to 1.2.2, then 1.5

  10. Joshua Sigar
    Member
    Posted 9 years ago #

    FirefyBeads, no, I don't have the same issue. I just want to examine your issue, and the original poster. You two gave impression that the upgrade process delete the database? Is it? The question is

    Did the upgrade process delete the database content (the tables, posts, etc)? Because if it did, it's seriously need to be resolved.

    Or did it just corrupt the database?

    Can you confirm by going to phpmyadmin?

  11. FireflyBeads
    Member
    Posted 9 years ago #

    Podz - I followed the instructions here:
    http://codex.wordpress.org/Upgrading_WordPress

    My blog is completely restored - I just reuploaded my backed up files, so all is OK now, running my original version. (whew)

    macmanx - I just checked my cp - I am using V1.2.1. So... should I keep my wp-config file, or make a new one using the install.php page?

    Thanks again.

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

  13. FireflyBeads
    Member
    Posted 9 years ago #

    OK thanks. My phpadmin guru just went offline (in Australia), so I will wait until I have some hand-holding before messing with it again. Too scary to see that blank page again. LOL

    Thanks again for the help.

  14. sylday
    Member
    Posted 9 years ago #

    I used the tamba2 instructions to the letter, no variation. My database was not wiped out, it simply became non-functional.

  15. FireflyBeads, you can keep your current wp-config.php file, but go to http://www.tamba2.org.uk/wordpress/upgrade/ for upgrade instructions.

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

    sylday - if you can get to #irc, I can help you through and there are several other wp whizzes there too ?

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

    I am actually very interested in what is hapening, and how it is either avoided or cured.
    Many people are yet to upgrade so any and all snippets of info will prove to be very useful.

  18. sylday
    Member
    Posted 9 years ago #

    After restoring the database and returning to my previous files last night, the blog worked until this morning. When I attempted to edit a comment, the blog crashed. Now my blog is completely nonfunctional and returns a 500 server error.

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

    a 500 is a .htaccess error.

    On upgrade, did you redo the rules ?
    Rename the htaccess
    Upload a blank file, chmod to 666 rename it to .htaccess
    Go to Options > permalinks
    Redo the structure

  20. sylday
    Member
    Posted 9 years ago #

    I'm using my old install. Should I still redo the htaccess?

  21. FireflyBeads
    Member
    Posted 9 years ago #

    Where is htaccess located normally?

  22. orangeguru
    Member
    Posted 9 years ago #

    @FireflyBeads: .htaccess in the WordPress root/start directory.

  23. In the same directory as all of the wordpress files.

  24. FireflyBeads
    Member
    Posted 9 years ago #

    That is what I would think... but my blog does not have one. :-/ Should I have created one when I set up my blog? (oops)

  25. orangeguru
    Member
    Posted 9 years ago #

    To create a .htaccess doesn't hurt ... and WordPress might need it to work properly ... ;-)

  26. FireflyBeads
    Member
    Posted 9 years ago #

    Ok - done. I uploaded a blank .htaccess file and cmod'ed to 666. My blog has been working all along... and (thankfully) still works. Is this a security feature, or?

  27. sylday
    Member
    Posted 9 years ago #

    Okay, creating a new .htaccess brought my old blog back online. Now, looking at the tamba2 list of files to delete, the .htaccess is not listed as one of them so I didn't delete it. Is this why my install failed last night? Is that what caused the "no input file specified" problem? Now my old version of WP displays this under the Options tab:

    Database error: [Table 'wordpress.wp_optiongroups' doesn't exist]
    SELECT group_id, group_name, group_desc, group_longdesc FROM wp_optiongroups ORDER BY group_id

    Warning: Invalid argument supplied for foreach() in /usr/home/sday/www/htdocs/blog/wp-admin/options-head.php on line 10

  28. orangeguru
    Member
    Posted 9 years ago #

    .htaccess can be used for security and combating spammers as well.

    WP uses it mostly for Permalinks:

    http://codex.wordpress.org/Using_Permalinks

  29. FireflyBeads
    Member
    Posted 9 years ago #

    Question from:
    http://www.tamba2.org.uk/wordpress/upgrade/

    RE:
    Update the stylesheet import line in index.php. Replace this:
    @import url( <?php echo get_settings('siteurl'); ?>/wp-layout.css );
    with this:

    @import url( <?php bloginfo('stylesheet_url'); ?> );

    My root index.php doesn't have this code. It only has:

    <?php
    //* Don't remove this line. */
    //require('./wp-blog-header.php');
    ?>

    That is the whole file. Was this edited prior to the download being available (and after your tutorial was written?)

    Thanks

  30. FireflyBeads
    Member
    Posted 9 years ago #

    nevermind - was looking in new files! { :-o }

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.