Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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
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
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
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