Re: [OpenSIPS-Users] OpenSips-CP Not Working

2015-09-19 Thread Muhammad Usman Shahid
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 <gmar...@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" <
> usmanshahidmuham...@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 <
>> usmanshahidmuham...@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@lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>


-- 
Muhammad Usman Shahid.
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] OpenSips-CP Not Working

2015-09-16 Thread Muhammad Usman Shahid
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 <
usmanshahidmuham...@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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] OpenSips-CP Not Working

2015-09-16 Thread Muhammad Usman Shahid
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.
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users