[OpenSIPS-Users] OpenSips-CP Not Working

Muhammad Usman Shahid usmanshahidmuhammad at gmail.com
Sat Sep 19 12:01:08 CEST 2015


I checked the logs and they have the following information

[Sat Sep 19 14:53:13.915427 2015] [:error] [pid 1928] [client
127.0.0.1:47528] PHP Warning:  Creating default object from empty value in
/var/www/opensips-cp/config/db.inc.php on line 25, referer:
http://127.0.0.1/opensips-cp/web/

[Sat Sep 19 14:53:13.999544 2015] [:error] [pid 1928] [client
127.0.0.1:47528] PHP Fatal error:  Call to undefined method
MDB2_Error::setFetchMode() in /var/www/opensips-cp/web/db_connect.php on
line 31, referer: http://127.0.0.1/opensips-cp/web/

Line 25 of db.inc.php is:

* $config->db_driver = "mysql";*

Line 31 of db_connect.php is:

*$link->setFetchMode(MDB2_FETCHMODE_ASSOC);*

I still don't understand what the problem is. Please help in solving this.

Regards


On Thu, Sep 17, 2015 at 12:06 AM, Giovanni Maruzzelli <gmaruzz at gmail.com>
wrote:

> Check the web server logs
>
> sent from my mobile,
> Giovanni Maruzzelli
> cell: +39 347 266 56 18
> On Sep 16, 2015 9:03 PM, "Muhammad Usman Shahid" <
> usmanshahidmuhammad at gmail.com> wrote:
>
>> The following error occurs in Javascript console when I try to login to
>> Opensips-cp
>>
>> POST http://192.168.1.15/opensips-cp/web/login.php 500 (Internal Server
>> Error)
>>
>> Please help
>>
>> On Wed, Sep 16, 2015 at 10:38 PM, Muhammad Usman Shahid <
>> usmanshahidmuhammad at gmail.com> wrote:
>>
>>> Hello,
>>>
>>> I am trying to run opensips-cp but after I input username and password
>>> my browser opens "login.php" but nothing shows.
>>>
>>> I am using the following tutorial.
>>>
>>>
>>> http://www.opensips.org/Documentation/Tutorials-OpenSIPSFreeSwitchIntegration
>>>
>>> Please help.
>>>
>>> --
>>> Muhammad Usman Shahid.
>>>
>>
>>
>>
>> --
>> Muhammad Usman Shahid.
>>
>> _______________________________________________
>> 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
>
>


-- 
Muhammad Usman Shahid.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150919/70d727e1/attachment.htm>


More information about the Users mailing list