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
#11
[Not Solved] 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
Thanks given by:
#12
[Not Solved] RE: [MODULE] WHMCS
Should I update to this new version as well?
Russ
Co-Owner
KTMGaming.net
Reply
Thanks given by:
#13
[Not Solved] RE: [MODULE] WHMCS
Thanks for the quick response .. ill test it out and provide feedback ...

Wink
Reply
Thanks given by:
#14
[Not Solved] 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
Thanks given by:
#15
[Not Solved] 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
Thanks given by:
#16
[Not Solved] 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
Thanks given by: conceptr980
#17
[Not Solved] 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
Thanks given by: Rynoxx
#18
[Not Solved] 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
Thanks given by:
#19
[Not Solved] 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
Thanks given by:
#20
[Not Solved] 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
Thanks given by:


Possibly Related Threads...
Thread Author Replies Views Last Post
[Module] ELFileManager (build on elfinder) Diablo925 75 26,160 07-18-2017, 02:49 AM
Last Post: TGates
[MODULE] SHOUTcast Admin TGates 2 393 07-17-2017, 02:42 AM
Last Post: TGates
[MODULE] Rainloop Castey 17 7,354 06-06-2017, 11:25 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 3 Guest(s)