[OpenSIPS-Users] OPENSIPS_CP DIALPLAN

Jeff Wilkie jwilkie at usipcom.com
Tue Aug 30 12:28:45 CEST 2016


php.i686                           5.3.3-48.el6_8
@updates

php-cli.i686                       5.3.3-48.el6_8
@updates

php-common.i686                    5.3.3-48.el6_8
@updates

php-gd.i686                        5.3.3-48.el6_8
@updates

php-mysql.i686                     5.3.3-48.el6_8
@updates

php-pdo.i686                       5.3.3-48.el6_8
@updates

php-pear.noarch                    1:1.9.4-5.el6
@base

php-xmlrpc.i686                    5.3.3-48.el6_8
@updates

*Installed packages, channel pear.php.net <http://pear.php.net>:*

=========================================

*Package*           *Version* *State*

Archive_Tar       1.3.7   stable

Console_Getopt    1.2.3   stable

Log               1.12.8  stable

MDB2              2.4.1   stable

MDB2_Driver_mysql 1.4.1   stable

PEAR              1.9.4   stable

Structures_Graph  1.0.4   stable

XML_RPC           1.5.4   stable

XML_Util          1.2.1   stable


freeradius-mysql.i686              2.2.6-6.el6_7
@updates

lua-sql-mysql.i686                 2.1.1-7.el6
@epel

mysql.i686                         5.1.73-7.el6
@base

mysql-devel.i686                   5.1.73-7.el6
@base

mysql-libs.i686                    5.1.73-7.el6
@base

mysql-server.i686                  5.1.73-7.el6
@base

php-mysql.i686                     5.3.3-48.el6_8
@updates


I'll run those tests with mysqli.  I'm not currently using that though.
Will report today.

Jeff Wilkie
Chief Technology Officer
US IP Communications
919.297.1057


*"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". *

On Tue, Aug 30, 2016 at 4:12 AM, Bogdan-Andrei Iancu <bogdan at opensips.org>
wrote:

> 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 Developerhttp://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
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160830/c65b4c1e/attachment-0001.htm>


More information about the Users mailing list