WordPress.org

Ready to get started?Download WordPress

Forums

Upgrade from 0.72 to 1.0 (33 posts)

  1. NuclearMoose
    Member
    Posted 10 years ago #

    This is based on a few bumps I had tonight. Thanks to the help from the Lizard and the Duck! :)
    NOTE: THIS IS AN UPGRADE FROM WP 0.72 to WP 1.0!
    Here's what I did to get it going:
    1. I unzipped the archive on my local PC.
    2. I took the settings from my backed-up wp-config.php file and manually updated the wp-config-sample.php file.
    3. I deleted all of the WordPress files and folders on my web server AFTER MAKING A COMPLETE BACKUP OF EVERYTHING.
    4. I uploaded all of the new WordPress 1.o files and folders to my web server.
    5. I changed the name of wp-config-sample.php to wp-config.php.
    6. I pointed my browser to /wp-admin/upgrade.php and ran the script.
    7. I loaded up my blog on my browser, and logged in.
    I hope that this helps someone.
    Craig.

  2. southerngal
    Member
    Posted 10 years ago #

    Thank you Craig! I will use your help tips when I upgrade today! :)

  3. Quantum
    Member
    Posted 10 years ago #

    A nice clear guide. Helped me to roll out a flawless installation. Thanks.

  4. southerngal
    Member
    Posted 10 years ago #

    I had a few bumps. :( I lost all my posts and links they are in my database somewhere, right? Bleck. I'm not really sad, though. *LOL* I had to do a fresh install. Oh well. It's not pretty, will be a while as all the folders and such have moved.

  5. Anonymous
    Unregistered
    Posted 10 years ago #

    Hi all,
    this is my first post, and English is not my mother tongue, so please excuse me if it's not clear.
    I tried to upgrade from WordPress 0.72 to 1, but it did not work. So I came here and found these "step-by-step" instructions, but I have some problems in understanding them.
    Step 1 is clear :)
    Step 2 for example: what do you mean with
    " my backed-up wp-config.php file and manually updated the wp-config-sample.php file"
    The wp-config.php of version 0.72 and wp-config-sample.php of version 1.0?
    I am asking this, because the files are different.
    Steps 3 and 4 are fine
    Step 5:
    " I changed the name of wp-config-sample.php to wp-config.php"
    the wp-config-sample.php is the one you edited in step 2?
    You just change the name, so that wp-config-sample.php does not exists anymore?
    Or you have wp-config-sample.php AND wp-config.php? If so, do they have the same contents?
    Steps 6 and 7 are fine too.
    Sorry for being so "obsessive", but I really would like to upgrade, and the upgrade process was very unlucky.
    Thanks in advance for any reply.
    Dario

  6. NuclearMoose
    Member
    Posted 10 years ago #

    Dario,
    No aplogies necessary. I will try to clarify things for you.
    First of all, not only did I backup my database, but I did a backup of ALL of my WordPress files. These files were copied FROM my web server TO my own computer here at home. Then, once all of the backups were completed, I deleted everything in my WordPress folder on my web server. I didn't delete my database, of course.
    For Step 2, I opened up the wp-config.php file which I just backed up, because it has all of the necessary information for the database connections. I had previously unzipped all of the new V. 1.0 files onto my hard drive, in a separate folder. I opened the wp-config-sample.php file from that folder, and updated the wp-config-sample.php file to be EXACTLY the same as my backed-up wp-config.php file.
    So, to summarise:
    I have a total WP folder backup.
    From the backup, I openend wp-config.php.
    I copied the necessary information from wp-config.php to the new wp-config-sample.php. Then I upload all of the files to the web server.
    Step 5.
    Now that all of the new WP 1.o files are uploaded, I need to have a wp-config.php file ready when I run the upgrade.php script. The only file on the web server that has the correct information is the wp-config-sample.php which I manually changed in Step 2. I simply renamed the wp-config-sample.php to wp-config.php. This does indeed mean that wp-config-sample.php does NOT exist on my web server. I still have the file locally on my own computer.
    I hope that this helps. If you would like any more clarification, then please do ask, and I'll do what I can to find or give you an answer!
    Craig.

  7. southerngal
    Member
    Posted 10 years ago #

    I figured it out. :) Thanks Mark!

  8. dariottolo
    Member
    Posted 10 years ago #

    Hi Craig,
    thanks a lot for all the details you provided.
    I'll try to upgrade tomorrow (it's midnight here right now), following your instructions.
    I will let you know how things go.
    Greetings from Italy.
    Dario

  9. tcervo
    Member
    Posted 10 years ago #

    Hmmm...good thing I tried upgrading a not-yet-rolled out installation first.
    I followed NM's directions exactly. I had a "clean" install of 0.72. (This is a second install of WP, in a different directory and using a separate DB...the 0.72 test installation was working fine, and had not been moded or hacked in any way.)
    Once I got to the point of running /wp-admin/upgrade.php, here's what I got:
    ---
    Warning: Invalid argument supplied for foreach() in E:\webs\tcervo.com\wwwroot\movies\wp-admin\upgrade-functions.php on line 536
    Warning: Invalid argument supplied for foreach() in E:\webs\tcervo.com\wwwroot\movies\wp-admin\upgrade-functions.php on line 606
    Step 1
    There's actually only one step. So if you see this, you're done. Have fun!
    get_settings: Didn't find setting hack_file
    ---
    So, clicking on the Have fun! link takes me to my blog, despite the errors. But, my index page has the following:
    "get_settings: Didn't find setting comment_allowed_tags"
    ---
    Note: the "get_settings: Didn't find setting comment_allowed_tags" message shows up on EVERY page, including the login page, admin page, etc. (You can see it at the very bottom of the page.)
    You can see it here: http://www.tcervo.com/movies/
    Any ideas? This has me scared to death of upgrading my "real" blog...

  10. Matt Mullenweg
    Troublemaker
    Posted 10 years ago #

  11. tcervo
    Member
    Posted 10 years ago #

    allusion,
    Perfect, that did the trick. I missed that thread the first time around...
    -Tony

  12. dariottolo
    Member
    Posted 10 years ago #

    Hi Craig,
    I followed your instructions line by line, but still can not upgrade:
    Warning: main(/home/diludovi/public_html/dario/b2-include/wp-db.php): failed to open stream: No such file or directory in /home/diludovi/public_html/dario/wp-config.php on line 49
    Fatal error: main(): Failed opening required '/home/diludovi/public_html/dario/b2-include/wp-db.php' (include_path='.:/php/includes:/usr/share/php:/usr/lib/php:/usr/local/lib/php') in /home/diludovi/public_html/dario/wp-config.php on line 49
    At this point, I think I will wait for version 1.01 to be released...
    Thanks anyway.
    Dario

  13. visualounge
    Member
    Posted 10 years ago #

    Dear wp user, i ask only one information about the upgrading of WP from 0.72 to 1.0.
    I Understand that is better to try the upgrade on a local machine, but when i make this i need to change the index.php that have my own layout or i can use my past file? thanks in advance
    Giovanni

  14. lars
    Member
    Posted 10 years ago #

    visualounge, yes it is recommended that you update the index-file as well. There have been changes.

  15. lars
    Member
    Posted 10 years ago #

    dariottolo, in version 1.0 all file and dir names have been changed from b2 to wp, so the b2-include directory is now called wp-include, and so on.
    I suspect you haven't upgraded all files. Check your index file for a start.

  16. ZhiWen
    Member
    Posted 10 years ago #

    Thanks Craig, I was having a lot of problems with upgrading.. maybe I was thinking in a too complicated way :) Worked perfectly for me, I was done within 10 minutes!
    Now I have to upgrade 2 other blogs from b2 to WordPress :-s

  17. Anonymous
    Unregistered
    Posted 10 years ago #

    Fatal error: Call to a member function on a non-object in /home/heather/public_html/wp/wp-admin/upgrade-functions.php on line 31
    Anyone have an idea why im getting this error message when i try and upgrade...

  18. Laughinglizard
    Member
    Posted 10 years ago #

    @casedaling: I would make sure all the settings are correct (check with the wiki and the forum if you are unsure) and I would make sure you have correctly uploaded all of the WP 1.0 files.

  19. Anonymous
    Unregistered
    Posted 10 years ago #

    I tried upgrading from 0.72, but apparently the upgrade has failed. Can anybody say what has happened?
    http://bytewarrior.madoka.be/b2
    I ran the upgrade.php. My links are there, but no posts and I can't login. I checked the MySQL database and everything is still there (unchanged). Any hints?

  20. Anonymous
    Unregistered
    Posted 10 years ago #

    A little bit more information about my update-problem ...
    Apparently the update worked, because in the calendar, you can 'see' the posts (and the title of the post in the tooltip). But still, I can't login, and my posts don't appear.
    If I try to send my password by clicking on 'lost password', it can't find my account (although my account still exists in the DB.)
    Another problem: in the titlebar of my browser (Firebird) appears this after the 'official' title:
    <div>SQL/DB Error:<br>[<span>You have an error in your SQL sysntax '' at line 1<
    I have tried to install the latest nightly build, but it still gives the same errors and the same problem with the login/posts....

  21. Matt Mullenweg
    Troublemaker
    Posted 10 years ago #

  22. Anonymous
    Unregistered
    Posted 10 years ago #

    i'm having some awful problems. The upgrade 'seems' to work fine.... but it doesn't transfer my posts from the b2posts db to the new wp_posts db.
    I'm upgrading from 0.72 to 1.01

  23. Anonymous
    Unregistered
    Posted 10 years ago #

    mayne you and me both mister anonymous. you and me both...

  24. Anonymous
    Unregistered
    Posted 10 years ago #

    i was the last anonymous
    but yeaa... actually, when i try to run upgrade.php it says "It doesn't look like you've installed WP yet. Try running install.php." =\.. then yea, running install.php it works, then when i try to inport-b2.php... it ignores (or so it seems) the b2post db

  25. Anonymous
    Unregistered
    Posted 10 years ago #

    yep. my issues too. i am starting to get VERY frustrated

  26. Matt Mullenweg
    Troublemaker
    Posted 10 years ago #

    It doesn't transfer your posts from b2posts to wp_posts, it upgrades your b2posts file to WordPress. So if you were upgrading from b2 you should put "b2" as your database prefix in wp-config.php.

  27. Anonymous
    Unregistered
    Posted 10 years ago #

    *doh!*
    thank you so very much!
    /me feel so stupid

  28. Anonymous
    Unregistered
    Posted 10 years ago #

    allusion, if i do that, i get an problem with the links.
    "SQL/DB Error:
    [Table 'tankgree_b2.b2linkcategories' doesn't exist]
    SELECT cat_id, cat_name, auto_toggle FROM b2linkcategories ORDER BY cat_id"

  29. mriannnnnn
    Member
    Posted 10 years ago #

    Ok I am having this problem. I have not lost any post but they are not being shown. and looking at the structure of the new tables created and the old b2posts table, they are different. It id not upgrade that table.
    ok I tried to upgrade but it did not recognise the old tables so it asked me to do an install. I did and then I tried the "upgrade.php" script. no difference...
    is there anything in that script that I could manually use to do what I need?

  30. Anonymous
    Unregistered
    Posted 10 years ago #

    Thanks!
    I finally succeeded in upgrading to 1.0.1
    Now the customization begins again.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.