This topic is locked

Error on Add page

5/26/2007 9:56:25 AM
PHPRunner General questions
jxd author

Hello,
When clicking on the save button on any Add page the following error is displayed :
PHP error happened
Technical information

Error type 2

Error description mysql_escape_string() [function.mysql-real-escape-string]: This function is deprecated; use mysql_real_escape_string() instead.

URL 127.0.0.1/staff_add.php?

Error file c:200\include\dbconnection.php

Error line 114

SQL query insert into `staff`

J
Jane 5/28/2007

Hi,
to get rid of these messages set

mysql.trace_mode to 0 in your php.ini file.

Or add this line to generated include\dbcommon.php file:

ini_set("mysql.trace_mode",0);


Thank you for pointing me to this issue.

The next version of PHPRunner will work fine with your PHP configuration.