Anyone else have problems upgrading WPMu 2.6 with subdirectories?

I’ve been upgrading a number of different WPMu installations. And while the upgrades I did for WPMu 2.6 installations that ran on dynamic subdomains went smoothly, two installations I upgraded that run on subdirectories (a result of them being hosted on shared hosting that would do dynamic subdomains) ran into problems. The upgrade seemed to go fine, but when I tried to login into a blog other than the main blog (or even login as another user) it simply remains on the login screen that redirects to itself for all blogs except main.

I did a quick search and found this forum thread which suggests I’m not alone with this issue. I deleted all my plugins and mu-plugins,  cleared the cache and threw out the cookies. I even spent some time in the wp-config file, and double checked my .htaccess settings, all to no avail.  I’m sure a fix is forthcoming, or at least a hack, but until then I would perhap hold off on upgrading to WPMu 2.6 if you are using subdirectorties. I make this post because after the pollyanna screencast about upgrading to WPMu 2.6 I posted previously, I want to make clear that the upgrade was only tested with dynamic subdomains, not subdirectories.

Update: I found a fix for these issues as they were occurring for me, I’m not sure they will work for everyone, but they worked for my two installs with subdirectories.

What I did was create a new blank database and deleted the wp-config and .htaccess files.  Then loaded WPMu 2.6 as if it were a new install and once I was done, I simply pointed the wp-config file to the pre-exiting database with all my tables and whatnot in it. This worked like a charm for me.

I’m going to go out on a limb here a say it was the creation of a new .htaccess file and wp-config file for 2.6 that did the magic, but I’m not certain of this, all I know is that it worked.

Related posts

8 Responses to “Anyone else have problems upgrading WPMu 2.6 with subdirectories?”


  1. 1 Mario A. Núñez Aug 8th, 2008 at 10:17 pm

    Thanks a lot for the advice.

  2. 2 Andrea Aug 9th, 2008 at 8:13 am

    Well, I’ve noticed the increasing amount of people with the issues, but no one’s filed a trac ticket yet.

  3. 3 Reverend Aug 9th, 2008 at 8:18 am

    @Andrea,

    Any ideas? It seems somewhat odd, especially since 1.5.1 worked fine. Perhaps it is an issue with the new salt keys? But, then again, I am just grasping at straws here. Hopefully this afternoon I’ll have some more time to troubleshoot the issue further and experiment, if it’s a no go, I guess I’ll be reverting back to 1.5.1 for the time being.

  4. 4 Joe Aug 9th, 2008 at 1:50 pm

    I don’t have any information to solve the problem, just the ever-annoying “it worked fine for me.” We’re using subdirectories, and although we don’t have many yet, they’re all working fine and logging in fine after the upgrade.

    If we could figure out the difference between our installation and yours, we might actually have a clue.

  5. 5 Reverend Aug 9th, 2008 at 5:16 pm

    Joe,

    Thanks for weighing in here, I was beginning to think this was the case for all WPMu 2.6 installs with subdirectories –silly me. I love to generalize the whole from my two installs ;)

    I actually found a fix, and updated the post with the details. I think the problem had something to do with creating clean .htaccess and wp-config files. Often I just overwrite the core files (save wp-content folder), and leave these two files in. And while I have been updating the wp-config in recent upgrades because of the salt_key stuff, I usually leave the .htaccess file alone. That may have been the culprit this time around.

    However, I can’t confirm that much beyond my own experience, which I do love to generalize for the world, as you now know, but I’m trying not to assume this anymore. In other words, I’m growing up.

  6. 6 Joe Aug 9th, 2008 at 7:15 pm

    Aha–well, I can’t be positive that that’s the reason, but I did use the htaccess and wp-config from the downloaded installation–deleting my old ones, rather than overwriting.

    (But I am having trouble getting per-user theme plugin to work right. Haven’t had been able to fiddle with it much, but the first try was unsuccessful. It’s on my to-do list!)

  7. 7 Reverend Aug 10th, 2008 at 8:22 pm

    Joe,

    Yeah, that kinda confirms my hunch. it is strange, because I didn’t change the.htaccess file for the dynamic subdomains install, and that worked fine –who knows?

    As for Userthemes, let me know your issues, I think I can work you through it.

  8. 8 Russ Aug 14th, 2008 at 9:15 am

    Thanks for the heads up, Jim. After the problems we had with the last upgrade to 2.5 - namely a bunch of blogs’ pages being changed to posts - I’m reluctant to do another until WPMu fixes their upgrade issues. This is really helpful, though.

