Announcement

Collapse
No announcement yet.

Error 405 When Trying to edit or save anything

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error 405 When Trying to edit or save anything

    Whenever I try to edit, save or delete anything, including settings, I receive an Error 405. There are no log files being created in data/logs so I pulled them from the browser.

    IIS 7.5
    PHP8
    MYSQL8
    EspoCRM 6.1.5

    jquery-2.1.4.min.js:4 DELETE http://MYSITE/api/v1/Task/606572929def9f203 405 (Method Not Allowed)
    send @ jquery-2.1.4.min.js:4
    ajax @ jquery-2.1.4.min.js:4
    Backbone.ajax @ backbone-min.js:1460
    Backbone.sync @ backbone-min.js:1443
    sync @ backbone-min.js:437
    sync @ model.js:55
    destroy @ backbone-min.js:681
    eval @ VM148:1804
    onClick @ ui.js:401
    (anonymous) @ ui.js:219
    dispatch @ jquery-2.1.4.min.js:3
    r.handle @ jquery-2.1.4.min.js:3

    jquery-2.1.4.min.js:4 PUT http://MYSITE/api/v1/Task/606572929def9f203 405 (Method Not Allowed)
    send @ jquery-2.1.4.min.js:4
    ajax @ jquery-2.1.4.min.js:4
    Backbone.ajax @ backbone-min.js:1460
    Backbone.sync @ backbone-min.js:1443
    sync @ backbone-min.js:437
    sync @ model.js:55
    save @ backbone-min.js:648
    inlineEditSave @ VM206:573
    eval @ VM206:604
    dispatch @ jquery-2.1.4.min.js:3
    r.handle @ jquery-2.1.4.min.js:3

  • #2
    Hello,
    Please check this post https://forum.espocrm.com/forum/general/49656-erorr-405.

    Comment


    • #3
      Which handler mapping do you believe the PUT command is the issue? And DELETE?

      Comment


      • #4
        I got it sorted out by adding the verbs to the PHP handler mapping. Thanks for getting pointed that way. Cheers

        Comment

        Working...
        X