Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-10-06 23:04:20

aoeoae
New Member
Registered: 2006-08-13
Posts: 9
Website

404 when Saving templates (except for error_default)...

When I save a template other than error_default I get a 404 page. The edits don’t go through at all, I can re-login to see the old templates. Only saving the error_default template works. I have tried reinstalling all of the files (except config.php) in the textpattern directory but it still doesn’t work. I can edit all Forms, Style and Sections, just not templates except for error_default.

Last edited by aoeoae (2006-10-06 23:09:44)

Offline

#2 2006-10-06 23:19:19

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: 404 when Saving templates (except for error_default)...

Given that you get the error, depending on the content of the form you are trying to save, this is probably a security/filtering setting of your host. See this entry:

http://textpattern.com/faq/89/412-precondition-failed

Check with your host, whether they have something like that running, and how you can turn it off.

Offline

#3 2006-10-07 14:43:03

aoeoae
New Member
Registered: 2006-08-13
Posts: 9
Website

Re: 404 when Saving templates (except for error_default)...

Ok, my host says any security problem would throw a 403 error, not the 404 I’m getting. Any idea on what else it could be?

Last edited by aoeoae (2006-10-07 14:43:46)

Offline

#4 2006-10-07 15:03:33

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: 404 when Saving templates (except for error_default)...

When the error-pages are configured wrongly in the webserver, this will lead to a 403 and additionally a 404, or in the case of textpattern, with clean urls, it can lead to textpattern handling the 404 error. For testing, you can temporarily remove the .htaccess-file, and then try saving your form. What kind of error do you get now?

Offline

#5 2006-10-07 16:02:04

aoeoae
New Member
Registered: 2006-08-13
Posts: 9
Website

Re: 404 when Saving templates (except for error_default)...

Sencer wrote:

When the error-pages are configured wrongly in the webserver, this will lead to a 403 and additionally a 404, or in the case of textpattern, with clean urls, it can lead to textpattern handling the 404 error. For testing, you can temporarily remove the .htaccess-file, and then try saving your form. What kind of error do you get now?

Ok, now I’m getting a 403 after removing .htaccess. I’m letting my host know.

Last edited by aoeoae (2006-10-07 16:03:44)

Offline

Board footer

Powered by FluxBB