Knowledge Base

Can’t save a Template containing the {exp:query} EE Tag

Problem: I can’t save a Template that contains a SQL query or uses the {exp:query} EE Tag.

Solution: Some Hosts have security implemented that does not allow the POSTing of data containing the phrase “select from”.  This is done in an attempt to help prevent hacking attempts, but it can also interfere with normal operations of dynamic-powered sites like an EE site.

If you encounter this behavior then you should discuss the situation with your Host/server admin.  On suggested solution was to add this line to a .htaccess file:

SecFilterEngine Off


This may or may not work for you, so you should contact your Host or server admin.

Last Updated on Feb 27, 2007 at 09:52   ( Permalink )
Category: Technical Issues, Troubleshooting