[an error occurred while processing this directive]

Re: [an error occurred while processing this directive]

by Gordon Bateson -
Number of replies: 0
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Interestingly, we get the same message when trying to access a file that does not exist:

So I think this message means simply that there was some kind of error on the server - not actually an SSI error. First there is an error. Then, when trying to report the initial error, the server has a further error in SSI.

Therefore, to get the full story, you need to look in the server logs. If you are using Apache as your web server, then there should be an error log which will tell you what is causing the "an error occurred while processing this directive".

It may also be useful to try enabling Moodle debugging:

  • Administration -> Site administration -> Development -> Debugging
  • Debug message: DEVELOPER
  • Display debug messages: (check this box)

You said that the hosting support desk told you that following lines are causing the error:

  • RewriteCond %{HTTP_HOST} ^www.epikinonia.org$
  • RewriteRule ^/?$ "http\:\/\/www\.google\.com\/a\/epikinonia\.org" [R=301,L]

The second line doesn't look right to me. Those """ strings should each be a double-quote character, i.e. ", shouldn't they? 

The people who told you that information, can probably also tell you where the error log is on your server.

HTH 
Gordon