![]() |
|
WHMCS Error - Printable Version +- Sentora Support Forums (https://senforums.mach-hosting.com) +-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5) +--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32) +---- Forum: General Support Forum v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=36) +---- Thread: WHMCS Error (/showthread.php?tid=2349) |
WHMCS Error - instahost - 12-23-2015 Hello, I have posted this before but no one replied. This is what is happening. I buy something and the I get an email saying the API Request failed? @[Rynoxx] Caught exception: Server error response [url] http://cp.instahosting.uk/api/whmcs [status code] 500 [reason phrase] Internal Server Error #0 /var/sentora/hostdata/zadmin/public_html/billing_instahosting_uk/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/guzzle/src/Subscriber/HttpError.php(33): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Message\Request), Object(GuzzleHttp\Message\Response)) #1 /var/sentora/hostdata/zadmin/public_html/billing_instahosting_uk/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/guzzle/src/Event/Emitter.php(109): GuzzleHttp\Subscriber\HttpError->onComplete(Object(GuzzleHttp\Event\CompleteEvent), 'complete') #2 /var/sentora/hostdata/zadmin/public_html/billing_instahosting_uk/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/guzzle/src/RequestFsm.php(91): GuzzleHttp\Event\Emitter->emit('complete', Object(GuzzleHttp\Event\CompleteEvent)) #3 /var/sentora/hostdata/zadmin/public_html/billing_instahosting_uk/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/guzzle/src/RequestFsm.php(132): GuzzleHttp\RequestFsm->__invoke(Object(GuzzleHttp\Transaction)) #4 /var/sentora/hostdata/zadmin/public_html/billing_instahosting_uk/modules/servers/sentora/lib/senitor/vendor/react/promise/src/FulfilledPromise.php(24): GuzzleHttp\RequestFsm->GuzzleHttp\{closure}(Array) #5 /var/sentora/hostdata/zadmin/public_html/billing_instahosting_uk/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/ringphp/src/Future/CompletedFutureValue.php(55): React\Promise\FulfilledPromise->then(Object(Closure), NULL, NULL) #6 /var/sentora/hostdata/zadmin/public_html/billing_instahosting_uk/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/guzzle/src/Message/FutureResponse.php(43): GuzzleHttp\Ring\Future\CompletedFutureValue->then(Object(Closure), NULL, NULL) #7 /var/sentora/hostdata/zadmin/public_html/billing_instahosting_uk/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/guzzle/src/RequestFsm.php(135): GuzzleHttp\Message\FutureResponse::proxy(Object(GuzzleHttp\Ring\Future\CompletedFutureArray), Object(Closure)) #8 /var/sentora/hostdata/zadmin/public_html/billing_instahosting_uk/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/guzzle/src/Client.php(233): GuzzleHttp\RequestFsm->__invoke(Object(GuzzleHttp\Transaction)) #9 /var/sentora/hostdata/zadmin/public_html/billing_instahosting_uk/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/guzzle/src/Client.php(218): GuzzleHttp\Client->send(Object(GuzzleHttp\Message\Request)) #10 /var/sentora/hostdata/zadmin/public_html/billing_instahosting_uk/modules/servers/sentora/lib/senitor/src/Handlers/XmwsRequest.php(91): GuzzleHttp\Client->post('whmcs', Array) #11 /var/sentora/hostdata/zadmin/public_html/billing_instahosting_uk/modules/servers/sentora/lib/senitor/src/Senitor.php(130): Ballen\Senitor\Handlers\XmwsRequest->send() #12 /var/sentora/hostdata/zadmin/public_html/billing_instahosting_uk/modules/servers/sentora/sentora.php(163): Ballen\Senitor\Senitor->send() #13 /var/sentora/hostdata/zadmin/public_html/billing_instahosting_uk/modules/servers/sentora/sentora.php(242): sendSenitorRequest(Array, 'whmcs', 'CreateClient', Array) #14 /var/sentora/hostdata/zadmin/public_html/billing_instahosting_uk/includes/classes/WHMCS/Module/AbstractModule.php(0): sentora_CreateAccount(Array) #15 /var/sentora/hostdata/zadmin/public_html/billing_instahosting_uk/includes/classes/WHMCS/Module/Server.php(0): WHMCS\Module\AbstractModule->call() #16 /var/sentora/hostdata/zadmin/public_html/billing_instahosting_uk/includes/modulefunctions.php(0): WHMCS\Module\Server->call() #17 /var/sentora/hostdata/zadmin/public_html/billing_instahosting_uk/includes/modulefunctions.php(0): ModuleCallFunction() #18 /var/sentora/hostdata/zadmin/public_html/billing_instahosting_uk/includes/invoicefunctions.php(0): ServerCreateAccount() #19 /var/sentora/hostdata/zadmin/public_html/billing_instahosting_uk/includes/invoicefunctions.php(0): makeHostingPayment() #20 /var/sentora/hostdata/zadmin/public_html/billing_instahosting_uk/includes/invoicefunctions.php(0): processPaidInvoice() #21 /var/sentora/hostdata/zadmin/public_html/billing_instahosting_uk/modules/gateways/callback/paypal.php(0): addInvoicePayment() #22 {main} Thanks, Lewis
RE: WHMCS Error - Rynoxx - 12-23-2015 Hi @[instahost], Check your Sentora error logs and post them here, seeing as the error is on the Sentora side of the modules. RE: WHMCS Error - instahost - 12-23-2015 (12-23-2015, 10:14 PM)Rynoxx Wrote: Hi @[instahost], Hello I have just tried manually creating the order and it seems that WHMCS is not generating a username because when I put a username in the Request is a success and the account is created. RE: WHMCS Error - Rynoxx - 12-23-2015 (12-23-2015, 10:22 PM)instahost Wrote:(12-23-2015, 10:14 PM)Rynoxx Wrote: Hi @[instahost], Ok that's very strange, but the result of the API call shouldn't be a 500 response code because a parameter is missing. Anyhow, if you have the Sentora error logs at hand I'd love to take a look at them to see what's causing the problem. RE: WHMCS Error - instahost - 12-24-2015 Where can I find the logs? RE: WHMCS Error - Rynoxx - 12-29-2015 @[instahost] sorry for the late response, the sentora error logs can be found in /var/sentora/logs/sentora-error.log RE: WHMCS Error - instahost - 12-31-2015 @rynoxx I have copied the log over to a paste which can be found here: http://pastebin.com/2tw0Frjy RE: WHMCS Error - Rynoxx - 12-31-2015 (12-31-2015, 03:27 AM)instahost Wrote: @rynoxx @[instahost], the paste has expired ![]() EDIT: Nevermind, it's back. RE: WHMCS Error - Rynoxx - 12-31-2015 @[instahost] the only errors I find that could be related to the WHMCS module are the ones on line 522 - 529 Code: [Sun Nov 22 08:46:15 2015] [error] [client 5.189.159.145] PHP Fatal error: Call to a member function GetControllerRequest() on a non-object in /etc/sentora/panel/dryden/ctrl/auth.class.php on line 190
[Sun Nov 22 08:55:10 2015] [error] [client 92.3.88.45] File does not exist: /etc/sentora/panel/billing.instahosting.uk, referer: http://cp.instahosting.uk/?module=whmcs
[Sun Nov 22 09:37:39 2015] [error] [client 5.189.159.145] PHP Fatal error: Call to a member function GetControllerRequest() on a non-object in /etc/sentora/panel/dryden/ctrl/auth.class.php on line 190
[Sun Nov 22 09:40:41 2015] [error] [client 5.189.159.145] PHP Fatal error: Call to a member function GetControllerRequest() on a non-object in /etc/sentora/panel/dryden/ctrl/auth.class.php on line 190
[Sun Nov 22 09:42:11 2015] [error] [client 5.189.159.145] PHP Fatal error: Call to a member function GetControllerRequest() on a non-object in /etc/sentora/panel/dryden/ctrl/auth.class.php on line 190
[Sun Nov 22 09:49:14 2015] [error] [client 92.3.88.45] File does not exist: /etc/sentora/panel/favicon.ico, referer: http://5.189.159.145/api/whmcs
[Sun Nov 22 09:50:05 2015] [error] [client 127.0.0.1] PHP Fatal error: Call to a member function GetControllerRequest() on a non-object in /etc/sentora/panel/dryden/ctrl/auth.class.php on line 190
[Sun Nov 22 09:52:08 2015] [error] [client 127.0.0.1] PHP Fatal error: Call to a member function GetControllerRequest() on a non-object in /etc/sentora/panel/dryden/ctrl/auth.class.php on line 190I'll look into the errors regarding "PHP Fatal error: Call to a member function GetControllerRequest() on a non-object in /etc/sentora/panel/dryden/ctrl/auth.class.php on line 190" next week and see if I can find a solution (or if it's even related to the WHMCS module) |