[OpenSIPS-Users] contol panel installation problems

Ali Pey alipey at gmail.com
Fri Sep 14 03:06:24 CEST 2012


There shouldn't be a '>' at the end of the path. Re-examine your httpd.conf
again. You might have a '>' somewhere accidentally. Make sure you restart
the service anytime you make a change.

Regards,
Ali Pey

On Thu, Sep 13, 2012 at 7:16 PM, spencer <sal1023 at yahoo.com> wrote:

> Thanks for the suggestions.
>
> I have determined that the sql statement in login.php is working fine.
> The messages for undefined variable resultset1 are going to happen when
> you use
> $config->admin_passwd_mode=1;
>
> So the problem is related to this error
> File does not exist: /var/www/html/opensips-cp/web/<
>
> I have restarted the httpd daemon with
> $ service httpd restart
>
> I am not really a php expert.  What is the < character at the end of the
> path?   Is this tag indicate some sort of template?
>
> Is there a way to show more details in the log?
>
> Thanks again.
>
>   ------------------------------
> *From:* Ali Pey <alipey at gmail.com>
> *To:* OpenSIPS users mailling list <users at lists.opensips.org>
> *Sent:* Thursday, September 13, 2012 11:22 AM
> *Subject:* Re: [OpenSIPS-Users] contol panel installation problems
>
> Also make sure you have restarted the service after changing httpd.conf
> service httpd restart
>
> Regards,
> Ali Pey
>
> On Thu, Sep 13, 2012 at 2:08 AM, Salman Zafar <msalman212 at gmail.com>wrote:
>
> It means you are getting error due to this query not being executed in
> code.
>
> $sql = "select * from ocp_admin_privileges where username = ? and password
> = ?";
>
> I hope you have inserted user/password (e.g admin/admin) in the DB for
> authentication. Recheck and debug by echoing the $sql.
>
>
> --
> Regards
>
> Muhammad Salman Zafar
>
> On Thu, Sep 13, 2012 at 6:10 AM, spencer <sal1023 at yahoo.com> wrote:
>
> Hi,
> I am trying to setup opensips and opensips-cp and have run into some
> problems with the control panel.
> I have using centos and followed the install guide. I am using mysql
>
> I get this error on the web page after logging in as admin
> Not Found     The requested URL /cp/< was not found on this server.
>
> I get these errors in the error_log
>
> PHP Notice:  Undefined variable: resultset1 in
> /var/www/html/opensips-cp/web/
>  login.php on line 80, referer:
> http://mywebserver.com/cp/<http://ec2-184-72-158-150.compute-1.amazonaws.com/cp/>
>
> PHP Notice:  Undefined variable: resultset1 in
> /var/www/html/opensips-cp/web/**login.php on line 86, referer:
> http://mywebserver.com/cp/<http://ec2-184-72-158-150.compute-1.amazonaws.com/cp/>
>
> File does not exist: /var/www/html/opensips-cp/web/**<, referer:
> http://mywebserver.com/cp/**main.php <http://mywebserver.com/cp/main.php>
>
> I have this in httpd.conf
> Alias /cp "/var/www/html/opensips-cp/**web"
>
> Does anyone have an idea what may be causing this problem?
>
> Thanks!
>
> _______________________________________________
> 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
>
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120913/902cd859/attachment-0001.htm>


More information about the Users mailing list