Sorry, where do I enable the log?
|
[MODULE] WHMCS
|
(04-06-2016, 09:13 PM)Rynoxx Wrote: @[modcar] Request: Code: Array
(
[resellerid] =>
[packageid] => FreeHosting
[groupid] => 3
[username] => whmcstes
[fullname] => first last
[email] => my@email.com
[address] => PO Box 31418
[postcode] => 5040
[********] => v2h75Iye4E
[phone] => 123456789
[sendmail] => 0
[emailsubject] => 0
[emailbody] => 0
)Response: Code: Caught exception: cURL error 6: Could not resolve host: http
#0 /var/sentora/hostdata/dynamite/public_html/hostingnz_co_nz/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/guzzle/src/RequestFsm.php(104): GuzzleHttp\Exception\RequestException::wrapException(Object(GuzzleHttp\Message\Request), Object(GuzzleHttp\Ring\Exception\ConnectException))
#1 /var/sentora/hostdata/dynamite/public_html/hostingnz_co_nz/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/guzzle/src/RequestFsm.php(132): GuzzleHttp\RequestFsm->__invoke(Object(GuzzleHttp\Transaction))
#2 /var/sentora/hostdata/dynamite/public_html/hostingnz_co_nz/modules/servers/sentora/lib/senitor/vendor/react/promise/src/FulfilledPromise.php(24): GuzzleHttp\RequestFsm->GuzzleHttp\{closure}(Array)
#3 /var/sentora/hostdata/dynamite/public_html/hostingnz_co_nz/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/ringphp/src/Future/CompletedFutureValue.php(55): React\Promise\FulfilledPromise->then(Object(Closure), NULL, NULL)
#4 /var/sentora/hostdata/dynamite/public_html/hostingnz_co_nz/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/guzzle/src/Message/FutureResponse.php(43): GuzzleHttp\Ring\Future\CompletedFutureValue->then(Object(Closure), NULL, NULL)
#5 /var/sentora/hostdata/dynamite/public_html/hostingnz_co_nz/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/guzzle/src/RequestFsm.php(135): GuzzleHttp\Message\FutureResponse::proxy(Object(GuzzleHttp\Ring\Future\CompletedFutureArray), Object(Closure))
#6 /var/sentora/hostdata/dynamite/public_html/hostingnz_co_nz/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/guzzle/src/Client.php(233): GuzzleHttp\RequestFsm->__invoke(Object(GuzzleHttp\Transaction))
#7 /var/sentora/hostdata/dynamite/public_html/hostingnz_co_nz/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/guzzle/src/Client.php(218): GuzzleHttp\Client->send(Object(GuzzleHttp\Message\Request))
#8 /var/sentora/hostdata/dynamite/public_html/hostingnz_co_nz/modules/servers/sentora/lib/senitor/src/Handlers/XmwsRequest.php(91): GuzzleHttp\Client->post('whmcs', Array)
#9 /var/sentora/hostdata/dynamite/public_html/hostingnz_co_nz/modules/servers/sentora/lib/senitor/src/Senitor.php(130): Ballen\Senitor\Handlers\XmwsRequest->send()
#10 /var/sentora/hostdata/dynamite/public_html/hostingnz_co_nz/modules/servers/sentora/sentora.php(173): Ballen\Senitor\Senitor->send()
#11 /var/sentora/hostdata/dynamite/public_html/hostingnz_co_nz/modules/servers/sentora/sentora.php(252): sendSenitorRequest(Array, 'whmcs', 'CreateClient', Array)
#12 /var/sentora/hostdata/dynamite/public_html/hostingnz_co_nz/includes/classes/WHMCS/Module/AbstractModule.php(0): sentora_CreateAccount(Array)
#13 /var/sentora/hostdata/dynamite/public_html/hostingnz_co_nz/includes/classes/WHMCS/Module/Server.php(0): WHMCS\Module\AbstractModule->call()
#14 /var/sentora/hostdata/dynamite/public_html/hostingnz_co_nz/includes/modulefunctions.php(0): WHMCS\Module\Server->call()
#15 /var/sentora/hostdata/dynamite/public_html/hostingnz_co_nz/includes/modulefunctions.php(0): ModuleCallFunction()
#16 /var/sentora/hostdata/dynamite/public_html/hostingnz_co_nz/HNZadmin/clientsservices.php(0): ServerCreateAccount()
#17 {main}(04-06-2016, 09:26 PM)modcar Wrote:@[modcar] it seems that you haven't set a proper hostname and/or IP for the server, what is it configured as?(04-06-2016, 09:13 PM)Rynoxx Wrote: @[modcar]
EDITED (TGates):Image removed. You can not paste a base64 encoded image to these forums..Either attach it or link to it.
RE: [MODULE] WHMCS
04-16-2016, 02:34 AM
(This post was last modified: 04-16-2016, 02:35 AM by twente.
Edit Reason: Added more info
)
Hi,
I tried to install your WHMCS module for Sentora but it won't seem to like each other.. Whenever I try to do anything (create etc.) it give me this error: Code: Caught exception: Server API key validation failed.
#0 /var/sentora/hostdata/zadmin/public_html/twente_tech/modules/servers/sentora/lib/senitor/src/Handlers/XmwsResponse.php(35): Ballen\Senitor\Handlers\XmwsResponse->checkErrors()
#1 /var/sentora/hostdata/zadmin/public_html/twente_tech/modules/servers/sentora/lib/senitor/src/Handlers/XmwsRequest.php(92): Ballen\Senitor\Handlers\XmwsResponse->__construct(Object(GuzzleHttp\Message\Response))
#2 /var/sentora/hostdata/zadmin/public_html/twente_tech/modules/servers/sentora/lib/senitor/src/Senitor.php(130): Ballen\Senitor\Handlers\XmwsRequest->send()
#3 /var/sentora/hostdata/zadmin/public_html/twente_tech/modules/servers/sentora/sentora.php(207): Ballen\Senitor\Senitor->send()
#4 /var/sentora/hostdata/zadmin/public_html/twente_tech/modules/servers/sentora/sentora.php(311): sendSenitorRequest(Array, 'whmcs', 'CreateClient', Array)
#5 /var/sentora/hostdata/zadmin/public_html/twente_tech/includes/classes/WHMCS/Module/AbstractModule.php(0): sentora_CreateAccount(Array)
#6 /var/sentora/hostdata/zadmin/public_html/twente_tech/includes/classes/WHMCS/Module/Server.php(0): WHMCS\Module\AbstractModule->call()
#7 /var/sentora/hostdata/zadmin/public_html/twente_tech/includes/modulefunctions.php(0): WHMCS\Module\Server->call()
#8 /var/sentora/hostdata/zadmin/public_html/twente_tech/includes/modulefunctions.php(0): ModuleCallFunction()
#9 /var/sentora/hostdata/zadmin/public_html/twente_tech/admin/clientsservices.php(0): ServerCreateAccount()
#10 {main}
1Sentora version: Latest WHMCS module: Freshly grabbed from git so latest Any ideas? Thanks in advance. //edit: Btw, got the API key from ?module=whmcs //And installed it at WHMCS under "Access Hash (Instead of password for cPanel servers)" (04-16-2016, 02:34 AM)twente Wrote: Hi, @[twente] make sure that you also have the userid followed by a comma befpre the API key configured as the access hash (04-16-2016, 03:04 AM)Rynoxx Wrote:(04-16-2016, 02:34 AM)twente Wrote: Hi, Thanks a lot, that did the trick! Thanks for your development.
Hello guys, I'm a long time reader on Sentora forums, but this is my first thread cause I can't find solution for my problem.Actually I need to sentora in manage_clients module generate usernames like : cp0156 , like it generates passwords, I need this to whmcs module work correctly on full auto mode, any could help me ?
Kind reggards
Hello;
I'm running WHMCS and Sentora on the different server, and getting 'Account couldn't be created, the API Request failed.' I've double and triple checked my settings, all seem right REQUEST Array ( [resellerid] => [packageid] => Freehosting [groupid] => 2 [username] => joljssss [fullname] => Shounak Ghosh [email] => i.am.ram1403@gmail.com [address] => 10 Anada Abasan [postcode] => 700084 [password] => 83KchKbn95 [phone] => 9804162643 [sendmail] => 0 [emailsubject] => 0 [emailbody] => 0 ) RESPONCE Caught exception: cURL error 6: See http://curl.haxx.se/libcurl/c/libcurl-errors.html #0 /home/freecpanelhostin/public_html/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/guzzle/src/RequestFsm.php(104): GuzzleHttp\Exception\RequestException::wrapException(Object(GuzzleHttp\Message\Request), Object(GuzzleHttp\Ring\Exception\ConnectException)) #1 /home/freecpanelhostin/public_html/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/guzzle/src/RequestFsm.php(132): GuzzleHttp\RequestFsm->__invoke(Object(GuzzleHttp\Transaction)) #2 /home/freecpanelhostin/public_html/modules/servers/sentora/lib/senitor/vendor/react/promise/src/FulfilledPromise.php(24): GuzzleHttp\RequestFsm->GuzzleHttp\{closure}(Array) #3 /home/freecpanelhostin/public_html/modules/servers/sentora/lib/senitor/vendor/react/promise/src/Promise.php(114): React\Promise\FulfilledPromise->then(Object(Closure), NULL) #4 /home/freecpanelhostin/public_html/modules/servers/sentora/lib/senitor/vendor/react/promise/src/Promise.php(156): React\Promise\Promise->React\Promise\{closure}(Object(React\Promise\FulfilledPromise)) #5 /home/freecpanelhostin/public_html/modules/servers/sentora/lib/senitor/vendor/react/promise/src/Promise.php(128): React\Promise\Promise->settle(Object(React\Promise\FulfilledPromise)) #6 /home/freecpanelhostin/public_html/modules/servers/sentora/lib/senitor/vendor/react/promise/src/Promise.php(169): React\Promise\Promise->resolve(Array) #7 [internal function]: React\Promise\Promise->React\Promise\{closure}(Array) #8 /home/freecpanelhostin/public_html/modules/servers/sentora/lib/senitor/vendor/react/promise/src/Deferred.php(35): call_user_func(Object(Closure), Array) #9 /home/freecpanelhostin/public_html/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/ringphp/src/Client/CurlMultiHandler.php(236): React\Promise\Deferred->resolve(Array) #10 /home/freecpanelhostin/public_html/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/ringphp/src/Client/CurlMultiHandler.php(125): GuzzleHttp\Ring\Client\CurlMultiHandler->processMessages() #11 /home/freecpanelhostin/public_html/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/ringphp/src/Future/BaseFutureTrait.php(118): GuzzleHttp\Ring\Client\CurlMultiHandler->execute() #12 /home/freecpanelhostin/public_html/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/ringphp/src/Future/BaseFutureTrait.php(55): GuzzleHttp\Ring\Future\FutureArray->invokeWait() #13 /home/freecpanelhostin/public_html/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/ringphp/src/Future/BaseFutureTrait.php(118): GuzzleHttp\Ring\Future\FutureArray->wait() #14 /home/freecpanelhostin/public_html/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/ringphp/src/Future/BaseFutureTrait.php(55): GuzzleHttp\Message\FutureResponse->invokeWait() #15 /home/freecpanelhostin/public_html/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/guzzle/src/Client.php(244): GuzzleHttp\Message\FutureResponse->wait() #16 /home/freecpanelhostin/public_html/modules/servers/sentora/lib/senitor/vendor/guzzlehttp/guzzle/src/Client.php(218): GuzzleHttp\Client->send(Object(GuzzleHttp\Message\Request)) #17 /home/freecpanelhostin/public_html/modules/servers/sentora/lib/senitor/src/Handlers/XmwsRequest.php(91): GuzzleHttp\Client->post('whmcs', Array) #18 /home/freecpanelhostin/public_html/modules/servers/sentora/lib/senitor/src/Senitor.php(130): Ballen\Senitor\Handlers\XmwsRequest->send() #19 /home/freecpanelhostin/public_html/modules/servers/sentora/sentora.php(207): Ballen\Senitor\Senitor->send() #20 /home/freecpanelhostin/public_html/modules/servers/sentora/sentora.php(311): sendSenitorRequest(Array, 'whmcs', 'CreateClient', Array) #21 /home/freecpanelhostin/public_html/includes/classes/WHMCS/Module/AbstractModule.php(0): sentora_CreateAccount(Array) #22 /home/freecpanelhostin/public_html/includes/classes/WHMCS/Module/Server.php(0): WHMCS\Module\AbstractModule->call() #23 /home/freecpanelhostin/public_html/includes/modulefunctions.php(0): WHMCS\Module\Server->call() #24 /home/freecpanelhostin/public_html/includes/modulefunctions.php(0): ModuleCallFunction() #25 /home/freecpanelhostin/public_html/admin/clientsservices.php(0): ServerCreateAccount() #26 {main} 1 |
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| [Module] ELFileManager (build on elfinder) | Diablo925 | 94 | 332 ,357 |
05-30-2024, 05:25 AM Last Post: TGates |
|
| [MODULE] phpMyAdmin-AU (Auto-Update) | TGates | 14 | 51 ,246 |
06-15-2021, 06:54 AM Last Post: TGates |
|
| [MODULE] SenBrand - Basic Branding module for Sentora | TGates | 20 | 58 ,499 |
06-04-2021, 11:47 AM Last Post: ccr1969 |
|
Users browsing this thread: 2 Guest(s)



