opensips-cp err

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

opensips-cp err

seanchann
Hi,
  I user opensips-cp . the version  is 5.0 .
  I have flow err in log:
PHP Notice:  Undefined offset: 0 in /var/www/html/opensips-cp/web/tools/system/smonitor/lib/functions.inc.php on line 89
PHP Notice:  Undefined variable: arg_list in /var/www/html/opensips-cp/web/common/mi_comm.php on line 78
 
 it seems that have a notice by PHP.
 what can I do for it.
Reply | Threaded
Open this post in threaded view
|

Re: opensips-cp err

seanchann
Hi,
 i fix code , then  that notice disappear

 in functions.inc.php 89 line
 -$value=$resultset[0]['extra'];
 +$value=isset($resultset[0])?$resultset[0]['extra']:"";


 in mi_comm.php 78 line
 +$arg_list="";
   $arg_list.=$val."\n";

   if there have any err ,please tell me... thank you!