Unable to add a product | Soapui Tutorial |Soapui Training |Web services testing

SOAPUI Training Forum

Unable to add a product

B
Bhagath K Post on 26/12/2018

Hi Ashish,

I am unable to add a product as admin and got the following response.

<br />
<b>Fatal error</b>: Uncaught Error: Call to undefined function mysql_connect() in /Applications/XAMPP/xamppfiles/htdocs/retail/retail.php:1834
Stack trace:
#0 /Applications/XAMPP/xamppfiles/htdocs/retail/retail.php(497): getCon()
#1 /Applications/XAMPP/xamppfiles/htdocs/retail/retail.php(472): addProducttoDB('shoes', 'Nike', '10', '100')
#2 /Applications/XAMPP/xamppfiles/htdocs/retail/lib/nusoap.php(4087): addproduct(Array, Array)
#3 /Applications/XAMPP/xamppfiles/htdocs/retail/lib/nusoap.php(3718): nusoap_server-&gt;invoke_method()
#4 /Applications/XAMPP/xamppfiles/htdocs/retail/retail.php(1963): nusoap_server-&gt;service('&lt;soapenv:Envelo...')
#5 {main}
thrown in <b>/Applications/XAMPP/xamppfiles/htdocs/retail/retail.php</b> on line <b>1834</b><br />

A

Instructor

Abhinav Reply on 27/12/2018

Hi

Please use the same version of Xamp that is used in Video. You can get the same version from the Soapui Code.