Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-08-18 22:45:07

shayne
Member
From: Toronto
Registered: 2005-02-22
Posts: 34
Website

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

#2 2010-08-19 06:48:56

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

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

#3 2010-08-19 22:18:56

shayne
Member
From: Toronto
Registered: 2005-02-22
Posts: 34
Website

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

#4 2010-08-19 22:39:29

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

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

#5 2010-08-19 23:36:28

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

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

#6 2010-08-20 00:49:12

shayne
Member
From: Toronto
Registered: 2005-02-22
Posts: 34
Website

Re: Weird Problem - Can't Save Forms - Help!

Thanks Gocom. So this would include everything under www.website.com/textpattern

Offline

Board footer

Powered by FluxBB