[OpenSIPS-Users] User Management frame in OpenSIPS-CP has no display

Jerry Chinn JHChinn at TheNavisWay.com
Mon Jul 31 17:24:54 EDT 2017


Jennifer,

Thanks for your response.

I did identify the issue and am posting what I found to resolve this.

In the php.ini file there are (2) locations where the short_open_tag is defined.
;short_open_tag
;   Default Value: On
;   Development Value: Off
;   Production Value: On

Again in a few lines below

; This directive determines whether or not PHP will recognize code between
; <? and ?> tags as PHP source which should be processed as such. It's been
; recommended for several years that you not use the short tag "short cut" and
; instead to use the full <?php and ?> tag combination. With the wide spread use
; of XML and use of these tags by other languages, the server can become easily
; confused and end up parsing the wrong code in the wrong context. But because
; this short cut has been a feature for such a long time, it's currently still
; supported for backwards compatibility, but we recommend you don't use them.
; Default Value: On
; Development Value: Off
; Production Value: Off
; http://php.net/short-open-tag
short_open_tag = OFF

When I searched for the parameter, I uncommented the first, and did not see the second.

Once I corrected this error, all works fine.

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: Users [mailto:users-bounces at lists.opensips.org] On Behalf Of Jennifer Hashimoto
Sent: Monday, July 31, 2017 10:53 AM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] User Management frame in OpenSIPS-CP has no display

Jerry,

I use opensips-cp maybe I can help.

A couple things - I have not found there is an extraneous } that needed to be removed, I would suggest putting it back.

What database are you using? I am using postgres instead of mysql and I found that there was a query where it did a count of users to see if it had anything to display and it was mistakenly finding that it had no users to display.

I suggest finding the part where it does a count on users and modifying the php file to echo the sql it uses (just add a few lines like echo $sql;) then test the sql against your database.

I had to change something like
< $data_no=$resultset[0]['count'];
---
> $data_no=$resultset[0]['count(*)’];

Jennifer


---------------------------------------------------
Jennifer Akemi Hashimoto
Caztel Communications
jennifer.hashimoto at caztel.com<mailto:jennifer.hashimoto at caztel.com>
905-836-5445

On Jul 31, 2017, at 1:37 PM, jhchinn <jhchinn at thenavisway.com<mailto:jhchinn at thenavisway.com>> wrote:

Bogdan,

Is there any other advice on how to proceed?

Thanks,

Jerry



--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/User-Management-frame-in-OpenSIPS-CP-has-no-display-tp7608166p7608194.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com<http://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/20170731/70f4ad08/attachment-0001.html>


More information about the Users mailing list