[OpenSIPS-Users] CDRTool
Tijmen de Mes
tijmen at ag-projects.com
Tue Feb 5 13:06:34 CET 2013
Hi,
Yes CDRTool is not yet compatible with php 5.4. You should run it on php
5.3.x
Best regards,
--
Tijmen de Mes
AG Projects
On 02/05/2013 12:38 PM, Max Mühlbronner wrote:
> Hi,
>
>
> I just looked into this because i once had similar problems and this
> caught my interest...
>
> It seems like you have to change:
>
> $this->serialize($prefix."['".preg_replace("/([\\\'])/", "\\\\1",
> $k)."']", &$str);
>
> to
>
> $this->serialize($prefix."['".preg_replace("/([\\\'])/",
> "\\\\1", $k)."']", $str);
>
>
> in /var/www/CDRTool/phplib/session.inc
>
>
>
> And also a few other instances in the session.inc.
>
>
> Background:
> http://stackoverflow.com/questions/12322811/call-time-pass-by-reference-has-been-removed
>
>
>
> Best Regards
>
> Max M.
>
> On 02/05/2013 11:58 AM, leo wrote:
>> Hello Tijmen:
>>
>> Running it manually i receive the following output:
>> php /var/www/CDRTool/scripts/ratingEnginge.php
>> PHP Fatal error: Call-time pass-by-reference has been removed in
>> /var/www/CDRTool/phplib/session.inc on line 259
>>
>> # php -v
>> PHP 5.4.4-11 (cli) (built: Dec 17 2012 08:39:10)
>> Copyright (c) 1997-2012 The PHP Group
>> Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
>>
>> Thanks
>>
>>
>>
>> --
>> View this message in context:
>> http://opensips-open-sip-server.1449251.n2.nabble.com/CDRTool-tp7584388p7584418.html
>> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list