[OpenSIPS-Users] contol panel installation problems

Ali Pey alipey at gmail.com
Thu Sep 13 20:22:40 CEST 2012


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


More information about the Users mailing list