Results 1 to 6 of 6

Thread: Can't edit a layout, 501 Method Not Implemented

  1. #1
    New user
    Join Date
    07-14-10.
    Posts
    7

    Default 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

  2. #2
    User
    Join Date
    06-19-09.
    Posts
    328

    Default Re: Can't edit a layout, 501 Method Not Implemented

    which webserver are you using?
    Consulenza Contao CMS https://www.intco.it

  3. #3
    New user
    Join Date
    07-14-10.
    Posts
    7

    Default 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

  4. #4
    User
    Join Date
    06-19-09.
    Posts
    328

    Default 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.
    Consulenza Contao CMS https://www.intco.it

  5. #5
    New user
    Join Date
    07-14-10.
    Posts
    7

    Default 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

  6. #6
    New user
    Join Date
    07-14-10.
    Posts
    7

    Default 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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •