Hi Jeff,

We are getting closer :).

I found this http://stackoverflow.com/questions/9014877/mysql-real-escape-string-error-despite-connecting-to-database-what-am-i-doing

where the problem goes into mysql versus mysqli. I guess your MDB2 uses mysqli ?? Could you list all the php packages you have on your system along with all the php pears (pear list) ?

Also, for testing purposes, try to change |mysql_real_escape_string() into ||mysqli_real_escape_string|||()

|Thanks, |

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 30.08.2016 00:41, Jeff Wilkie wrote:
Got this from a var dump on $link when i process if !is_resource. Not sure if this actually provides any information that may help. I'm digging online to see why the $link is not connecting as a resource in this portion for whatever reason:

Warning: mysql_real_escape_string() expects parameter 2 to be resource, object given in /var/www/opensips_cp/web/tools/system/dialplan/dialplan.php on line 288



_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to