Upgrade from WordPress 2.7 to WordPress MU 2.6.5

Yesterday I upgraded my Blog Site from WordPress 2.7 to WordPress MU (Multi User) 2.6.5.
Everything went more or less (hehe) well, with some exceptions. I ran into major trouble concerning several issues.

    1. Exec-PHP
    2. Youtube Video
    3. Sidebar Widgets
    4. Write Post – Custom Fields
    5. Google Analytics

1. Exec-PHP
After finishing the WP MU install I started re-activating all my plugins. All of them did re-activate without any error messages. Then, when I returned to the “Write a Post” page, the usual

“Exec-PHP WYSIWYG Conversion Warning. Saving this article will render all contained PHP code permanently unuseful. Even if you are saving this article through the Code editor. You can turn off this warning in your user profile. Ignore this warning in case this article does not contain PHP code. Read the Exec-PHP documentation if you are unsure what to do next.”

Message came up! Doing what the help link says, I returned and found out that the Warning was still active. I googled the issue, and found out that the exec-php plugin will not work on WordPress MU. I found some posts mentioning a way to get around this issue, but they were clearly warning of a Security Issue, leaving WordPress MU vulnerable to hackers!!!
So, for now I’m trying to find a way, a new way to make PHP code work on WordPress MU, and here it is:
ATTENTION: Only use this procedure if you are the only user of WordPress MU, since it is a security risk!!
You will have to download a plugin to be able to execute code withing the < and > brackets, and you will further have to edit you kses.php file in the wp-includes folder. Go to my “Execute PHP code on WordPress MU” post for all details…

2. Youtube Video
I have 365 posts, and at least 40 of them have one or more Youtube Videos integrated into them. This Youtube embedding worked excellent on WordPress, but on WordPress MU it does not. After Googeling around for a while I ran into this excellent Plugin created by eJump. It is called EasyTube and it overruns the Worpress MU protection, thus allowing for Youtube and Google Videos to be shown in WordPress MU.
So, the “Youtube Video” issue is solved!

3. Sidebar Widgets
I’m using the “Adsense Prosense” theme for WordPress. It is a Widget ready theme that has 3 Adsense ads integrated, 3 columns, 2 Sidebars. It worked fine on WordPress 2.7, but now on WordPress MU it is not behaving correctly. After editing your Sidebar 1, and clicking on “Save Changes”, you would want to edit Sidebar 2. So I went ahead to display Sidebar 2, and started adding the Widgets I would like to be displayed in it, but everytime I add a Widget, the whole screen returns to display Sidebar 1 and with the Widgets added that I wanted on Sidebar 2. Now that is weird!

I found out that I can use Sidebar 1 as I desire, personalized, and just not touch Sidebar 2, which already has the basic fields in it. Nevertheless I’d rather be able to personalize both Sidebars…

4. Write Post – Custom Fields
Today when I wanted to enter the -write post- tab it took an eternity to open, some 2 or three minutes. I started looking around on Google and found several possible reasons that could cause this.
The most logic one would be a plugin. Thus I de-activated all my plugins, but the problem persisted.
I tried to open this blogs -write post- tab, and it opend in an acceptable time, thus I knew that it was my main blog who was giving trouble.
I kept on checking and by coincidence saw that inside the “custom fields” tab, there was a lot of information in the different fields. I waited for the loading process to finish and then opened the custom field tab, and there were at least 500 entires, descriptions, title and enclosure.
I started deleting them manually and it took me like 20 minutes or more. Then I reloaded the page and some fields where still there, deleted them and reloaded. Finally all custom fields where empty.
The page still loads slower than on my subdomain blogs, but at least it works again.
I will investigate this further and post the solution here.

5. Google Analytics
If you have used Google Analytics before, you may have been using Google Analytics for WordPress by Joost Devalk at http://yoast.com/wordpress/google-analytics/. Sorry, but it seems that this version of the plugin doesn’t work for WPMU.
I googled to see if there are any Google Analytics for WordPress MU out there and found this one:
Google Analytics Plugin For WordPress MU – Revised – English
It works perfectly. One confusing thing about it is that you can reach a “urchin” field in two different tabs:
1. Site Admin: Google Analytics
2. Settings: Google Analytics
Both windows look different, as far as I understand If you fill out option 1. on your main blog, a side wide analytics will be done, if you choose option 2 only the specific URL will by considered for analytics. I’ll observe and update…

I’m working on these Issues and will add solutions as they come but I would greatly appreciate any feedback from you on this.

Incoming search terms:

No related posts.

Tags: MU Bugs, MU Installation, MU Plugins, MU Sidebar Widgets, MU trouble, Wordpress, Wordpress MU

2 Responses to “Upgrade from WordPress 2.7 to WordPress MU 2.6.5”

  1. [...] go well for you on this task. I did run into some trouble after having done all the above. See my Upgrade Issues Post for more. Watch the latest videos on [...]

  2. hi, the option one is for site admin. the second is for your users. to track their sub-domain. there was a error in the admin hook in 2.7 which has since been updated, check it out and let me know it there are any issues.

Leave a Reply