Leave a Reply




EDUPUNK: DIY EdTech

about

bavatuesdays.com is an ongoing conversation about media of all kinds ...

Testimonials:

Generations from now, they won't call it the Internet anymore. They'll just say, "I logged on to the Jim Groom this morning.
-Joe McMahon
Everything Jim Groom touches is gold. He's like King Midas, but with the Internet.
-Serena Epstein

I am Jim Groom

Find out more about me here.

browse the bavarchive

I'm a twit

random gems from bavarchive

Living in Dreams: Wong Kar-Wai Jason and the Argonauts vax780_resume FeedWordPress Options (3) Friday the Thirteenth Bride of Frankenstein
View more photos >

My netflix


The HitcherMy Neighbor TotoroMade for Each Other

Polls

What are your five favorite film adaptations of a Stephen King novel or story?

  • The Shining (1980) by Stanley Kubrick (23%, 34 Votes)
  • Shawshank Redemption (1994) by Frank Darabont (21%, 32 Votes)
  • Stand by Me (1986) by Rob Reiner (18%, 27 Votes)
  • Misery (1990) by Rob Reiner (17%, 25 Votes)
  • The Green Mile (1999) by Frank Darabont (13%, 19 Votes)
  • Carrie (1976) by Brian DePalma (11%, 17 Votes)
  • The Dead Zone (1983) by David Cronenberg (8%, 12 Votes)
  • Creepshow (1982) by George Romero (5%, 7 Votes)
  • Pet Cemetary (1989) by Mary Lambert (5%, 7 Votes)
  • The Mist (2007) by Frank Darabont (4%, 6 Votes)
  • Firestarter (1984) by Mark L. Lester (3%, 4 Votes)
  • The Running Man (1987) by Paul Michael Glaser (3%, 4 Votes)
  • Cujo (1983) by Lewis Teague (2%, 3 Votes)
  • Christine (1983) by John Carpenter (2%, 3 Votes)
  • Children of the Corn (1984) Fritz Kiersch (2%, 3 Votes)
  • Cat's Eye (1985) by Lewis Teague (1%, 2 Votes)
  • Dreamcatcher (2003) by Lawrence Kasdan (1%, 2 Votes)
  • Maximum Overdrive (1986) by Stephen King (1%, 2 Votes)
  • The Lawnmower Man (1992) by Brett Leonard (I imagine Stephen King would suggest this should not be on the list) (1%, 2 Votes)
  • Dolores Claibourne (1995) by Taylor Hackford (1%, 2 Votes)
  • The Dark Half (1993) by George Romero (1%, 2 Votes)
  • Apt Pupil (1998) by Bryan Singer (1%, 1 Votes)
  • Thinner (1996) by Tom Holland (1%, 1 Votes)
  • Needful Things (1993) by Fraser Clarke Heston (1%, 1 Votes)
  • Silver Bullet (1985) by Daniel Attias (1%, 1 Votes)
  • Sleepwalkers (1992) by Mick Garris (1%, 1 Votes)
  • The Mangler (1995) by Tobe Hooper (0%, 0 Votes)
  • Sometime's They Come Back (1991) by Tom McLoughlin (0%, 0 Votes)
  • Creepshow 2 (1987) by Michael Gornick (0%, 0 Votes)
  • Graveyard Shift (1990) by Ralph S. Singleton (0%, 0 Votes)

Total Voters: 150

Loading ... Loading ...