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.

[MODULE] WHMCS
RE: [MODULE] WHMCS
(06-11-2016, 11:40 PM)Rynoxx Wrote:
(06-11-2016, 11:36 PM)Cantalupo Wrote: I made a test again on the virtual server, and it worked.

Nice

Thanks ! Blush
Reply
Thanks given by:
RE: [MODULE] WHMCS
hi Rynoxx i want creat new hosting accound its tell me : Error: Account couldn't be created, the API Request failed.

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 exceptionUnable to parse response body into XMLString 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
 

Reply
Thanks given by:
RE: [MODULE] WHMCS
(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.

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 exceptionUnable to parse response body into XMLString 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
 

Make sure you've entered the accesshash in WHMCS correctly, it should be in the following format:
Code:
NUMBER,APIKEY
where NUMBER is the userid of the reseller/admin in Sentora (enter 1 for zadmin), and APIKEY is the api key found in the WHMCS module in the Sentora panel. Also, which version of PHP are you running?
Reply
Thanks given by:
RE: [MODULE] WHMCS
Order Accept Encountered Problems
Account couldn't be created, the API Request failed.

Warning! WHMCS has reported that it's version is 234, which doesn't match the version of the ZPanelX module ()!
If this warning doesn't go away on the next API call from WHMCS then this issue should be fixed as soon as possible!

Code:
Caught exception: Server error response [url] http://domain/api/whmcs234 [status code] 500 [reason phrase] Internal Server Error

Sad
Reply
Thanks given by:
RE: [MODULE] WHMCS
(08-05-2016, 08:10 AM)Cantalupo Wrote: Order Accept Encountered Problems
Account couldn't be created, the API Request failed.

Warning! WHMCS has reported that it's version is 234, which doesn't match the version of the ZPanelX module ()!
If this warning doesn't go away on the next API call from WHMCS then this issue should be fixed as soon as possible!

Code:
Caught exception: Server error response [url] http://domain/api/whmcs234 [status code] 500 [reason phrase] Internal Server Error

Sad

Cantalupo check your Sentora error log, see if you can find anything there and post it here
Reply
Thanks given by: Cantalupo
RE: [MODULE] WHMCS
(08-05-2016, 03:50 PM)Rynoxx Wrote:
(08-05-2016, 08:10 AM)Cantalupo Wrote: Order Accept Encountered Problems
Account couldn't be created, the API Request failed.

Warning! WHMCS has reported that it's version is 234, which doesn't match the version of the ZPanelX module ()!
If this warning doesn't go away on the next API call from WHMCS then this issue should be fixed as soon as possible!

Code:
Caught exception: Server error response [url] http://domain/api/whmcs234 [status code] 500 [reason phrase] Internal Server Error

Sad

@[Cantalupo] check your Sentora error log, see if you can find anything there and post it here

Hello Friend.
mysteriously returned to work.
was only one request, other functions. Smile
Reply
Thanks given by:
RE: [MODULE] WHMCS
(08-05-2016, 04:00 PM)Cantalupo Wrote:
(08-05-2016, 03:50 PM)Rynoxx Wrote:
(08-05-2016, 08:10 AM)Cantalupo Wrote: Order Accept Encountered Problems
Account couldn't be created, the API Request failed.

Warning! WHMCS has reported that it's version is 234, which doesn't match the version of the ZPanelX module ()!
If this warning doesn't go away on the next API call from WHMCS then this issue should be fixed as soon as possible!

Code:
Caught exception: Server error response [url] http://domain/api/whmcs234 [status code] 500 [reason phrase] Internal Server Error

Sad

Cantalupo check your Sentora error log, see if you can find anything there and post it here

Hello Friend.
mysteriously returned to work.
was only one request, other functions. Smile
Cantalupo I'm glad to hear that it works again Smile
Reply
Thanks given by: Cantalupo
RE: [MODULE] WHMCS
(08-05-2016, 05:06 PM)Rynoxx Wrote:
(08-05-2016, 04:00 PM)Cantalupo Wrote:
(08-05-2016, 03:50 PM)Rynoxx Wrote:
(08-05-2016, 08:10 AM)Cantalupo Wrote: Order Accept Encountered Problems
Account couldn't be created, the API Request failed.

Warning! WHMCS has reported that it's version is 234, which doesn't match the version of the ZPanelX module ()!
If this warning doesn't go away on the next API call from WHMCS then this issue should be fixed as soon as possible!

Code:
Caught exception: Server error response [url] http://domain/api/whmcs234 [status code] 500 [reason phrase] Internal Server Error

Sad

@[Cantalupo] check your Sentora error log, see if you can find anything there and post it here

Hello Friend.
mysteriously returned to work.
was only one request, other functions. Smile
@[Cantalupo] I'm glad to hear that it works again Smile

Thank you! Smile
Lets take some questions about this code.
I did not find anything about it.
This module it suspends an account due to payment not made ? (with the correct configuration in whmcs, of course Wink)

It automatically works for the upgrade?
Reply
Thanks given by:
RE: [MODULE] WHMCS
(08-05-2016, 09:46 PM)Cantalupo Wrote:
(08-05-2016, 05:06 PM)Rynoxx Wrote:
(08-05-2016, 04:00 PM)Cantalupo Wrote:
(08-05-2016, 03:50 PM)Rynoxx Wrote:
(08-05-2016, 08:10 AM)Cantalupo Wrote: Order Accept Encountered Problems
Account couldn't be created, the API Request failed.

Warning! WHMCS has reported that it's version is 234, which doesn't match the version of the ZPanelX module ()!
If this warning doesn't go away on the next API call from WHMCS then this issue should be fixed as soon as possible!

Code:
Caught exception: Server error response [url] http://domain/api/whmcs234 [status code] 500 [reason phrase] Internal Server Error

Sad

Cantalupo check your Sentora error log, see if you can find anything there and post it here

Hello Friend.
mysteriously returned to work.
was only one request, other functions. Smile
Cantalupo I'm glad to hear that it works again Smile

Thank you! Smile
Lets take some questions about this code.
I did not find anything about it.
This module it suspends an account due to payment not made ? (with the correct configuration in whmcs, of course Wink)

It automatically works for the upgrade?
Cantalupo yeah, it should suspend the account when payment hasn't been made, it has the suspension functions required to do that. And the service upgrade is handled by the ChangePackage function Smile
Reply
Thanks given by: Cantalupo
RE: [MODULE] WHMCS
(08-05-2016, 10:30 PM)Rynoxx Wrote:
(08-05-2016, 09:46 PM)Cantalupo Wrote:
(08-05-2016, 05:06 PM)Rynoxx Wrote:
(08-05-2016, 04:00 PM)Cantalupo Wrote:
(08-05-2016, 03:50 PM)Rynoxx Wrote: @[Cantalupo] check your Sentora error log, see if you can find anything there and post it here

Hello Friend.
mysteriously returned to work.
was only one request, other functions. Smile
@[Cantalupo] I'm glad to hear that it works again Smile

Thank you! Smile
Lets take some questions about this code.
I did not find anything about it.
This module it suspends an account due to payment not made ? (with the correct configuration in whmcs, of course Wink)

It automatically works for the upgrade?
@[Cantalupo] yeah, it should suspend the account when payment hasn't been made, it has the suspension functions required to do that. And the service upgrade is handled by the ChangePackage function Smile

Amazing.
And the question of upgrade and downgrade?
^^
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
[Module] ELFileManager (build on elfinder) Diablo925 94 289 ,224 05-30-2024, 05:25 AM
Last Post: TGates
[MODULE] phpMyAdmin-AU (Auto-Update) TGates 14 44 ,961 06-15-2021, 06:54 AM
Last Post: TGates
[MODULE] SenBrand - Basic Branding module for Sentora TGates 20 49 ,473 06-04-2021, 11:47 AM
Last Post: ccr1969

Forum Jump:


Users browsing this thread: 8 Guest(s)