Recently, I helped a client make a station with DedecMS, but the error message “an error while processing this directive” was displayed on the foreground. After searching this prompt, I found that many people encounter this problem, not only in Dedecms, but also in other CMS.
This shows that the problem is not CMS, but the template, searched a lot of information, did not find the specific reason. Today careful inspection, finally found the reason.
It turned out to be the fault of comments. I would often end DIV with comments such as < Div id = “left” & gt; , I’ll put the closing tag < div> < ! – # left – & gt; That’s the problem with the pound sign. A lot of CMS USES < ! – # include file = “chenqinghua. HTM” – & gt; The subtemplate is referenced in this way, and “< ! “– #” is the key, and it conflicts with the template engine. Just drop the # sign.
Read More:
- An error occurred while processing your request
- errorCode: 500, msg: , result: {“Message”:”There was an error processing the request
- There is an unhandled exception at: 0xc0000005: an access conflict occurred while reading location 0x00000000.
- An Ajax HTTP error occurred in drupal7 installation occurred.HTTP Result Code
- An error occurred while collecting items to be installed
- VS 2010: An error occurred loading a configuration file: Failed to map the path ‘/’.
- An error occurred when starting Tomcat in Eclipse: the sub container failed to start
- Using nginx page to report an error occurred
- The sharepoint2010 site cannot open a solution that displays an “an unexpected error has occurred” error
- “An error occurred while adding a recovery system to the destination disk
- There has been an error processing your request magento
- Failed to upload report – An error has occurred. Please contact your administrator
- Magento prompts “there has been an error processing your request”
- Springboot uses druid to log in MySQL. An error occurred: access denied: errorcode 1045, state 28000
- An error occurred when installing vs2017: failed to verify the signature of the installation program list
- An error occurred trying to connect: get http: / / var / run/ docker.sock/v1 .21/containers/json?all
- Solution to “An error occurred while loading the archive” appears when decompressing the rar file compressed package
- An authentication error occurred in the remote desktop connection
- An error occurred during win10 PostgreSQL installation: “failed to load SQL modules into the database cluster“
- An error occurred while loading commit signatures