Debug day

Ugh, what a day. I spent basically all day trying to reconstruct the Irregular Webcomic! forums after yesterday’s disastrous PHP upgrade event on my webhost.

I tried several things, battling with cryptic documentation and apparently non-working installers. I installed a brand new copy of the latest version of phpBB, expecting that I could import/convert the old database containing all the forum poster user data and posts. The installer said there was a convertor included, but when I got to that step, it just wasn’t there. I fiddled around for some hours, trying things, searching for help, discussing with other people. Eventually I tried the installer again, and lo, this time the mysterious convertor interface was there! I don’t know why it wasn’t there the first time.

Anyway, I managed to import the old database, so all of the old forum data is now in the new forums. It looks like it’s working fine, but all of my graphical customisations have vanished. I may try to reinstate some of them, but it was actually the extensive modifications I made to the previous forum’s appearance that caused me to give up upgrading the software in the first place, since the customisations and upgrades interfered with each other and made the upgrade process a real pain in the neck each time. So this time I plan to keep any modifications minimal, so that I can keep the software up to date and hopefully avoid this sort of issue again.

While doing all this, I also got a report that the PHP 7 upgrade has also broken the comics on mezzacotta.net. I spent a bit of time debugging that as well, replacing some deprecated/removed functions. The code now seems to run okay under PHP 7 on the command line, but for some reasons it’s still failing when run via the web page. So I’m currently stumped on that one.

I also squeezed in a few other minor coding tasks in between bashing my head on a brick wall all day. I finally figured out getting an SSL certificate for Darths & Droids, so now the site loads with that trendy padlock icon instead of the “This site is not secure” warning. I’ll add this to all my sites in the next day or so – there’s apparently an interaction with WordPress sites that makes it less trivial than what I did today.

And I set up my new photography website on a brand new domain: dmm.photo. I’ll be expanding this site a bit soon, with a view to offering photo prints for sale. Oh yeah, and it links to a trendy new Instagram that I’ve started too: @davidmorganmar. These two items are part of a campaign I’m beginning to try and make some income as a photographer. Since it’s something else I love doing, like making comics.

New content today:

One thought on “Debug day”

  1. I spent a full day a couple of weeks ago fighting with Apache when it mysteriously decided it didn’t want to run PHP any more. Instead, it ignored its configuration files and offered to download the scripts. You have my sympathy.

Leave a Reply

Your email address will not be published. Required fields are marked *