site  contact  subhomenews

Blog fixed

October 30, 2012 — BarryK
The Category and number of comments of each post was not displaying. I spent all day yesterday trying to find out what was wrong with the database -- PPLOG has it's own flat-file plain-text database.

I got somewhat depressed as I couldn't fix it.

Then last night I installed a few other blogs and played with them for awhile.

Then this morning I took a fresh look at my PPLOG blog. It occurred to me that the problem might be with my host, hostgator.com, some subtle change in how Perl works.

That's what it turned out to be. I have just about zero knowledge of Perl, so it was a painful process, but I discovered a bug in some "print" statements. My guess is that Hostgator have updated Perl, which has a subtle change in syntax requirement. Hmmm, I would have expected this of Python, not Perl.

Anyway, I was able to fix the syntax.

Tags: general