Bug #140

404 Logging new ticket

Added by Mark Dalton over 6 years ago. Updated over 5 years ago.

Status:Resolved Start date:17 Jan 2013
Priority:High Due date:
Assignee:- % Done:

0%

Category:-
Target version:-

Description

Raising a new ticket the user selects a department and clicks next. On hitting next received a HTTP 404

The requested URL /whmcssubmitticket.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Kayako Version 4.52.2223 - STABLE / WHMCS Version 5.1.3

History

Updated by Amarjeet Kaur over 6 years ago

Hi Mark,

Can you please send the exact error, while ticket submission? Please make sure that you have done all code changes as mentioned in WIKI section.

Thank you,
Amarjeet Kaur

Updated by Mark Dalton over 6 years ago

That is the full error.

[Error]
Not Found

The requested URL /whmcssubmitticket.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at thetechlounge.co.uk Port 443
[/Error]

I did follow the Wiki but when I applied the "patched" files got another error that meant it wouldn't load at all.

Parse error: syntax error, unexpected T_PROTECTED in /home/ttl/public_html/helpdesk/__apps/tickets/models/Ticket/class.SWIFT_Ticket.php on line 3043

I logged a support ticket and was told to back out those changes and raise the issue here.

Updated by Amarjeet Kaur over 6 years ago

Hi Mark,

Please check your WHMCS_URL in WHMCS_installation_folder/modules/support/kayako/config.php

The URL should be followed by trailing slash like http://localhost/whmcs_proj/

Hopefully, it will solve your problem. Please let me know, if you still face the issue.

Thank you,
Amarjeet Kaur

Updated by Mark Dalton over 6 years ago

Thanks. Now I just get a blank page.

Updated by Amarjeet Kaur over 6 years ago

Hi Mark,

Can you please enable 'display errors' setting in admin panel, to get the exact error?

Thank you,
Amarjeet Kaur

Updated by Mark Dalton over 6 years ago

Where?

Please can you be more specific.

Updated by Mark Dalton over 6 years ago

Oh okay I am with you.

Fatal error: Uncaught exception 'kyException' with message 'HTTP error: 404' in /home/ttl/public_html/whmcs/modules/support/kayako/API/kyRESTClient.php:195 Stack trace: #0 /home/ttl/public_html/whmcs/modules/support/kayako/API/kyRESTClient.php(219): kyRESTClient->processRequest('/Base/CustomFie...', 'GET', Array) #1 /home/ttl/public_html/whmcs/modules/support/kayako/API/kyObjectBase.php(196): kyRESTClient->get('/Base/CustomFie...', Array) #2 /home/ttl/public_html/whmcs/modules/support/kayako/submitticket.php(95): kyObjectBase::getAll(Array) #3 /home/ttl/public_html/whmcs/submitticket.php(0): unknown() #4 {main} thrown in /home/ttl/public_html/whmcs/modules/support/kayako/API/kyRESTClient.php on line 195

Updated by Amarjeet Kaur over 6 years ago

Mark,

I think, you have not done all changes as mentioned in attached file 'swift_modifications.doc' in wiki section.
The above error is due to missing file 'class.Controller_CustomFieldGroup.php'.

Please do all the changes, to get it working properly.

Thank you,
Amarjeet Kaur

Updated by Mark Dalton over 6 years ago

I can't make heads nor tails of that document, but i did notice that when you download the files they have a .html extension.

I have reuploaded them and now get the following;

Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/ttl/public_html/whmcs/modules/support/kayako/API/kyHelpers.php:31 Stack trace: #0 /home/ttl/public_html/whmcs/modules/support/kayako/API/kyHelpers.php(31): SimpleXMLElement->__construct('<!DOCTYPE html ...') #1 /home/ttl/public_html/whmcs/modules/support/kayako/API/kyRESTClient.php(202): ky_xml_to_array('<!DOCTYPE html ...') #2 /home/ttl/public_html/whmcs/modules/support/kayako/API/kyRESTClient.php(219): kyRESTClient->processRequest('/Base/CustomFie...', 'GET', Array) #3 /home/ttl/public_html/whmcs/modules/support/kayako/API/kyObjectBase.php(196): kyRESTClient->get('/Base/CustomFie...', Array) #4 /home/ttl/public_html/whmcs/modules/support/kayako/submitticket.php(95): kyObjectBase::getAll(Array) #5 /home/ttl/public_html/whmcs/submitticket.php(0): unknown() #6 {main} thrown in /home/ttl/public_html/whmcs/modules/support/kayako/API/kyHelpers.php on line 31

Updated by Amarjeet Kaur over 6 years ago

Mark,

Kindly share your details with us to take a look in your files.
Please provide your details in ticket.

Thank you,
Amarjeet Kaur

Updated by Mark Dalton over 6 years ago

What details do you require?

Updated by Mark Dalton over 6 years ago

