Blog facelift

It’s been a few years since I’ve updated the look of the site. This is more a nudge than a top-to-bottom refit; I’m using a newer WordPress theme that gives me a little more column width for the main content, something that’s been bothering me previously, and a few other things have been tweaked, but otherwise it should look and feel pretty similar to what was here before.

I’ve updated the sidebar content and Music and Project page stuff as well; two years out of date is pretty out of date for me, considering how ephemeral a lot of my projects are. So some obsolete stuff has been nixed and a lot of new stuff form the last couple years is now properly featured.

Dreamhost and case-sensitivity in WordPress’ current_theme value?

At shortly before 2 am, server time, despite a lack of any change to my local files, this site stopped serving content correctly and instead began chucking out 500 errors. error.log was full of “premature end of headers” messages for every attempt to load a WordPress .php script, though serving files and raw directories was still working fine.

I tried a few things but couldn’t find a problem: WP’s actual files seemed fine (diffs against a same-version install for another site turned up nothing, etc) and it wasn’t a rogue plugin, and .htaccess was fine (and more on that below*), etc.

What ended up doing the job was blowing out “phoenixblue” in the wp_options table’s “current_theme” value. I replaced it with “default” just to see what would happen. What did happen is that I loaded the site and it came up looking just fine. And not looking like it was using the default uggo WP theme, either. Taking a look at the db again, I found that “current_theme” had been redefined as “PhoenixBlue”.

So did DH reconfigure something such that the handling of the theme name got case-sensitive overnight? Or what? I’m boggled.

* On the .htaccess front, I saw about ten days ago the sudden failure of this site to load, again without any recent change on my part; in that case, nothing, not even plain files or raw directories, were loading. The fix was to blow a couple of lines out of my .htaccess file:

RedirectMatch ([0-9]{4})([0-9]{2})([0-9]{2})_[0-9]{4} /$1/$2/$3/ [L]

Not really a problem, since it was a years-old redirect from when I moved to WP in the first place from some home-rolled blog software with a different permalink structure. But, again, something changed and not on my end, which is weird. The server had rebooted with no warning earlier in the day when that happened, so that’s almost certain when the change, whatever it was, happened. Dreamhost reconfiguring apache in a way that borked the old .htaccess functionality, maybe?

I don’t know enough about Apache or .htaccess to be confident in assaying the correctness or potential quirkiness of the above bit of mojo; it’s possible they just reconfigured something in a way that made bad code that shouldn’t have worked in the first place finally actually not work, I don’t know. But ugh. It’s been a fun couple weeks.

joshmillard.com gets a makeover

Hey, things around here look kind of, uh, different. What the hell is going on?

WordPress is what. Though I am terribly proud of the home-rolled code on which joshmillard.com has been running since October ’05, I have gotten tired of never implementing more features. Or fixing existing ones. Or anything else.

And so, here: I’ve recreated the general look and feel, sexed things up a little bit, and imported all of my old posts. Hopefully nothing much is broken—if it is, let me know. Just leave a comment. Because there are comments now. Another bonus.

More various and interesting news to come. It’s been a productive week.