when i click the test connection button in WHMCS i get this error:
FAILED: GetUserByUsername Fault: (Code: 0, Message: SOAP Fault: (Code: 0, Message: SOAP-ERROR: Parsing WSDL: Couldn’t load from ‘http://xx.xx.xx.34:9002/esUsers.asmx?WSDL’ : failed to load external entity “http://xx.xx.xx.34:9002/esUsers.asmx?WSDL” ))
Am I missing something ??…
If you have SSH access to the Linux server can you try wget or curl to http://xx.xx.xx.34:9002/esUsers.asmx?WSDL and confirm it loads and is able to see the page content?
The page should start something like: <wsdl:definitions targetNamespace=”http://smbsaas/solidcp/enterpriseserver”>
With this error it either means it can’t contact enterprise server (double check IIS Bindings make sure it’s not set to only 127.0.0.1:9002 if the whmcs isn’t on the same server)
Second part would be PHP having SOAP extension enabled.
thanks for your reply, actually i have set Binding for All Unassigned exactly as per the video tutorial installing and configuring SCP, i havent found a tutorial however installing PHP for windows server and installing SOAP, so i went ahead and installed PHP myself, can you advise on the correct steps getting those done perhaps ?!…
Please note that WHMCS do not fully support Windows as per their requirements found at https://docs.whmcs.com/System_Requirements.
We dont have a tutorial for installing PHP on Windows but you can find the instructions on the PHP site at http://php.net/manual/en/install.windows.php.
My WHMCS is on a linux shared hosting Not on the same windows server where scp is !…
are you referring to PHP needs to be installed along with Soap on the Linux server ?… any other possible reasons for this as i must check with my host in this case ?!…
The PHP Soap extension does need to be enabled on the server running WHMCS as this is used to make the calls to the Enterprise server.
SCP is already enabled and PHP version is 5.6, also i have disabled the firewall on the windows server and checked the WHMCS server to check if there are any outbound firewall rules blocking but i found None, also i checked several times the bindings and they are set properly !… any other thoughts what might be causing this ?!?!…
thank you, i was able to fix this by contacting my shared hosting provider, as i was suspecting i have done nothing wrong and followed the tutorial to the letter, but there was an outbound firewall blockage at the WHMCS hosting side which has now been allowed and whmcs can reach scp successfuly !…
- Views935 times
- Answers8 answers