Hey why's it all gone quiet???

Noticed I'm also now showing the following Exception;

Exception18 January 2013 03:04 PM (9m 15s)
Router: http://helpdesk.thetechlounge.co.uk/cron/index.php?/Base/CronManager/Execute
Uncaught Exception: Unable to locate class: SWIFT_TicketPost in ./__swift/library/Loader/class.SWIFT_Loader.php:682

[error]
#0 /home/ttl/public_html/helpdesk/__swift/library/Loader/class.SWIFT_Loader.php(1408): SWIFT_Loader::LoadModelFile('TicketPost')
#1 /home/ttl/public_html/helpdesk/__swift/library/Loader/class.SWIFT_Loader.php(1262): SWIFT_Loader::LoadAutoLoadFile('TicketPost')
#2 [internal function]: SWIFT_Loader::AutoLoad('SWIFT_TicketPos...')
#3 [internal function]: spl_autoload_call('SWIFT_TicketPos...')
#4 /home/ttl/public_html/helpdesk/__swift/library/App/class.SWIFT_App.php(1208): class_exists('SWIFT_TicketPos...')
#5 /home/ttl/public_html/helpdesk/__swift/library/Cron/class.SWIFT_CronManager.php(549): SWIFT_App->RetrieveFileList(1, 'Hourly')
#6 /home/ttl/public_html/helpdesk/__swift/library/Cron/class.SWIFT_CronManager.php(434): SWIFT_CronManager::RetrieveModelList(2)
#7 /home/ttl/public_html/helpdesk/__swift/apps/core/cron/class.Controller_Hourly.php(84): SWIFT_CronManager::RunModelCron(2)
#8 [internal function]: Controller_Hourly->Index()
#9 /home/ttl/public_html/helpdesk/__swift/library/MVC/class.SWIFT_Controller.php(369): call_user_func_array(Array, Array)
#10 /home/ttl/public_html/helpdesk/__swift/library/Cron/class.SWIFT_CronManager.php(140): SWIFT_Controller::Load(Object(SWIFT_Interface), Object(SWIFT_App), Object(SWIFT_Router))
#11 /home/ttl/public_html/helpdesk/__swift/library/Cron/class.SWIFT_CronManager.php(203): SWIFT_CronManager->Run()
#12 /home/ttl/public_html/helpdesk/__swift/apps/base/cron/class.Controller_CronManager.php(67): SWIFT_CronManager::RunPendingTasks()
#13 [internal function]: Controller_CronManager->Execute()
#14 /home/ttl/public_html/helpdesk/__swift/library/MVC/class.SWIFT_Controller.php(369): call_user_func_array(Array, Array)
#15 /home/ttl/public_html/helpdesk/__swift/library/App/class.SWIFT_App.php(176): SWIFT_Controller::Load(Object(SWIFT_Interface), Object(SWIFT_App), Object(SWIFT_Router), false)
#16 /home/ttl/public_html/helpdesk/__swift/library/class.SWIFT.php(16): SWIFT_App->ExecuteController(Object(SWIFT_Router))
#17 /home/ttl/public_html/helpdesk/__swift/library/class.SWIFT.php(16): SWIFT->Initialize()
#18 /home/ttl/public_html/helpdesk/__swift/swift.php(16): SWIFT::GetInstance()
#19 /home/ttl/public_html/helpdesk/cron/index.php(29): require_once('/home/ttl/publi...')
#20 {main}
[/error]

Updated by Amarjeet Kaur over 6 years ago

Hello Mark,

I need ftp details of your WHMCS and helpdesk installation respectively, to look into this issue. Please provide these details in ticket or you can email me at

Thank you,
Amarjeet Kaur

Updated by Mark Dalton over 6 years ago

I have sent you two emails. One with the username and FTP details. The second with the password.

Please remember this is a live site and no service affecting changes should be made without prior agreement.

Updated by Amarjeet Kaur over 6 years ago

Hi Mark,

Thanks for sharing the FTP details. The issue with WHMCS at your end is resolved. Please check.

Please let me know, if you still face any issue with it.

Thank you,
Amarjeet Kaur

Updated by Mark Dalton over 6 years ago

Many thanks.

Can you please advise what the issue was, and how you resolved it.

Mark

Updated by Amarjeet Kaur over 6 years ago

Actually, the framework file class.customFieldGroup.php was not updated at your end.

Updated by Mark Dalton over 6 years ago

Then something is up with the one you are distributing as I uploaded it three times.

Anadi Raj Tiwari sent me a zip file.

Updated by Amarjeet Kaur over 6 years ago

We are sorry for the inconvenience caused at your end.

Thank you for your patience.
Amarjeet Kaur

Updated by Amarjeet Kaur over 6 years ago

  • Status changed from New to Closed

Updated by Mansi Wason over 5 years ago

  • Status changed from Closed to Resolved

Also available in: Atom PDF