[OpenSIPS-Users] contol panel installation problems

Salman Zafar msalman212 at gmail.com
Thu Sep 13 08:08:55 CEST 2012


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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120913/0c0a2440/attachment.htm>


More information about the Users mailing list