Sentora Support Forums

Full Version: Whmcs Module Error Please Help Me
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

Using Whmcs in connection with Sentora. But I get the following error automatically when the product is being created. I have looked at the forum many times I have not seen a solution or a friend to get this error.

Error:

PHP Code:
Account couldn't be created, couldn't verify that email 'xxxx@dot.com' is unique 

---------

[Image: 2n6adL.jpg]
@[Rynoxx]

Tagged the developer for ya.
Hi @[yavuztutcu]

That error occurs when WHMCS can't get a proper response from Sentora when attempting to check if the email address the client signed up with is unique in Sentora.

Do the following in WHMCS:
  • Enable module debug logging in WHMCS (located under Utilities > Logs > Module Log)
  • Do the API call you attempted to do (e.g. create the user/accept order, unsuspend/suspend etc)

And post the log entries from WHMCS here afterwards.
PHP Code:
array (
 
 'email' => 'bilgi@yavuztutcu.tk',


PHP Code:
Caught exceptionServer    API    key    validation    failed.

#0 /var/sentora/hostdata/zadmin/public_html/yavuztutcu_net/whmcs/modules/servers/sentora/lib/senitor/src/Handlers/XmwsResponse.php(35): Ballen\Senitor\Handlers\XmwsResponse->checkErrors()
#1 /var/sentora/hostdata/zadmin/public_html/yavuztutcu_net/whmcs/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/yavuztutcu_net/whmcs/modules/servers/sentora/lib/senitor/src/Senitor.php(130): Ballen\Senitor\Handlers\XmwsRequest->send()
#3 /var/sentora/hostdata/zadmin/public_html/yavuztutcu_net/whmcs/modules/servers/sentora/sentora.php(345): Ballen\Senitor\Senitor->send()
#4 /var/sentora/hostdata/zadmin/public_html/yavuztutcu_net/whmcs/modules/servers/sentora/sentora.php(409): sendSenitorRequest(Array, 'whmcs', 'CheckUserEmailI...', Array)
#5 /var/sentora/hostdata/zadmin/public_html/yavuztutcu_net/whmcs/includes/classes/WHMCS/Module/AbstractModule.php(0): sentora_CreateAccount(Array)
#6 /var/sentora/hostdata/zadmin/public_html/yavuztutcu_net/whmcs/includes/classes/WHMCS/Module/Server.php(0): WHMCS\Module\AbstractModule->call()
#7 /var/sentora/hostdata/zadmin/public_html/yavuztutcu_net/whmcs/includes/modulefunctions.php(0): WHMCS\Module\Server->call()
#8 /var/sentora/hostdata/zadmin/public_html/yavuztutcu_net/whmcs/includes/modulefunctions.php(0): ModuleCallFunction()
#9 /var/sentora/hostdata/zadmin/public_html/yavuztutcu_net/whmcs/includes/orderfunctions.php(0): ServerCreateAccount()
#10 /var/sentora/hostdata/zadmin/public_html/yavuztutcu_net/whmcs/admin/orders.php(0): acceptOrder()
#11 {main}
Debug string from Senitor


The error log records for the module are the same as above. If I can not solve the problem, the solution does not fit the version without doing any minus in the setup.

Whmcs version: 6.3
Sentora panel: 1.0.3
(01-04-2017, 02:58 AM)yavuztutcu Wrote: [ -> ]
PHP Code:
array (
 
 'email' => 'bilgi@yavuztutcu.tk',


PHP Code:
Caught exceptionServer API key validation failed.

#0 /var/sentora/hostdata/zadmin/public_html/yavuztutcu_net/whmcs/modules/servers/sentora/lib/senitor/src/Handlers/XmwsResponse.php(35): Ballen\Senitor\Handlers\XmwsResponse->checkErrors()
#1 /var/sentora/hostdata/zadmin/public_html/yavuztutcu_net/whmcs/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/yavuztutcu_net/whmcs/modules/servers/sentora/lib/senitor/src/Senitor.php(130): Ballen\Senitor\Handlers\XmwsRequest->send()
#3 /var/sentora/hostdata/zadmin/public_html/yavuztutcu_net/whmcs/modules/servers/sentora/sentora.php(345): Ballen\Senitor\Senitor->send()
#4 /var/sentora/hostdata/zadmin/public_html/yavuztutcu_net/whmcs/modules/servers/sentora/sentora.php(409): sendSenitorRequest(Array, 'whmcs', 'CheckUserEmailI...', Array)
#5 /var/sentora/hostdata/zadmin/public_html/yavuztutcu_net/whmcs/includes/classes/WHMCS/Module/AbstractModule.php(0): sentora_CreateAccount(Array)
#6 /var/sentora/hostdata/zadmin/public_html/yavuztutcu_net/whmcs/includes/classes/WHMCS/Module/Server.php(0): WHMCS\Module\AbstractModule->call()
#7 /var/sentora/hostdata/zadmin/public_html/yavuztutcu_net/whmcs/includes/modulefunctions.php(0): WHMCS\Module\Server->call()
#8 /var/sentora/hostdata/zadmin/public_html/yavuztutcu_net/whmcs/includes/modulefunctions.php(0): ModuleCallFunction()
#9 /var/sentora/hostdata/zadmin/public_html/yavuztutcu_net/whmcs/includes/orderfunctions.php(0): ServerCreateAccount()
#10 /var/sentora/hostdata/zadmin/public_html/yavuztutcu_net/whmcs/admin/orders.php(0): acceptOrder()
#11 {main}
Debug string from Senitor


The error log records for the module are the same as above. If I can not solve the problem, the solution does not fit the version without doing any minus in the setup.

Whmcs version: 6.3
Sentora panel: 1.0.3
Hi @[yavuztutcu], it seems that you haven't entered the API key correctly in WHMCS when configuring your Sentora Server
Thank You. Solved Problem

1,xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx I did not do it this way, so the order panel did not deliver

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx : I wrote API key