[MODULE] WHMCS
#11
RE: [MODULE] WHMCS
(06-13-2015, 07:38 AM)conceptr980 Wrote: Thanks Rynoxx for the effort even though it didnt work for me yet.

By the way, im testing this on AWServer (Windows) maybe thats why !! even though the original module by Knivey return nothing while creating an order (Yours have something to read in the logs at least).

The php error returns the following:
PHP Notice:  Array to string conversion in C:\AWServer\panel\modules\whmcs\code\controller.ext.php on line 265
PHP Warning:  strtolower() expects parameter 1 to be string, array given in C:\AWServer\panel\modules\whmcs\code\controller.ext.php on line 277

if that would provide any click.

@[conceptr980] that should help, thanks! I'll look in to it ASAP

Edit: Should be fixed, update your Sentora module or replace your controller.ext.php with the one on github https://github.com/Rynoxx/sentora-whmcs/...er.ext.php (Though do note that I haven't been able to test it as I'm not sure how to reproduce your problem)
Reply
#12
RE: [MODULE] WHMCS
Should I update to this new version as well?
Reply
#13
RE: [MODULE] WHMCS
Thanks for the quick response .. ill test it out and provide feedback ...

Wink
Reply
#14
RE: [MODULE] WHMCS
(06-13-2015, 08:16 AM)HogensHero Wrote: Should I update to this new version as well?

@[HogensHero] If you want to, it wasn't anything major, just changed a line to fix his specific error so unless you have any trouble with it there isn't any need to update until the next version
Reply
#15
RE: [MODULE] WHMCS
We are getting closer as there used to be 2 errors now its 1, but it didnt work for me yet

PHP Error:
PHP Notice: Array to string conversion in C:\AWServer\panel\modules\whmcs\code\controller.ext.php on line 265

Module Error:
Caught exception: Unable to parse response body into XML: String could not be parsed as XML

#0 C:\AWServer\www\admin\public_html\domain\whmcs\modules\servers\sentora\lib\senitor\src\Handlers\XmwsResponse.php(57): GuzzleHttp\Message\Response->xml()
#1 C:\AWServer\www\admin\public_html\domain\whmcs\modules\servers\sentora\lib\senitor\src\Handlers\XmwsResponse.php(35): Ballen\Senitor\Handlers\XmwsResponse->checkErrors()
#2 C:\AWServer\www\admin\public_html\domaint\whmcs\modules\servers\sentora\lib\senitor\src\Handlers\XmwsRequest.php(92): Ballen\Senitor\Handlers\XmwsResponse->__construct(Object(GuzzleHttp\Message\Response))
#3 C:\AWServer\www\admin\public_html\domain\whmcs\modules\servers\sentora\lib\senitor\src\Senitor.php(130): Ballen\Senitor\Handlers\XmwsRequest->send()
#4 C:\AWServer\www\admin\public_html\domain\whmcs\modules\servers\sentora\sentora.php(137): Ballen\Senitor\Senitor->send()
#5 C:\AWServer\www\admin\public_html\domain\whmcs\modules\servers\sentora\sentora.php(216): sendSenitorRequest(Array, 'whmcs', 'CreateClient', Array)
#6 C:\AWServer\www\admin\public_html\domain\whmcs\includes\classes\WHMCS\Module.php(0): sentora_CreateAccount(Array)
#7 C:\AWServer\www\admin\public_html\domain\whmcs\includes\classes\WHMCS\Module\Server.php(0): WHMCS_Module->call()
#8 C:\AWServer\www\admin\public_html\domain\whmcs\includes\modulefunctions.php(0): WHMCS_Module_Server->call()
#9 C:\AWServer\www\admin\public_html\domain\whmcs\includes\modulefunctions.php(0): ModuleCallFunction()
#10 C:\AWServer\www\admin\public_html\domain\whmcs\admin\clientsservices.php(0): ServerCreateAccount()
#11 {main}

Thanks in advance.
Reply
#16
RE: [MODULE] WHMCS
(06-13-2015, 08:39 AM)conceptr980 Wrote: We are getting closer as there used to be 2 errors now its 1, but it didnt work for me yet

-errors-

Thanks in advance.

@[conceptr980] try updating again, that error should've been fixed as well now
Reply
#17
RE: [MODULE] WHMCS
Done already as i catch up in github before you post ..

Confirmed its working .. Your the man of the day

All what i can say is thank you , you made my day Smile
Reply
#18
RE: [MODULE] WHMCS
Well the whmcs module do say that user is been created successfully but when i go back to zpanel or awserver to be more exact i dont see any new user, either in database !!

Any idea !!
Reply
#19
RE: [MODULE] WHMCS
(06-13-2015, 09:27 AM)conceptr980 Wrote: Well the whmcs module do say that user is been created successfully but when i go back to zpanel or awserver to be more exact i dont see any new user, either in database !!

Any idea !!

@[conceptr980] That's quite odd, I'll check more on that tomorrow, I'm getting to bed as it's getting late here :p (1:30am).
It's most likely something related to the MySQL side of the ZPanel/AWServer, what's the name of the table containing the accounts? (the one in Sentora is x_accounts)
I'll check the source of AWServer tomorrow to see if I can find something that can help me even further and I'm glad I could help you so far Smile
Reply
#20
RE: [MODULE] WHMCS
No problem .. the table is pretty much the same x_accounts

Thanks for everything you have done so far and ill be waiting for your reply tomorrow

Cheerio
Reply


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

Forum Jump:


Users browsing this thread: 8 Guest(s)