<div dir="ltr"><p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">php.i686                           5.3.3-48.el6_8                       @updates</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">php-cli.i686                       5.3.3-48.el6_8                       @updates</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">php-common.i686                    5.3.3-48.el6_8                       @updates</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">php-gd.i686                        5.3.3-48.el6_8                       @updates</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">php-mysql.i686                     5.3.3-48.el6_8                       @updates</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">php-pdo.i686                       5.3.3-48.el6_8                       @updates</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">php-pear.noarch                    1:1.9.4-5.el6                        @base   </span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">php-xmlrpc.i686                    5.3.3-48.el6_8                       @updates</span></p><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures"><b>Installed packages, channel <a href="http://pear.php.net">pear.php.net</a>:</b></span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">=========================================</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures"><b>Package</b>           <b>Version</b> <b>State</b></span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">Archive_Tar       1.3.7   stable</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">Console_Getopt    1.2.3   stable</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">Log               1.12.8  stable</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">MDB2              2.4.1   stable</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">MDB2_Driver_mysql 1.4.1   stable</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">PEAR              1.9.4   stable</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">Structures_Graph  1.0.4   stable</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">XML_RPC           1.5.4   stable</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">XML_Util          1.2.1   stable</span></p><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">freeradius-mysql.i686              2.2.6-6.el6_7                        @updates</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">lua-sql-mysql.i686                 2.1.1-7.el6                          @epel   </span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">mysql.i686                         5.1.73-7.el6                         @base   </span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">mysql-devel.i686                   5.1.73-7.el6                         @base   </span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">mysql-libs.i686                    5.1.73-7.el6                         @base   </span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">mysql-server.i686                  5.1.73-7.el6                         @base   </span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">php-mysql.i686                     5.3.3-48.el6_8                       @updates</span></p><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures">I&#39;ll run those tests with mysqli.  I&#39;m not currently using that though.  Will report today.</span></div></span></div></span></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div>Jeff Wilkie<br></div>Chief Technology Officer<br></div>US IP Communications<br>919.297.1057<br><br><br><i>&quot;This e-mail communication and any attachments may contain confidential 
and privileged information and is for use by the designated addressee(s)
 named above only. Any files transmitted with it are confidential and 
intended solely for the use of the individual to whom it is addressed. 
Any views or opinions presented are solely those of the author and do 
not necessarily represent those of USIPCOM, LLC. If you are not the 
intended addressee, you are hereby notified that you have received this 
communication in error and that any use or reproduction of this email or
 its contents is strictly prohibited and may be unlawful. If you have 
received this communication in error, please notify us immediately by 
replying to this message and deleting it from your computer. Thank you&quot;. 
</i><br></div></div></div>
<br><div class="gmail_quote">On Tue, Aug 30, 2016 at 4:12 AM, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Jeff,<br>
      <br>
      We are getting closer :).<br>
      <br>
      I found this
<a href="http://stackoverflow.com/questions/9014877/mysql-real-escape-string-error-despite-connecting-to-database-what-am-i-doing" target="_blank">http://stackoverflow.com/<wbr>questions/9014877/mysql-real-<wbr>escape-string-error-despite-<wbr>connecting-to-database-what-<wbr>am-i-doing</a><br>
      <br>
      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) ?<br>
      <br>
      Also, for testing purposes, try to change </tt><code><span>mysql_real_escape_string() into </span></code><code><span>mysqli_real_escape_string</span></code><code><span></span></code><tt>()</tt>
    <pre><code><span>
Thanks,
</span></code></pre><span class="">
    <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a></pre>
    </span><span class=""><div>On 30.08.2016 00:41, Jeff Wilkie wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr"><span style="text-align:-webkit-center;background-color:rgb(255,255,255)"><font color="#000000" face="Verdana, Arial, Helvetica, sans-serif"><span style="font-size:12px">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&#39;m digging
              online to see why the $link is not connecting as a
              resource in this portion for whatever reason: </span></font></span>
        <div>
          <div style="text-align:-webkit-center"><font color="#000000" face="Verdana, Arial, Helvetica, sans-serif"><span style="font-size:12px"><br>
              </span></font></div>
          <div style="text-align:-webkit-center"><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12px;background-color:rgb(233,236,239)">Warning:
              mysql_real_escape_string() expects parameter 2 to be
              resource, object given in
              /var/www/opensips_cp/web/<wbr>tools/system/dialplan/<wbr>dialplan.php
              on line 288</span><font color="#000000" face="Verdana,
              Arial, Helvetica, sans-serif"><span style="font-size:12px"><br>
              </span></font></div>
          <div><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12px;text-align:-webkit-center;background-color:rgb(255,255,255)"><br>
            </span></div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </span></div>

</blockquote></div><br></div>