(franken)log

dev site for hy(de)blog

2023-02-19 Sunday

Preparing the platform as it exists in the moment for regular daily use over at log.kvl.me.

Stand by for more details soon(ish).

Comments

Have something you'd like to respond with? 📣

Send me a note via email and let's start a conversation on this very topic.

Replaced mentions of $p on lines58, 60, and 62 with $post.

The former was throwing an error when deleting a comment, the latter seems to be working just fine.

Comments

Have something you'd like to respond with? 📣

Send me a note via email and let's start a conversation on this very topic.

Error checking... ugh.

Just when I thought things were good I looked in the error_log. I shouldn't have done that...

As a result, I've finished working through every page on the site to fix errors.

Most errors were related to pages, and not having any date, month, year, or auth variables captured in them. This likely wasn't an issue before with HTML structures only requiring what was available for individual pages, but with the shared header/footer/sidebar I built out lots of errors regarding missing variables were showing up. Adding the following to most pages that didn't have any reference to these variables seems to have solves the issue:1

$date = $year = $month = '';
#auth = '';

The only errors which remain are related to RSS related things, specifically with the NOW page feature that Colin has built in to work with The 'now' namespace. I'll take a look at this later but it isn't a priority at the moment.


  1. I have no idea if this is the best fix, but it is a fix and one which works. 

Comments

Have something you'd like to respond with? 📣

Send me a note via email and let's start a conversation on this very topic.

Things are ready to move over to https://log.kvl.me sometime in the coming week.

Given that I changed the urls for the feeds, I need to update my current site with a note to ensure that anyone subscribing won't miss any updates in the future once I make the switch.

Comments

Have something you'd like to respond with? 📣

Send me a note via email and let's start a conversation on this very topic.