The mystery of the missing themes

The mystery of the missing themes

As you may have figured, I work with WordPress MU a lot. Like every day a lot. I also work with themes a lot. (Don't ask how many are on my local install to play with. I could host my own repository.)

My normal work flow is to upload a zipped theme to the themes directory and unpack it on the server. It's just faster for me, and works fine and dandy. Every so often, twice now, I'd find a theme that just would not show up in the Site Admin->Themes menu no matter what I tried. Even the same theme on different installs. It would work locally for me or in single WordPress installs, and other people said the same themes worked on their WPMU installs.

It was like it wasn't working just for me, to spite me. Usually something like this is User Error, but I even got people (*cough* Ron *cough*) to check my work.

Today I *finally* figured it out - it was a permissions issue! For some reason all the themes' files were set to 444. When I set them to 644, it suddenly showed up in the themes list.

Weird. I haven't looked at the code yet, but I will and if there's a check in there I'll file a ticket. 🙂  Because that was driving me nuts.

  • Dr. Mike Wendell
    Posted at 16:09h, 30 September Reply

    I’ve seen themes set to 600 a number of times as well. Those don’t show up either.

  • Klark
    Posted at 17:45h, 01 October Reply

    I’ve found a weird something like this happening when the theme name doesn’t begin with a Capital Letter. Never noticed it on regular wordpress before, but that kinda surprised me.

  • Skip
    Posted at 10:27h, 13 October Reply

    Would probably be worth expunging this error in the WP Forums to try and get them team to add some code to check the permissions of themes and throw an error when they are not correctly set.

  • Andrea
    Posted at 10:52h, 13 October Reply

    I’ll be filing a trac ticket, becasue that’s how bugs get fixed,. 🙂 Not via forums posts.

Post A Comment