RE: [MODULE] WHMCS
07-26-2016, 04:57 PM
(This post was last modified: 07-26-2016, 05:00 PM by Rynoxx.)
(07-24-2016, 09:56 AM)sabir007 Wrote: hi Rynoxx i want creat new hosting accound its tell me : Error: Account couldn't be created, the API Request failed.Make sure you've entered the accesshash in WHMCS correctly, it should be in the following format:
please help me this log module
PHP Code:Array
(
[resellerid] => 1
[packageid] => Pack-Dyali
[groupid] => 2
[username] => devartma
[fullname] => sabir laguedem
[email] => iv0@hotmail.ca
[address] =>
[postcode] =>
[password] => T57dgPr68m
[phone] =>
[sendmail] => 0
[emailsubject] => 0
[emailbody] => 0
)
PHP Code:Caught exception: Unable to parse response body into XML: String could not be parsed as XML
/var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/modules/servers/sentora/lib/senitor/src/Handlers/XmwsResponse.php(57): GuzzleHttp\Message\Response->xml()
<QUICKREFERENCES#1> /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/modules/servers/sentora/lib/senitor/src/Handlers/XmwsResponse.php(35): Ballen\Senitor\Handlers\XmwsResponse->checkErrors()
<QUICKREFERENCES#2> /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/modules/servers/sentora/lib/senitor/src/Handlers/XmwsRequest.php(92): Ballen\Senitor\Handlers\XmwsResponse->__construct(Object(GuzzleHttp\Message\Response))
<QUICKREFERENCES#3> /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/modules/servers/sentora/lib/senitor/src/Senitor.php(130): Ballen\Senitor\Handlers\XmwsRequest->send()
<QUICKREFERENCES#4> /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/modules/servers/sentora/sentora.php(238): Ballen\Senitor\Senitor->send()
<QUICKREFERENCES#5> /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/modules/servers/sentora/sentora.php(349): sendSenitorRequest(Array, 'whmcs234', 'CreateClient', Array)
<QUICKREFERENCES#6> /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/includes/classes/WHMCS/Module/AbstractModule.php(0): sentora_CreateAccount(Array)
<QUICKREFERENCES#7> /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/includes/classes/WHMCS/Module/Server.php(0): WHMCS\Module\AbstractModule->call()
<QUICKREFERENCES#8> /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/includes/modulefunctions.php(0): WHMCS\Module\Server->call()
<QUICKREFERENCES#9> /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/includes/modulefunctions.php(0): ModuleCallFunction()
<QUICKREFERENCES#10> /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/includes/orderfunctions.php(0): ServerCreateAccount()
<QUICKREFERENCES#11> /var/sentora/hostdata/sabir/public_html/fescitysoft_com/host/admin/orders.php(0): acceptOrder()
<QUICKREFERENCES#12> {main}
Debug string from Senitor:
1
Code:
NUMBER,APIKEY