|
Summary
Below are some common issues that may be encountered when setting up the PHP sample pages:
1. SOAP Extension Error
The Identifier NameTracer Pro v5.0 PHP pages require the PHP SOAP extension to be installed (this is available from PHP 5 onwards). Failure to have the extension installed will cause the sample pages to report errors shown below:

Solution
To install the SOAP extension, you need to edit php.ini (located in C:\WINDOWS by default).
Add or uncomment the following line within php.ini:
extension=EXT/php_soap.dll
Where the path to php_soap.dll is included after the “=”. If PHP5 is installed with the default settings, php_soap.dll will be located in C:\PHP\EXT .
2. Setting the Server Address
If the Server address or port is changed, the constant used by the PHP sample pages will also need to be updated. If the Server is running on a different port or address, then you may see an error message as follows:

Solution
Edit constants.inc in the PHP Sample Code installation directory. The constant that points to the Server location is CONTROL_WSDL_URN :
define( "CONTROL_WSDL_URN", "http://Robinmxp:7500/tracer.wsdl" );
You can check the WSDL location by entering the address into your web browser. If it is correct, it will display the WSDL in XML format.
 |