A Lesson Learned in Debugging Blog Templates

Unbelievable! I was up late last night trying to figure out why my blog home page suddenly stopped showing up in Internet Explorer. It happened at the same time went down with a hardware upgrade so I figured that must have been the problem. It made sense to me at the time.

However, after was back up — still no homepage, and yet my post pages were still there. It also worked fine in Firefox and Opera.

WEIRD!

So I spent hours fiddling with the and almost gave up until I decided to go retro with an older version of the template and ouilla I was back!

I pieced back the latest upgrades a bit at a time, saving it then republishing and testing it again. It was a painstakingly tedious process but well worth it because eventually I came across a title tag that wasn’t closed properly. When I fixed it everything was back to normal again.

Imagine that such a small thing could stop IE dead in its tracks. You would think that stuff like that should throw Firefox for a loop because it is more standards compliant and less tolerant than IE.

Under normal circumstances I would have just reverted back to the older and pieced it back together from the start, but because it happened simultaneously with ’s upgrade I had errantly convinced myself that it had to be related. Silly me.

I had also noticed some weird things happening with the html rendering that convinced me the may have somehow been corrupted. But in hindsight I was making it more complicated than it needed to be.

So there’s a good lesson for us all. Always make sure you save a backup of your template before changing it. So when it all goes wrong (and believe me it will) you can fall back to a previous version. And just like when you got lost in the woods, backtrack one step at a time until you get your bearings again. That is the first and foremost rule of .

It’s also a good idea to have a test account set up and do your experimenting there and not with your primary blog. That’s good advice for everyone including an old hand at programming such as myself. Sometimes I can still get a little too cocky for my own good.

While I was at it I also fixed the left sidebar menu. Now I have to get the top banner to behave better with larger fonts. After that I will look into making the entire template fit higher screen resolutions, but only after I pick up a ferret for my daughter and get some sleep.

Such is a geeks life. As frustrating as it can be at times I wouldn’t have it any other way.

UPDATE ->


Related links: blog bloke, instabloke, website design, template, debugging, blogtech, webtech

blog tip with your friends if it has helped your blogging experience


Subscribe to the Newsfeed for even more great Blog Tips!
Leave a Comment... Tell me what you think, ask a question or suggest a blog tip you want me to write. Don't forget the comments policy and thanks for reading Blog Bloke.

3 Responses so far to “A Lesson Learned in Debugging Blog Templates”

  1. i just discovered this blog and it’s great… thanks for such a great resource.

  2. Thanks Seth!

  3. Nice template you got here, i wanna to share my first hand made template if you dont mind, check http://www.tipscollections.com for free xml blogger templates

    Taufik Hidayat’s last blog post..Love Blogger Template: Valentine 5

Leave a Comment and Join the Conversation...

Subscribe to RSS comments for this post | TrackBack URL

You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

I love comments and I'm looking forward to reading yours. Thanks for dropping by and don't forget to Subscribe to the Newsfeed Subscribe to my Newsfeed.