Support #178

Updating Ticket Fatal Error (501)

Added by Mark Cox almost 14 years ago. Updated over 12 years ago.

Status:Closed Start date:20 Mar 2013
Priority:High Due date:
Assignee:- % Done:

0%

Category:-
Target version:-

Description

I get the following error code when updating a ticket from within the WHMCS client area:

Fatal error: Uncaught exception 'kyException' with message 'HTTP error: 501' in /home/servupro/public_html/myaccount/modules/support/kayako/API/kyRESTClient.php:195 Stack trace: #0 /home/servupro/public_html/myaccount/modules/support/kayako/API/kyRESTClient.php(239): kyRESTClient->processRequest('/Tickets/Ticket', 'PUT', Array, Array, Array) #1 /home/servupro/public_html/myaccount/modules/support/kayako/API/kyObjectBase.php(269): kyRESTClient->put('/Tickets/Ticket', Array, Array) #2 /home/servupro/public_html/myaccount/modules/support/kayako/API/kyObjectWithCustomFieldsBase.php(41): kyObjectBase->update() #3 /home/servupro/public_html/myaccount/modules/support/kayako/updateticket.php(26): kyObjectWithCustomFieldsBase->update() #4 /home/servupro/public_html/myaccount/modules/support/kayako/viewticket.php(96): require_once('/home/servupro/...') #5 /home/servupro/public_html/myaccount/viewticket.php(0): unknown() #6 {main} thrown in /home/servupro/public_html/myaccount/modules/support/kayako/API/kyRESTClient.php on line 195

Mehar said that the GET method isn't enabled on my web server, but I thought it was automatically enabled on Apache / cPanel.

Any help would be appreciated!

History

Updated by Amarjeet Kaur almost 14 years ago

Hi Mark,

It seems like 'PUT Method' is disabled at your server. To update ticket, you need to enable this method at your end.

Kindly enable this method, and let us know, if you still face any issue regarding it.

Thank you,
Amarjeet Kaur

Updated by Mark Cox almost 14 years ago

Amarjeet,

I'm embarrassed to say that my server admin isn't exactly sure how to enable the PUT method. It seems it can be enabled by modifying the httpd.conf file or an .htaccess file, but I'm not exactly sure about it. Can you please describe how to do that?

Also, I assume that since this error is being thrown from the WHMCS installation, it's for the WHMCS installation web site that it needs to be enabled, correct?

Thank you,
Mark

Updated by Mark Cox almost 13 years ago

By the way, does it matter that both my WHMCS_URL and API_URL use SSL (https)?

Updated by Mark Cox almost 13 years ago

Amarjeet,

Ok, I finally figured out how to enable the PUT method and everything is working. However, wouldn't I be wise to disable it for all folders but the one that requires it? If you agree, perhaps you can help me with the correct syntax to be included in my httpd.conf file.

Thank you,
Mark

Updated by Thomas almost 13 years ago

Thanks for letting everybody on the interweb know just how you fixed it Mark, really appreciate it.

Updated by Amarjeet Kaur over 12 years ago

  • Status changed from New to Closed

Also available in: Atom PDF