[OpenSIPS-Users] User Management frame in OpenSIPS-CP has no display
Jerry Chinn
JHChinn at TheNavisWay.com
Fri Jul 28 13:54:49 EDT 2017
This is what shows up in the error log after a restart:
[Fri Jul 28 10:30:02.600483 2017] [mpm_prefork:notice] [pid 3227] AH00170: caught SIGWINCH, shutting down gracefully
[Fri Jul 28 10:30:07.456104 2017] [core:notice] [pid 3246] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Fri Jul 28 10:30:07.457197 2017] [suexec:notice] [pid 3246] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jul 28 10:30:10.396994 2017] [auth_digest:notice] [pid 3246] AH01757: generating secret for digest authentication ...
[Fri Jul 28 10:30:10.399234 2017] [lbmethod_heartbeat:notice] [pid 3246] AH02282: No slotmem from mod_heartmonitor
[Fri Jul 28 10:30:10.448825 2017] [mpm_prefork:notice] [pid 3246] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 configured -- resuming normal operations
[Fri Jul 28 10:30:10.448882 2017] [core:notice] [pid 3246] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Fri Jul 28 10:30:21.538198 2017] [:error] [pid 3251] [client 10.2.112.22:53033] PHP Warning: Creating default object from empty value in /var/www/opensips-cp/config/db.inc.php on line 24, referer: http://10.2.112.29/cp/menu.php
[Fri Jul 28 10:30:21.556313 2017] [:error] [pid 3251] [client 10.2.112.22:53033] PHP Parse error: syntax error, unexpected '}' in /var/www/opensips-cp/web/tools/users/user_management/template/user_management.main.php on line 273, referer: http://10.2.112.29/cp/menu.php
[Fri Jul 28 10:30:24.139244 2017] [:error] [pid 3247] [client 10.2.112.22:53037] PHP Notice: Undefined variable: i in /var/www/opensips-cp/web/main.php on line 42, referer: http://10.2.112.29/cp/
[Fri Jul 28 10:30:24.193831 2017] [:error] [pid 3249] [client 10.2.112.22:53043] PHP Warning: Creating default object from empty value in /var/www/opensips-cp/config/db.inc.php on line 24, referer: http://10.2.112.29/cp/main.php
[Fri Jul 28 10:30:24.231075 2017] [:error] [pid 3249] [client 10.2.112.22:53043] PHP Parse error: syntax error, unexpected '}' in /var/www/opensips-cp/web/tools/users/user_management/template/user_management.main.php on line 273, referer: http://10.2.112.29/cp/main.php
[Fri Jul 28 10:35:25.738895 2017] [:error] [pid 3251] [client 10.2.112.22:54191] PHP Notice: Undefined variable: i in /var/www/opensips-cp/web/main.php on line 42, referer: http://10.2.112.29/cp/
[Fri Jul 28 10:35:25.817481 2017] [:error] [pid 3251] [client 10.2.112.22:54191] PHP Warning: Creating default object from empty value in /var/www/opensips-cp/config/db.inc.php on line 24, referer: http://10.2.112.29/cp/main.php
[Fri Jul 28 10:35:25.844710 2017] [:error] [pid 3251] [client 10.2.112.22:54191] PHP Parse error: syntax error, unexpected '}' in /var/www/opensips-cp/web/tools/users/user_management/template/user_management.main.php on line 273, referer: http://10.2.112.29/cp/main.php
[Fri Jul 28 10:35:30.676243 2017] [:error] [pid 3254] [client 10.2.112.22:54227] PHP Warning: Creating default object from empty value in /var/www/opensips-cp/config/db.inc.php on line 24, referer: http://10.2.112.29/cp/menu.php
[Fri Jul 28 10:35:30.700095 2017] [:error] [pid 3254] [client 10.2.112.22:54227] PHP Notice: Undefined index: username in /var/www/opensips-cp/web/tools/users/alias_management/template/alias_management.main.php on line 24, referer: http://10.2.112.29/cp/menu.php
[Fri Jul 28 10:35:30.700198 2017] [:error] [pid 3254] [client 10.2.112.22:54227] PHP Notice: Undefined index: alias_username in /var/www/opensips-cp/web/tools/users/alias_management/template/alias_management.main.php on line 25, referer: http://10.2.112.29/cp/menu.php
[Fri Jul 28 10:35:30.700221 2017] [:error] [pid 3254] [client 10.2.112.22:54227] PHP Notice: Undefined index: alias_domain in /var/www/opensips-cp/web/tools/users/alias_management/template/alias_management.main.php on line 26, referer: http://10.2.112.29/cp/menu.php
[Fri Jul 28 10:35:30.700236 2017] [:error] [pid 3254] [client 10.2.112.22:54227] PHP Notice: Undefined index: alias_type in /var/www/opensips-cp/web/tools/users/alias_management/template/alias_management.main.php on line 27, referer: http://10.2.112.29/cp/menu.php
[Fri Jul 28 10:35:30.703075 2017] [:error] [pid 3254] [client 10.2.112.22:54227] PHP Notice: Undefined variable: temp in /var/www/opensips-cp/web/tools/users/alias_management/lib/functions.inc.php on line 60, referer: http://10.2.112.29/cp/menu.php
[Fri Jul 28 10:35:30.703179 2017] [:error] [pid 3254] [client 10.2.112.22:54227] PHP Notice: Undefined variable: temp in /var/www/opensips-cp/web/tools/users/alias_management/lib/functions.inc.php on line 60, referer: http://10.2.112.29/cp/menu.php
[Fri Jul 28 10:35:30.703410 2017] [:error] [pid 3254] [client 10.2.112.22:54227] PHP Notice: Undefined variable: temp in /var/www/opensips-cp/web/tools/users/alias_management/lib/functions.inc.php on line 91, referer: http://10.2.112.29/cp/menu.php
[Fri Jul 28 10:35:30.703439 2017] [:error] [pid 3254] [client 10.2.112.22:54227] PHP Notice: Undefined variable: temp in /var/www/opensips-cp/web/tools/users/alias_management/lib/functions.inc.php on line 91, referer: http://10.2.112.29/cp/menu.php
[Fri Jul 28 10:35:30.704470 2017] [:error] [pid 3254] [client 10.2.112.22:54227] PHP Notice: Undefined variable: errors in /var/www/opensips-cp/web/tools/users/alias_management/alias_management.php on line 304, referer: http://10.2.112.29/cp/menu.php
[Fri Jul 28 10:35:30.704514 2017] [:error] [pid 3254] [client 10.2.112.22:54227] PHP Notice: Undefined variable: errors in /var/www/opensips-cp/web/tools/users/alias_management/alias_management.php on line 304, referer: http://10.2.112.29/cp/menu.php
[Fri Jul 28 10:35:31.767117 2017] [:error] [pid 3254] [client 10.2.112.22:54227] PHP Warning: Creating default object from empty value in /var/www/opensips-cp/config/db.inc.php on line 24, referer: http://10.2.112.29/cp/menu.php
[Fri Jul 28 10:35:31.786457 2017] [:error] [pid 3254] [client 10.2.112.22:54227] PHP Parse error: syntax error, unexpected '}' in /var/www/opensips-cp/web/tools/users/user_management/template/user_management.main.php on line 273, referer: http://10.2.112.29/cp/menu.php
Jerry Chinn
Telecom VoIP Specialist
NAVIS More Performance. More Profit.
tel 541-330-3562
www.TheNavisWay.com<http://www.thenavisway.com/>
Facebook<https://www.facebook.com/theNAVISway/> | Twitter<https://twitter.com/NAVISway> | LinkedIn<https://www.linkedin.com/company/navisway> | Blog<https://www.thenavisway.com/blog>
From: Bogdan-Andrei Iancu [mailto:bogdan at opensips.org]
Sent: Friday, July 28, 2017 10:40 AM
To: Jerry Chinn; OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] User Management frame in OpenSIPS-CP has no display
What is the file you fixed ?
Have you restarted apache ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
OpenSIPS Bootcamp 2017, Houston, US
http://opensips.org/training/OpenSIPS_Bootcamp_2017.html
On 07/28/2017 08:37 PM, Jerry Chinn wrote:
Bogdan,
I fixed the short_open_tag in the php.ini file (I Had not removed the ;).
I restarted the httpd.service and still see either the blank screen with the } left in the /var/www/opensips-cp/web/tools/users/user_management/template/user_management.main.php file
OR
the below view when the } is removed
[cid:image001.png at 01D30787.30137FC0]
Any thoughts?
Jerry Chinn
Telecom VoIP Specialist
NAVIS More Performance. More Profit.
tel 541-330-3562
www.TheNavisWay.com<http://www.thenavisway.com/>
Facebook<https://www.facebook.com/theNAVISway/> | Twitter<https://twitter.com/NAVISway> | LinkedIn<https://www.linkedin.com/company/navisway> | Blog<https://www.thenavisway.com/blog>
From: Bogdan-Andrei Iancu [mailto:bogdan at opensips.org]
Sent: Friday, July 28, 2017 10:09 AM
To: Jerry Chinn; OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] User Management frame in OpenSIPS-CP has no display
That is the typical error if you forgot turn ON the short_open_tag PHP option in php.ini for apache (not for cli). And be sure you restart apache after doing the change.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
OpenSIPS Bootcamp 2017, Houston, US
http://opensips.org/training/OpenSIPS_Bootcamp_2017.html
On 07/28/2017 07:52 PM, Jerry Chinn wrote:
Bogdan,
I found an error in the /var/www/opensips-cp/web/tools/users/user_management/user_management.php file
On line 273 and 274 there is an unexpected } character.
I removed them and I am now getting the attached display in the User Management display
Your thoughts?
Jerry Chinn
Telecom VoIP Specialist
NAVIS More Performance. More Profit.
tel 541-330-3562
www.TheNavisWay.com<http://www.thenavisway.com/>
Facebook<https://www.facebook.com/theNAVISway/> | Twitter<https://twitter.com/NAVISway> | LinkedIn<https://www.linkedin.com/company/navisway> | Blog<https://www.thenavisway.com/blog>
From: Bogdan-Andrei Iancu [mailto:bogdan at opensips.org]
Sent: Friday, July 28, 2017 3:59 AM
To: OpenSIPS users mailling list; Jerry Chinn
Subject: Re: [OpenSIPS-Users] User Management frame in OpenSIPS-CP has no display
Hello,
Have you configured the DB support, so that the User Management can list the users ? Do you see any errors in the apache logs ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
OpenSIPS Bootcamp 2017, Houston, US
http://opensips.org/training/OpenSIPS_Bootcamp_2017.html
On 07/27/2017 10:03 PM, jhchinn wrote:
I just loaded OpenSIPS-CP 7.2.3 on a server running CentOS7 following the directions from http://controlpanel.opensips.org/htmldoc/INSTALL.html. Everything loaded and I can get to the CP and all frames via multiple browsers. The display for the User Management doesn't display anything while all others do. [Image removed by sender.] Any ideas why and what to do to fix it? Thanks
________________________________
View this message in context: User Management frame in OpenSIPS-CP has no display<http://opensips-open-sip-server.1449251.n2.nabble.com/User-Management-frame-in-OpenSIPS-CP-has-no-display-tp7608166.html>
Sent from the OpenSIPS - Users mailing list archive<http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html> at Nabble.com.
_______________________________________________
Users mailing list
Users at lists.opensips.org<mailto:Users at lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170728/e6dd252b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 116142 bytes
Desc: image001.png
URL: <http://lists.opensips.org/pipermail/users/attachments/20170728/e6dd252b/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 823 bytes
Desc: image002.jpg
URL: <http://lists.opensips.org/pipermail/users/attachments/20170728/e6dd252b/attachment-0001.jpg>
More information about the Users
mailing list