I came across this maddening error, when I had a website I needed to archive.  I spidered the website, had a local copy that looked good, and uploaded the website.  But, now the website had “an error occurred while processing this directive” right where some important content existed (the sidebar).

As it turns out, the error is from SSI – server side includes.  I had

<!--#comment-->

sprinkled liberally throughout the code.  And yes, it was a wordpress blog I intended to archive.  The wordpress theme had rendered the code after the SSI, so it would work fine while in wordpress, but would not upload correctly.

Solution:

change
<!--#comment-->
to
<!-- comment-->
Totally easy fix, once you know.

Hope that helps,

–Ben

Sources:  Bluehost Forum

Related posts:

  1. Monitor Your Website for Hacks – PHP Code Gives a Hash I’ve had some friends get their website hacked with a nefarious little code snippet that attempts to exploit the browser of visitors.  The site looks no different, but...
  2. Free Must Have Website Checking Tools I’ve been working on updating the skin to this site, and I wanted to comment on a couple of tools that I think are useful: Port 80 Software...
  3. Fix – Internet Explorer 8 (IE) not rendering sites correctly As is not uncommon in the web development world, I was so mad at IE I was ready to delete my bootcamp partition off my Mac and microwave...
  4. Fix – 1and1 hosting not updating or plugin problems I just found out why my wordpress installation was not working as I expected.  My wordpress updates would hang/not complete and the plugin installations would hang/stop or come...
  5. Turn a Picture into a Website with Free Image Map Tool – CSS Support Too! I’m currently working with a company on the Utah Genius Website.  I needed a layout quickly, as our invitations were about to be sent out.  The company had...