WordPress.org

Ready to get started?Download WordPress

Forums

Migrate from WPMU 2.8.6 to WP 3.0.4 (4 posts)

  1. sepp88
    Member
    Posted 3 years ago #

    Hey guys,
    I finally need to convert my blog from WPMU 2.8.6 to the latest version. My WPMU is a multi-site setup with one MAINBLOG and 7 Subblogs. The Mainblog collects all Posts from the Subblog on its Frontpage and uses the SITEWIDE TAGS Wpmu Plugin to do this.

    Every blogpost on the mainblog has a specific colorscheme depending on the subblog it's coming from. The entire Setup has maybe around 25 Users that can write posts and adminster the site.

    I wonder what i have to consider when i manually upgrade to the latest version of WordPress?

    1.) Will the Multisite Setup still work?
    2.) Do i have to recode a lot of stuff?
    3.) Anything else i need to consider?

    I'm using pieces of code like this:

    <?php $org_blog_id = get_post_meta ($post-> ID, 'blogid', true);
    $blog_details = get_blog_details($org_blog_id);
    if (!$blog_details->blog_id =="") { ?>
    <span id="blogID" class="<?php $org_blog_id = get_post_meta ($post-> ID, 'blogid', true); $blog_details = get_blog_details($org_blog_id); echo 'blogID_'.$blog_details->blog_id; ?>"><!--<?php the_title(); ?> – --><?php $org_blog_id = get_post_meta ($post-> ID, 'blogid', true); $blog_details = get_blog_details($org_blog_id); echo $blog_details->blogname;?></span>
    <?php } ?>

    E.g. this code gives every post on the mainblog a specific color depending on the color of the subblog. So every blogpost on the mainblog get's a specific classname that lets me color the post. This feature for instance is very important. I need to be sure to have this working again when i migrate to a newer version.

    Thank you for your tipps and tricks.

  2. 1) Yes

    2) Depends on your theme and plugins, but ... very possibly.

    3) Yeah, it's a BIG upgrade. You want to do this in steps. FIRST upgrade, manually, to 2.9.2, and then use the auto-upgrade tool. http://codex.wordpress.org/Upgrading_WPMU

    There's a lot to keep in mind, and a lot that might go wrong. SITEWIDE TAGS will work :) I know that! I don't know if that code bit will, but I think it should. I mean, it didn't change that much for that code.

  3. sepp88
    Member
    Posted 3 years ago #

    Thank you! I tested the entire migration now on my local Mamp Setup on my Mac. The problem was that when i tried upgrading to 2.9.2 my entire website was just a white page. Even when i upgraded to just 2.8.5 i got a white screen.

    What i tried now is just get rid of everything except my wp-content folder and my database. I uploaded the latest version of wordpress 3.0.4 and everything works actually really well.

    All my Subblogs still work, my color schemes work and sitewide tags is working as well. When i create a post on a subblog its on my mainblog as well - just like before.

    Only problem i have is no image link is correct. Since the database is still the same every link is the same and since i kept the entire wp-content folder all the images are sill in the same directories: e.g. /wp-content/blogs.dir/1/

    However no image is shown on my page. Any idea why that is happening?
    Like i said i tested this entire scenario on my local machine just to be sure that it works on the real site if i update it this evening. I did an exact copy of my setup to my local machine.

    Any idea what i could do to make the images work.
    if i rollover an image the link to the image looks like this: mypage.com/subblog/files/2011/01/IMG_7989.jpg

    This works on my real website! Is this maybe just a .htaccess thingy i need to fix. However i even copied the exact same htaccess file to my local test migration.

    So only problem are the images! any ideas?

  4. Only problem i have is no image link is correct. Since the database is still the same every link is the same and since i kept the entire wp-content folder all the images are sill in the same directories: e.g. /wp-content/blogs.dir/1/

    It's probably your .htaccess

    You'll need to change that:
    http://codex.wordpress.org/Create_A_Network#.htaccess_and_Mod_Rewrite

Topic Closed

This topic has been closed to new replies.

About this Topic