Can't edit a layout, 501 Method Not Implemented
I don't seem to be able to edit a layout. I get the following error when I try to save (even when I change nothing):
501 Method Not Implemented
GET to /contao/main.php not supported.
The url I'm on is: /contao/main.php?do=themes&table=tl_layout&act=edit&id=4
Surely this can't truly be the problem: we're doing a POST here, and in any case the browser had to do a GET to show the edit page.
Normand
Re: Can't edit a layout, 501 Method Not Implemented
which webserver are you using?
Re: Can't edit a layout, 501 Method Not Implemented
Here's the version info for everything:
Contao version 2.11.5
Apache version 2.2.22
PHP version 5.2.17
MySQL version 5.0.96-community-log
Architecture x86_64
Operating system linux
Thanks
Re: Can't edit a layout, 501 Method Not Implemented
post the relevant part of your apache log
(should be into <apache_dir>/logs/error.log)
anyway this is not a Contao problem but a webserver configuration issue.
Re: Can't edit a layout, 501 Method Not Implemented
There's nothing in the Apache error log other than a bunch of 404s for old pages.
The Contao System log also doesn't show anything (just my login event).
Thanks for the help so far ga.n; I think I'll stop wasting your time and take this to an Apache forum (although I might be back if it has something to do with Contao, as there is some suggestion that secFilter might be rejecting something in the form POST).
Normand
Re: Can't edit a layout, 501 Method Not Implemented
FYI: the problem is solved, sort of.
On the form for editing a page layout, there is a textarea for "Custom javascript code". We had some js code in there, which was triggering some sort of security filter, I guess. Upon removal, the page can now be submitted successfully.
I'll look into why the script prevented submission.
Normand