swak / carrington

Automatically exported from code.google.com/p/carrington
0 stars 0 forks source link

the "an error occurred while processing the directive" error message #48

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. install this theme to a nginx servered wordpress blog
2. active the theme
3. visit this blog, you will see the error message.

What is the expected output? What do you see instead?

everything is ok, except an error message say [an error occurred while 
processing the directive]

What version of the product are you using? On what operating system?

1.1, also tested 1.2

Please provide any additional information below.

this error message is outputed by nginx, if you enter the theme directory, grep:
shell> grep "#content" -rl ./
files contains a comment of "<!--#content-->" will listed.
then I use sed command replace the comment to blank:
shell> sed -i 's/<!--#content-->//g' `grep "#content" -rl ./`
refresh page, and no error message appeared.

so I think it's a problem of nginx's ssi function, if the server enabled ssi, 
it will see you comment of <!--#content--> and try to parse it as an ssi 
include or anything else, then output the error message.

Original issue reported on code.google.com by yaw...@gmail.com on 19 Feb 2012 at 11:10

GoogleCodeExporter commented 9 years ago
I have the same problem. 

Original comment by cped...@gmail.com on 13 Aug 2012 at 10:07

GoogleCodeExporter commented 9 years ago
When I reinstalled, the standard page comes up fine. Then I created a simple 
page. I get the error. I have deleted the page and re-did page with another 
name,,, same problem.... created a new page called "test page" with content of 
"This is a test"... Same problem!!!

Original comment by cped...@gmail.com on 13 Aug 2012 at 10:09