Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Weird Problem - Can't Save Forms - Help!
This problem only occurs in the Presentation – Forms area. I simply can’t save a form, click the save button and it takes you back to the home page with a 404 error. Pages, CSS, other areas are fine. Can edit the database directly without issues.
Any Idea???
htaccess file:
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#Options -Indexes
<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteBase /relative/web/path/
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [PT,L]
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*) index.php
RewriteCond %{HTTP:Authorization} !^$
RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>
#php_value register_globals 0
Offline
Re: Weird Problem - Can't Save Forms - Help!
Check with your host about disabled modsec rules – I have to do that with my current host for exactly the same problem – everything else was fine, just saving forms
Offline
Re: Weird Problem - Can't Save Forms - Help!
Disabling the modsec rule fixed the problem, but would this not open a security hole? Also I think this would be a bug as it only happens on the form page.
Offline
Re: Weird Problem - Can't Save Forms - Help!
Yes – its a trade of between security and usability…
I reported what my host mentioned here http://forum.textpattern.com/viewtopic.php?id=32302, but didn’t get replies… so I’m ‘presuming’ that this is host specific.
The only other thing to do would be to change host
Offline
Re: Weird Problem - Can't Save Forms - Help!
shayne wrote:
Disabling the modsec rule fixed the problem, but would this not open a security hole?
If disabling the filter decreased your security, that would mean that TXP has a security hole. Disabling the filter for admin pages shouldn’t cause problems.
Security filters are not really a thing that I would call “security”. They are used to block abuses, known holes and save money, and as a side effect, cause conflicts with other software.
Also I think this would be a bug as it only happens on the form page.
You mean that it’s a bug in Textpattern? Unlikely. It’s a conflict with the filters your host has set up. TXP can’t really change what your host filters, or change post parameters just because some other software did use fields with same names.
I would suggest turning the filter off for TXP’s admin panel, setting up a whitelist or removing the item from the blacklist.
Last edited by Gocom (2010-08-19 23:48:33)
Offline
Re: Weird Problem - Can't Save Forms - Help!
Thanks Gocom. So this would include everything under www.website.com/textpattern
Offline