Thursday, September 17, 2009

[an error occurred while processing this directive]

September 17, 2009

Error while working with a template using Dreamweaver.

Received this error message while using the university's new template that I was using to create a web page for viewing Lowerthird samples online.

[an error occurred while processing this directive]

This would not show while previewing on a local browser from Dreamweaver but showed up once posted on the server and then viewed.

After looking around online it sounded like a server side include. I found this article:
http://www.ozoneasylum.com/11164

This article had an example:
This line of code caused this error message.
<--#exec cgi=/cgi-bin/stats/stat.cgi" --->





So I search my code and it turned out the culprit was line 156 :
<---#include virtual="myfooter.html" -->

I removed this line of code and the error went away.


DJ

No comments:

Post a Comment