This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

WHMCS Error
#1
WHMCS Error
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

/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))
Forum Add-ons and Usage /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')
MySupport Addon /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))
Test of MySupport MOD /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)
Forum theme /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)
Install Docs-ISPconfig /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))
Advertising forum? /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))
Addon Store Development /var/sentora/hostdata/zadmin/public_html/billing_instahosting_uk/modules/servers/sentora/lib/senitor/src/Handlers/XmwsRequest.php(91): GuzzleHttp\Client->post('whmcs', Array)
Going live in two weeks time! /var/sentora/hostdata/zadmin/public_html/billing_instahosting_uk/modules/servers/sentora/lib/senitor/src/Senitor.php(130): Ballen\Senitor\Handlers\XmwsRequest->send()
Important and Useful Links and Sites /var/sentora/hostdata/zadmin/public_html/billing_instahosting_uk/modules/servers/sentora/sentora.php(163): Ballen\Senitor\Senitor->send()
Premium support subscription /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()
More progress updates and 'trojan spike' joins the team! /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()
A few questions /var/sentora/hostdata/zadmin/public_html/billing_instahosting_uk/includes/invoicefunctions.php(0): makeHostingPayment()
Request: FTP username@domain.tls /var/sentora/hostdata/zadmin/public_html/billing_instahosting_uk/includes/invoicefunctions.php(0): processPaidInvoice()
ZPanel Support thread? /var/sentora/hostdata/zadmin/public_html/billing_instahosting_uk/modules/gateways/callback/paypal.php(0): addInvoicePayment()
Ubuntu :How to setup Spamassassin {main}


Thanks,
Lewis Smile
Reply
Thanks given by:
#2
RE: WHMCS Error
Hi instahost,
Check your Sentora error logs and post them here, seeing as the error is on the Sentora side of the modules.
Reply
Thanks given by:
#3
RE: WHMCS Error
(12-23-2015, 10:14 PM)Rynoxx Wrote: Hi @[instahost],
Check your Sentora error logs and post them here, seeing as the error is on the Sentora side of the modules.

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.
Reply
Thanks given by:
#4
RE: WHMCS Error
(12-23-2015, 10:22 PM)instahost Wrote:
(12-23-2015, 10:14 PM)Rynoxx Wrote: Hi @[instahost],
Check your Sentora error logs and post them here, seeing as the error is on the Sentora side of the modules.

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.

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.
Reply
Thanks given by:
#5
RE: WHMCS Error
Where can I find the logs?
Reply
Thanks given by:
#6
RE: WHMCS Error
instahost sorry for the late response, the sentora error logs can be found in /var/sentora/logs/sentora-error.log
Reply
Thanks given by:
#7
RE: WHMCS Error
@rynoxx

I have copied the log over to a paste which can be found here: http://pastebin.com/2tw0Frjy
Reply
Thanks given by:
#8
RE: WHMCS Error
(12-31-2015, 03:27 AM)instahost Wrote: @rynoxx

I have copied the log over to a paste which can be found here: http://pastebin.com/2tw0Frjy

instahost, the paste has expired Sad

EDIT: Nevermind, it's back.
Reply
Thanks given by:
#9
RE: WHMCS Error
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 190

I'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)
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Repo update error hostingms 3 6 ,902 02-14-2024, 09:20 AM
Last Post: TGates
apt-get install mod_ssl ERROR CMs222 9 28 ,501 11-11-2022, 09:14 PM
Last Post: zustudios
Sentora debug and error files johnnyp 0 1 ,620 10-27-2022, 06:16 PM
Last Post: johnnyp

Forum Jump:


Users browsing this thread: 1 Guest(s)