<div dir="ltr"><div>Is this a bug perhaps? I downloaded Opensips-cp from svn trunk, as I understand it normally resolves most problems, but I still see the "Undefined variable" filling up my log file. I am unsure which variables are undefined and what else is required to fix this.<br>
<br></div>Any help appreciated.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 1 September 2013 22:35, <a href="mailto:mimicafe@gmail.com">mimicafe@gmail.com</a> <span dir="ltr"><<a href="mailto:mimicafe@gmail.com" target="_blank">mimicafe@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Opensips-cp is running as expected, and I am wondering what these undefined variable and undefined index are about. If the variables are undefined, then why are we trying to use them? Or better, how do I resolve these issue?<br>
<div><div><br><br>[Sun Sep 01 16:08:02 2013] [warn] ./mod_dnssd.c: No services found to register<br>[Sun Sep 01 16:08:02 2013] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 configured -- resuming normal operations<br>[Sun Sep 01 17:48:16 2013] [error] [client 192.168.18.97] PHP Notice: Undefined variable: arg_list in /var/www/opensips-cp/web/common/mi_comm.php on line 78, referer: <a href="http://192.168.18.103/cp/menu.php" target="_blank">http://192.168.18.103/cp/menu.php</a><br>
[Sun Sep 01 17:48:16 2013] [error] [client 192.168.18.97] PHP Notice: Undefined offset: 1 in /var/www/opensips-cp/web/tools/system/dialog/template/dialog.main.php on line 101, referer: <a href="http://192.168.18.103/cp/menu.php" target="_blank">http://192.168.18.103/cp/menu.php</a><br>
[Sun Sep 01 17:48:16 2013] [error] [client 192.168.18.97] PHP Notice: Undefined offset: 1 in /var/www/opensips-cp/web/tools/system/dialog/template/dialog.main.php on line 101, referer: <a href="http://192.168.18.103/cp/menu.php" target="_blank">http://192.168.18.103/cp/menu.php</a><br>
[Sun Sep 01 17:48:16 2013] [error] [client 192.168.18.97] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/London' for 'BST/1.0/DST' instead in /var/www/opensips-cp/web/tools/system/dialog/template/dialog.main.php on line 135, referer: <a href="http://192.168.18.103/cp/menu.php" target="_blank">http://192.168.18.103/cp/menu.php</a><br>
[Sun Sep 01 17:49:39 2013] [error] [client 192.168.18.97] PHP Notice: Undefined index: username in /var/www/opensips-cp/web/tools/users/alias_management/template/alias_management.main.php on line 28, referer: <a href="http://192.168.18.103/cp/menu.php" target="_blank">http://192.168.18.103/cp/menu.php</a><br>
[Sun Sep 01 17:49:39 2013] [error] [client 192.168.18.97] PHP Notice: Undefined index: alias_username in /var/www/opensips-cp/web/tools/users/alias_management/template/alias_management.main.php on line 29, referer: <a href="http://192.168.18.103/cp/menu.php" target="_blank">http://192.168.18.103/cp/menu.php</a><br>
[Sun Sep 01 17:49:39 2013] [error] [client 192.168.18.97] PHP Notice: Undefined index: alias_domain in /var/www/opensips-cp/web/tools/users/alias_management/template/alias_management.main.php on line 30, referer: <a href="http://192.168.18.103/cp/menu.php" target="_blank">http://192.168.18.103/cp/menu.php</a><br>
[Sun Sep 01 17:49:39 2013] [error] [client 192.168.18.97] PHP Notice: Undefined index: alias_type in /var/www/opensips-cp/web/tools/users/alias_management/template/alias_management.main.php on line 31, referer: <a href="http://192.168.18.103/cp/menu.php" target="_blank">http://192.168.18.103/cp/menu.php</a><br>
[Sun Sep 01 17:49:39 2013] [error] [client 192.168.18.97] PHP Notice: Undefined variable: temp in /var/www/opensips-cp/web/tools/users/alias_management/lib/functions.inc.php on line 107, referer: <a href="http://192.168.18.103/cp/menu.php" target="_blank">http://192.168.18.103/cp/menu.php</a><br>
[Sun Sep 01 17:49:39 2013] [error] [client 192.168.18.97] PHP Notice: Undefined variable: temp in /var/www/opensips-cp/web/tools/users/alias_management/lib/functions.inc.php on line 107, referer: <a href="http://192.168.18.103/cp/menu.php" target="_blank">http://192.168.18.103/cp/menu.php</a><br>
[Sun Sep 01 17:49:39 2013] [error] [client 192.168.18.97] PHP Notice: Undefined variable: temp in /var/www/opensips-cp/web/tools/users/alias_management/lib/functions.inc.php on line 142, referer: <a href="http://192.168.18.103/cp/menu.php" target="_blank">http://192.168.18.103/cp/menu.php</a><br>
[Sun Sep 01 17:49:39 2013] [error] [client 192.168.18.97] PHP Notice: Undefined variable: temp in /var/www/opensips-cp/web/tools/users/alias_management/lib/functions.inc.php on line 142, referer: <a href="http://192.168.18.103/cp/menu.php" target="_blank">http://192.168.18.103/cp/menu.php</a><br>
[Sun Sep 01 17:49:39 2013] [error] [client 192.168.18.97] PHP Notice: Undefined variable: errors in /var/www/opensips-cp/web/tools/users/alias_management/alias_management.php on line 305, referer: <a href="http://192.168.18.103/cp/menu.php" target="_blank">http://192.168.18.103/cp/menu.php</a><br>
[Sun Sep 01 17:49:39 2013] [error] [client 192.168.18.97] PHP Notice: Undefined variable: errors in /var/www/opensips-cp/web/tools/users/alias_management/alias_management.php on line 305, referer: <a href="http://192.168.18.103/cp/menu.php" target="_blank">http://192.168.18.103/cp/menu.php</a><br>
[Sun Sep 01 17:53:13 2013] [error] [client 192.168.18.97] PHP Notice: Undefined variable: arg_list in /v<br><br>mysql.so and xmlrpc.so appear only once in the php.ini, however, I do see the warning below in httpd.log<br>
<br>$ sudo egrep 'mysql.so|xmlrpc.so' /etc/php.ini<br>extension=mysql.so<br>extension=xmlrpc.so<br><br>PHP Warning: Module 'mysql' already loaded in Unknown on line 0<br>PHP Warning: Module 'xmlrpc' already loaded in Unknown on line 0<br>
<br></div><div>Any help appreciated.<br><br></div><div>Mimi<br></div></div></div>
</blockquote></div><br></div>