WordPress.org

Ready to get started?Download WordPress

Forums

[closed] Upgrading to WP 2.0 (103 posts)

  1. Aziza
    Member
    Posted 8 years ago #

    Petit> I used B2 before WP and when converting to WP my sw characters looked really strange when using UTF-8

  2. Stevious
    Member
    Posted 8 years ago #

    I upgraded my blog to WP 2.0 this afternoon, and the only issue I see so far is that I had added some custom smilies in the 1.5.x version of WordPress. I copied the image files over to wp-images/smilies, and modified vars.php to add the translation for them, but it looks like I'm still only seeing the text tag, and not the image. I've verified that the ownership and permissions match the default set of smilies, and those do appear. Any suggestions?

  3. leofish
    Member
    Posted 8 years ago #

    Hey there,
    Did the upgrade per janus suggestion (which was great btw). backed up DB via myphpadmin and all tables, deactivated plug-ins and re-imported the SQL from my 1.5.2 site to the WP2 site with new config. I also updated the permalink structure. I get this error relating to TAGS and CATEGORIES

    WordPress database error: [Unknown column 'category_count' in 'field list']
    SELECT cat_ID, cat_name, category_nicename, category_description, category_parent, category_count FROM wp2_categories WHERE cat_ID > 0 ORDER BY cat_name asc

    I checked the database and it appears this field "category_count" is missing from wp2_categories table.

    Any suggestions? Is this a new field for WP 2.0?

    Also, anyone getting Archives pages to show up?

    Thanks alot.

  4. corefx
    Member
    Posted 8 years ago #

    Install went fine.
    Do you guys ever plan on adding a drop down for the 'manage pages'
    part of the admin. Some of us have alot of pages and it just takes
    to long to load.

    Main parent page
    [dropdown of child pages]
    Main Parent Page
    [another drop down with child pages]

    it'd be nice

  5. Matt Mullenweg
    Troublemaker
    Posted 8 years ago #

    Leofish, make sure you open up upgrade.php in your browser, it should update the tables.

  6. rockinfree
    Member
    Posted 8 years ago #

    I just upgraded -- made backups, deactivated plugins, etc. like the instructions said -- but now my dashboard won't let me do anything. There's no navigation bar and everytime I click on something (like "write a post") it says: "You do not have sufficient permissions to access this page."

    I also checked my database and while I the wp_usermeta table is present, there's nothing in it and I can't edit it. WP has worked perfectly for me until now ... what's going on?

    Thanks in advance for any help :)

  7. bk
    Member
    Posted 8 years ago #

    After upgrading, my links just got messed up on the Links page. :S

    http://hsn.xeenat.com/links/

    Can someone check? Every link is supposed to be below one another. I even entered a space in WP page editor but no luck. They're all in straight line. :S

  8. leofish
    Member
    Posted 8 years ago #

    Thanks matt. i actually did an unorthox method using janus method of creating a new db with new db prefix, modifying the config while preserving the original db and install. it went nearly perfectly until i came upon the snag. i may redo as er the codex. awesome job on this under the hood.

    the only thing i was hoping for was a more defined set of user roles that are found in systems such as Drupal or Joomla(mambo), i.e. registered users....all else looks great.

    best

  9. MAK
    Member
    Posted 8 years ago #

    Greetings,

    I used to have the last release of WordPress but I had to do a system restore so I am in the process of reinstalling things.

    apache 2.0.52 (Win 32)
    --------
    MySQL Administrator 1.0.19
    MySQL Server v4.1.10-nt via TCP/IP
    MySQL Client v5.0.0
    --------
    PHP v4.3.10 (4.3.10.10???)

    This is the setup I had before and all worked well with WordPress 1.5x.

    Since I had to do a system restore all I have installed at the moment is the Apache 2.0.52. I just downloaded MySQL 5.0.17 and PHP 5.1.1. I would like to install these newer stable releases but I am not sure if WordPress 2.0 is compatible or not. Does anyone know for certain?

    I tried to do a search on this myself, but this site is broken in some areas. On this support section of site at http://wordpress.org/support/ the search box doesn't work I keep getting this error "You are on an old server. Check out new.wordpress.org (temp URL). — Matt" but when I click that link it puts me right back where I started. Also on the support section down below under the FORUMS heading, none of those links work either.

    Anyways does WordPress 2.0 work with the newer versions of MySQL and PHP ?

    Much appreciated. I would like to know asap so I can continue with my server setup. I miss my WP blog so I await confirmation so I can know which version of MySQl and PHP to use.

    Thank you all.

    ~~ MAK

    I wouldn't mind if you emailed me your answers.

    MAK.Arizona at Gmail.com

  10. tipunch
    Member
    Posted 8 years ago #

    May I help anyone suffering from the non-recognition of language files in WordPress 2.0. This apparently occurs on some servers.

    The solution (okay, unsatisfactory but it works!) is to modify the file gettext.php in the includes directory. (Make a backup of gettext.php beforehand!)

    Then replace the existing code:

    // $MAGIC1 = (int)0x950412de; //bug in PHP 5
    $MAGIC1 = (int) - 1794895138;
    // $MAGIC2 = (int)0xde120495; //bug
    $MAGIC2 = (int) - 569244523;

    with the following:


    $MAGIC1 = (int)0x950412de; //bug in PHP 5
    //$MAGIC1 = (int) - 1794895138;
    $MAGIC2 = (int)0xde120495; //bug
    //$MAGIC2 = (int) - 569244523;

    This solution previously worked for WordPress v 1.5.2.
    I have done this with the french language mo file with vers 2.0 and it works.
    Hopes this is useful.

  11. MCRebbe
    Member
    Posted 8 years ago #

    My question is can I upgrade direct from 1.2 to 2.0 and if so what
    documentation should I follow?

    I can see documentation on upgrading from 1.2 to 1.5 and
    documentation on upgrading from 1.5 to 2.0,
    but nothing on upgrading from 1.2 to 2.0?

    This is mission critical for me, so I'd appreciate a definitive
    answer.

    Cheers,

    MC

  12. globelily
    Member
    Posted 8 years ago #

    MC's question is mine too. I am currently running 1.2.2 and knew I needed to get my upgrade done. Sat down to upgrade to 1.5 yesterday (what timing!) only to discover the release of 2.0. Yikes! Now I'm really scared ...

    Advice appreciated!

  13. bseils
    Member
    Posted 8 years ago #

    I've done a bit of research trying to find others that have had similar problems, but I upgraded from 1.5.2 and noticed that a number of the template tags (partiuclarly included in the template-functions-author.php file no longer work correctly. For instance:

    the_author_posts_link('nickname') seems to always return the author post link with the nicename.

    I also noticed that other things like:
    get_the_author('nickname') no longer work, which I've now changed to use:
    the_author_nickname();

    the_author_posts_link('nickname'); is the one that I'm having particular problems with, as it's returning the user's login, which does not particularly look too good on my site, for example:
    http://www.thediatribe.net/2005/12/21/who-wants-to-know/

    And look at the posted by link at the top. "CoolJesus" is returned, when it should be "Cool Jesus."

    I know it's not the end of the world, but I feel as though it's not behaving as it should. Am I incorrect?

  14. lobsterman
    Member
    Posted 8 years ago #

    I don't know why you guys made such a scare about upgrading, but the upgrade instructions from the readme are the most simple:

    1. Delete your old WP files, saving ones you've modified
    2. Upload the new files
    3. Point your browser to/wp-admin/upgrade.php
    4. You wanted more, perhaps? That's it!
  15. moshu
    Member
    Posted 8 years ago #

    MCRebbe and globelily,
    Just to be on the safe side I'd upgrade first to 1.5.2 and from there to 2.0.

    Always, always backup: database and WP files. Even after the first upgrade from 1.2.x to 1.5.x. The database structure in 2.0 is different so there is no way to roll back in case something wnt wrong, unless you have a full backup!
    WP 2.0 you can get from the download page, older versions from here: http://static.wordpress.org/archive/
    HTH, and post back if you have more questions.

  16. dylan
    Member
    Posted 8 years ago #

    I am having a problem with the permalinks since upgrading to 2.0. Did I miss something in the upgrade process?

  17. MCRebbe
    Member
    Posted 8 years ago #

    Lobsterman,

    The instructions for upgrading from 1.5 to 2.0 are straigtforward,
    as are the instructions for upgarding from 1.2 to 1.5.

    THERE ARE NO INSTRUCTIONS FOR UPGRADING DIRECT FROM 1.2 to 2.0

    Perhaps in your world seeking to clarify this point is
    making "such a scare", in mine it is being careful and your
    overely dramatic response appears to be both ironic and a little rich bearing in mind your posting history, which shows a repeated failiure to bother to read the documentation.

    So perhaps it is simple and perhaps it is not. I don't intend to play guessing games.

    Can someone who is in a postion to give me a definitive answer please do so.

    Thanks,

    MC.

  18. MCRebbe
    Member
    Posted 8 years ago #

    Thanks Moshu

  19. MAK
    Member
    Posted 8 years ago #

    Greetings again.

    I'd really like to get this server set up again along with my WP Blog. Any chance someone can answer my question in the post I made up above (11 posts above this one).

    I sure would appreciate it, thanks.

    I miss my blog hehe. /sighs

  20. globelily
    Member
    Posted 8 years ago #

    Ditto from me, Moshu. Thanks for pointing us to the archived version of 1.5.2.

  21. fredCZ
    Member
    Posted 8 years ago #

    tipunch has already mentioned the fix for not working localization but it's actually more complicated if you consider different versions of PHP.

    Here is the complete solution known to me so far:
    //$MAGIC1 = (int)0x950412de; //bug in PHP 5
    //$MAGIC1 = (int) - 1794895138; //bug in PHP 4.4.0
    $MAGIC1 = 2500072158;

    //$MAGIC2 = (int)0xde120495; //bug in PHP 5
    //$MAGIC2 = (int) - 569244523;// bug in PHP 4.4.0
    $MAGIC2 = 3725722773;

  22. moshu
    Member
    Posted 8 years ago #

    MAK,
    I am not a server wizard, which means I would never dare to host my site :)
    The only thing I can remember that if you have set MySQL 5 to "strict" mode there might be issues with the install.

    I know the search is not functional for the moment, try Google by using:
    site: wordpress.org/support mysql strict

  23. josalmon
    Member
    Posted 8 years ago #

    Hey,

    I upgraded from 1.5.2 to 2.0 this afternoon and it couldn't have gone smoother. Everything started working on the first attempt and I just wnated to say thanks for a job well done :)

  24. skippy
    Member
    Posted 8 years ago #

    MAK: WordPress will work with MySQL 5 provided you do not use strict mode.

  25. edwinkort
    Member
    Posted 8 years ago #

    Got it working in about 30 seconds. Maybe a bit more or less. It even worked when I forgot to turn off the plugins.

    Only have a small error showing, but I will try to fix it soon.

  26. bk
    Member
    Posted 8 years ago #

    After upgrading, my links just got messed up on the Links page. :S

    http://hsn.xeenat.com/links/

    Can someone check? Every link is supposed to be below one another. I even entered a space in WP page editor but no luck. They're all in straight line. :S

  27. moshu
    Member
    Posted 8 years ago #

    bk, the official support for K2 is here:
    http://flickr.com/groups/binarybonsai/

  28. MAK
    Member
    Posted 8 years ago #

    Thank you Skippy and Moshu.

    You said it should work if I don't set it to strict, roger that. I'm a newb at setting up this server stuff so hopefully I can figure out how to do that when the time comes.

    Now about the PHP v5x does that work okay with WP 2.0 also?

    EDIT: So how is everyone today? rofl Is anyone so bored and love challenges? hehe As I stated I am a newb at setting up this server stuff (MySQL, PHP, Apache). I had a friend set up my last configuration (before I had to do a system restore) but I can't get a hold of him anymore. Was wondering if there is anyone knowledgeable at doing this blindfolded haha that maybe you can walk me through it so it gets done properly?

    Otherwise I'm just going to take a newbie shot at this and hope I don't blow up my system, /sighs

    I already have the Apache server set up from the Ghost restore I did, I just need to add the new PHP and MySQL and then WordPress of course.

    Anyone bored and game for some excitement. I'm a good listener and I follow through with directions.

    /crosses fingers

    Email me at MAK.Arizona at Gmail.com or reply here.

    I know I know, don't flame me, just thought I would try my luck and score me a helping hand. Amazingly but true hehe there are actually people who like doing this kind of stuff, please let me know if you are one of them. I would love to get this over and done with and back to blogging.

    0-o

    PS: And on likely chance I have to do this solo, what comes next after the Apache install, MySQL install then PHP or do the PHP first then the MySQL?

    Much appreciated

  29. Waldo Jaquith
    Member
    Posted 8 years ago #

    I've had no luck upgrading. I've attempted to do so on four of my sites on two different servers -- my home server (Redhat, MySQL 4, PHP 4, etc. -- totally standard) and my DreamHost space. In terms of WP customization, all sites are quite different -- some have no plugins, some half a dozen, some use my templates, some use the default, some have thousands of posts, some have just a half dozen, etc. I've explicitly followed the directions from the Codex, and I have the exact same problem every time.

    Loading upgrade.php works. Clicking "Upgrade WordPress" (loading step=1) yields a blank page. Every. Single. Time.

    I've gotten into a little debuggery, but the problem gets traced back into the bowels of WP's code, at which point I've surrendered.

    Shall I wait for WP 2.0.1? Or is there a known workaround?

  30. Waldo Jaquith
    Member
    Posted 8 years ago #

    An addendum to my post:

    If I delete the entire cache directory (wp-content/cache/) and then immediately run upgrade.php?step=1, it works fine. The upgrade can proceed without difficulty. But then the site itself won't run unless I repeatedly erase the cache directory. It's as if the cache is being written (and it clearly is) but cannot be read from. I speculate that WordPress is using file_get_contents() (or a similar function) to retrieve the cache data. file_get_contents() was introduced in PHP v4.3, along with some other file-level data retrieval functions, and my servers may not properly implement that function.

    I suggest that upgrade.php be exempt from any caching functions -- there's no need to cache that page or its iterations. Also, if WordPress does require PHP v4.3 or greater (which would be altogether reasonable), upgrade.php should check to make sure that it's present.

    Of course, all of this is contingent on my hunch being right that cache file data is not being retrieved, and that this is a consequence of the version of PHP that I'm running.

Topic Closed

This topic has been closed to new replies.

About this Topic