After I enable the module and click save configuration I get the following error message - "The NWS_weather module requires SOAP and SimpleXML PHP extensions. The SOAP extension for PHP is not available. Please check the PHP SOAP documentation for information on how to correct this." I went through the documentation requested and it seems my server side has the required functionality enabled.
Comments
Comment #1
dwaine commentedHi Danny,
The code is performing a conditional against the function call "class_exists('SoapClient')" and, on your installation, believes the Soap client is not available. But it could be wrong. You might take a look at the output of phpinfo() at this url on the system that you're attempting to install nws_weather onto:
www.yourservernamehere.tld/admin/reports/status/php
You are looking for a section titled 'Soap' and ,hopefully, for the Soap client to show 'enabled'. If the client is not showing as 'enabled' on this list then I would presume that there still exists a Soap configuration issue. If the Soap client shows 'enabled' then the class_exists() function is failing.
One pitfall on PHP configuration to be aware of. PHP, when it runs via your webserver (usually Apache) can, and usually does, have a different set of configuration parameters from when PHP runs from the command line. The drupal path shown above will show the configuration that is relevant for the Drupal environment.
Dwaine
Comment #2
dwaine commented