Control Web Panel
WebPanel => How to => Topic started by: igorbatagor on January 20, 2017, 01:12:09 PM
-
HI
I just installed CWP and tried to integrate to my whmcs.
i have folloed this tutorial http://wiki.centos-webpanel.com/cwp-account-api but i found problem
I have tried reinstall centos from 32bit to 64bit more than 3 times but still found problem.
I tried to create an account from whmcs but it is never finished.
I have tried to read http://wiki.centos-webpanel.com/cwp-account-api again and again, tried and try again but never success.
But i tried to visit http://111.112.113.114:2030/api/?key=4235r3f33s2&api=account_new&domain=cwptest.com&username=cwptest&password=gew42f4&package=1&email=email@mail.mail&inode=10000&nofile=100&nproc=25 from my browser and it is worked.
But whmcs can not did it, why?
any one have problem like me?
Sorry for my english.
thank you.
-
Hello Igor,
Check if you have enabled allow_url_fopen directive. If it is disabled
and url can not be fetched through php.
-
Hello Igor,
Check if you have enabled allow_url_fopen directive. If it is disabled
and url can not be fetched through php.
Thank devnull
I have enable allow_url_fopen on my server with whmcs, but still has same error.
Must i enable allow_url_fopen on CWP server too?
Best regards
-
I do not think you have to enable allow_url_fopen on the CWP server side.
Maybe you can try to make the api call through a text browser like lynx or make a curl call from the server on which you whmcs installed to the CWP server and see what happens in the output from cli.
Can also be a firewall issue etc. Maybe the whmcs server is blocking outgoing connections to port 2030?
-
HI
I just installed CWP and tried to integrate to my whmcs.
i have folloed this tutorial http://wiki.centos-webpanel.com/cwp-account-api but i found problem
I have tried reinstall centos from 32bit to 64bit more than 3 times but still found problem.
I tried to create an account from whmcs but it is never finished.
I have tried to read http://wiki.centos-webpanel.com/cwp-account-api again and again, tried and try again but never success.
But i tried to visit http://111.112.113.114:2030/api/?key=4235r3f33s2&api=account_new&domain=cwptest.com&username=cwptest&password=gew42f4&package=1&email=email@mail.mail&inode=10000&nofile=100&nproc=25 from my browser and it is worked.
But whmcs can not did it, why?
any one have problem like me?
Sorry for my english.
thank you.
+1 i have ticket support 3 months and not solved.
-
Fix?
-
Fix?
uP
-
try to run the same from your server where whmcs is installed by using curl command, example
curl "http://111.112.113.114:2030/api/?key=4235r3f33s2&api=account_new&domain=cwptest.com&username=cwptest&password=gew42f4&package=1&email=email@mail.mail&inode=10000&nofile=100&nproc=25"
-
Hello guys.
I have a bit strange problem:
Order Accept Encountered Problems
Check All Fields (only lower caps are allowed and no special characters)!
This is what I see in the WHMCS and the cURL command in the console returns "OK". Any possible reasons for the error?