Tit for Tat
1037 words long
A cupid had set his sights on Michaela while she tended her bar, and it’s not like Michaela didn’t have enough problems already.
this fictionette has no time for cupids or obsolete code
- 1,037 words (if poetry, lines) long
Hey! Guess what?! The blog is working. Today's post should be visible in REAL TIME. So without further ado, I bring you the on time publication of the Friday Fictionette for November 4: "Tit for Tat" ( ebook | audiobook ) in which we have absolutely no time or patience for cupids.
So my plan was to work on the novel after I got the Friday Fictionette up. But today I just said "eff it" and started poking at the non-functioning code. I mean, yes, my domain host support people got back to me two days ago asking me to verify that my email had actually come from the account holder. Cool. But I hadn't heard a peep from them since, and I was tired of having a broken blog. So let's at least take a look and see if it could be fixed from my end, yeah?
So it could. Here's the deal, in brief: I'd written some PHP code that conflicted with a reserved word. I'd created a class and called it SessionHandler; PHP already has a class called SessionHandler. The real question is, how the hell was my blog working at all before last week? Well, since the native class SessionHandler has only been available since PHP version 5.4.0, I can only guess that my server only got updated to 5.4.0 or above around October 27 or so. I don't know how to verify that. I do know we're currently running PHP 5.4.45, but I don't know how long that's been the case.
Anyway, I renamed my class to MySessionHandler, and everything worked like magic after that.
Note to self: Stay current on PHP and keep your code maintained, OK? OK.