WordPress.org

Forums

[resolved] upgrade gone bad (23 posts)

  1. larryjay
    Member
    Posted 8 years ago #

    I just went to upgrade a forum I have, my wifes wp blog, and my wp blog. The first two went very well - I backed them up and upgraded - no problem. Then, I guess because of the repetition, I forgot to backup mine before I clicked transfer on my ftp to upgrade. As soon as I clicked it, I remembered. So it was too late and I just crossed my fingers and hoped for the best.
    It figures... I ftp everything, then go to
    http://www.insuranceshoppers.net/blog1/wp-admin/upgrade.php
    and the screen is blank?? I completely understand that I'm an idiot, but is there any reason for this and anything that can be done to fix it?
    I'm sure you'll need more info from me. Thank you VERY much for your help!

  2. MichaelH
    Member
    Posted 8 years ago #

    Files might not have uploaded correctly. Revisit Upgrading WordPress and delete the appropriate files and reupload the new files.

  3. larryjay
    Member
    Posted 8 years ago #

    I tried that and it's still blank. If anybody thinks they can fix it using my ftp information or file manager for my website, I'd happily communicate that info to you by email and pay you top dollar for your time.

  4. larryjay
    Member
    Posted 8 years ago #

    I didn't deactivate any of my plugins before I started the upgrade either. Could that be the problem?
    Although, I didn't deactivate the plugins on my wife's blog that I upgraded and it went perfectly.

  5. larryjay
    Member
    Posted 8 years ago #

    If anybody thinks they might be able to fix this, my email address is jay@insuranceshoppers.net
    I could give you my ftp and/or file manager info for my server and I could pay you for your effort.
    Thanks!

  6. larryjay
    Member
    Posted 8 years ago #

    I would think since all the .php's it needs to do the upgrade successfully are still there, I would just need to make changes to the ones that might be causing the problem. This is still fixable, right?

  7. Doodlebee
    Member
    Posted 8 years ago #

    >>Could that be the problem?<<

    Possible.

    FTP into your server and download your wp-content/themes and wp-content/plugins to your hard drive.

    Then try deleting *all* the files on your server. The entire WordPress installation. Every last thing. Get yourself a brand-spanking new download and unzip it (could be that something got corrupted). Upload all the files.

    Go through the upgrade process (that's what it'll ask you to do is upgrade - because all of your posts and stuff are in the database, and should be just fine.)

    Let us know what happens.

  8. larryjay
    Member
    Posted 8 years ago #

    Before I do that, I want to completely understand where the actual content of the posts I've been making is stored (I'm obviously not very tech savvy). If the only thing I have stored on my hard drive that is left from the original blog is wp-content/themes and wp-content/plugins and everything else is brand new, where is it retrieving the content from if the upgrade works okay?

  9. Doodlebee
    Member
    Posted 8 years ago #

    >>I want to completely understand where the actual content of the posts I've been making is stored<<

    I'll quote my original reply:

    "because all of your posts and stuff are in the database"

    If you delete files from your server, you're deleting files. You aren't touching the database. You have to log into your database (or write a PHP query and run it) to do that.

  10. larryjay
    Member
    Posted 8 years ago #

    Ahhh, thanks doodlebee. I didn't understand the database was seperate. I thought the database just included all my files. Now that I understand correctly, I feel more comfortable with the process. I'll get started and let you know what happens.

  11. larryjay
    Member
    Posted 8 years ago #

    I did it and got this message on my wp-admin/upgrade.php page...

    There doesn't seem to be a wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.

    What should I do?

  12. Jeremy Clark
    Moderator
    Posted 8 years ago #

    Have a look at this.

  13. Doodlebee
    Member
    Posted 8 years ago #

    edit your wp-config-sample.php file. Just put in the right connection settings (like you did the first time you set it up) and save the file as "wp-config.php", upload and go.

  14. larryjay
    Member
    Posted 8 years ago #

    Well, I use Yahoo web hosting and they setup my database name for me automatically 9 months ago. I've been on the phone with them for the past hour just trying to find out the database name. So far, they are telling me they have no way of knowing what the database name is. Is there any way of finding out if they can't?

  15. Doodlebee
    Member
    Posted 8 years ago #

    What?!?

    OMG - Yahoo *sucks*.

    can you not log into your Yahoo hosting account? Is there not an area where you can see your databases?

    What I'm finding from a google search is that under yahoo geocities, your database host name is always "mysql". You should be absle to log into your control panel and look at your databases and see what the name and username is. Hopefully the password too - if you can't, you should be able to change it.

  16. larryjay
    Member
    Posted 8 years ago #

    If I'm not able to find it out through Yahoo and I need to change it, what is involved then?

  17. Doodlebee
    Member
    Posted 8 years ago #

    I'm not sure what you mean?

    If Yahoo is who hosts your site, then you should be able to log into your Yahoo account and go to your user control panel. The information you need should be available to you there. I do know Yahoo is a PITA to work with (just search these forums for anything Yahoo related) but it can be done if you're patient and persistent.

    But you need your configuration settings so you can connect to the database and get your blog setup. The only way to do that is to log into your control panel and go to your database and get the information you need. Database info is located in your control panel somewhere - just look for the section on "Databases". It'll list your databases (by name), and you should either see the usernames associated with it, or you should be able to click on the database and the information will be viewable that way.

    I don't know if Yahoo provides phpMyAdmin.

  18. Andrew Ozz
    WordPress Dev
    Posted 8 years ago #

    Did you download all the .php files from your server before deleting them and uploading the fresh ones, as doodlebee suggested?

    Then just look for the wp-config.php there, open it in notepad and see your name/password, etc. or just upload it back to your wordpress directiry.

  19. Doodlebee
    Member
    Posted 8 years ago #

    Oh yeah, he could do that. Except I told him to save the wp-content folder (my bad - I forgot to mention the config file) - so unless we're lucky and he saved everything, he's gotta log into Yahoo.

  20. Andrew Ozz
    WordPress Dev
    Posted 8 years ago #

    Yeah, I also think Yahoo has some kind of auto-backup, where it keeps copies of all changed files and (hopefully) they can be restored one by one. So Larry, see if you have that backup in your account's control panel and try restoring just wp-config.php.

  21. MichaelH
    Member
    Posted 8 years ago #

    If you can login to Yahoo, you can find your database adminstrator's name. If you don't know the database administrator's password change it to a known value.

    Then install the database tool into a folder called phpmyadmin, theN browse to http://www.sample.com/phpmyadmin (replacing sample.com with your domain). Enter your database administrator name and password.

    Then access the 'mysql' database and the 'user' table, and edit the Database Administrator user so that it is given ALL the rights/privileges. That means saying Y to each privilege field (I believe those end in _priv so DROP_priv would be an example.)

    Now you should be able to use the database admin name and password in your wp-config.php file.

    And of course, when your are in phpMyAdmin you should see your wordpress database so you know what name to use in wp-config.php.

  22. larryjay
    Member
    Posted 8 years ago #

    WOW! I just kept calling back and talking to supervisor after supervisor. Like you said "be patient and persistent". The problem was that they all seemed to know less about their system than I did, scary! I finally got a supervisor on the phone who knew what he was doing and it seemed to be an easy question for him to answer. My blog is up and working!
    Thanks doodlebee!!

  23. Doodlebee
    Member
    Posted 8 years ago #

    Glad it's working now.

    Now move to a new host ;)

Topic Closed

This topic has been closed to new replies.

About this Topic