<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <tt>Hi,<br>
      <br>
      be sure you have the MDB2 php pear installed on your system (see
      the Install Guide from the Documentation section at
      <a class="moz-txt-link-freetext" href="http://opensips-cp.sourceforge.net/">http://opensips-cp.sourceforge.net/</a>)<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 19.09.2015 13:01, Muhammad Usman
      Shahid wrote:<br>
    </div>
    <blockquote
cite="mid:CACvGU4dx8+D6Z52icX9B2KrNZHOUnd9jSba8d-jonkzhmYAr0w@mail.gmail.com"
      type="cite">
      <div dir="ltr">I checked the logs and they have the following
        information
        <div><br>
        </div>
        <div>
          <div>[Sat Sep 19 14:53:13.915427 2015] [:error] [pid 1928]
            [client <a moz-do-not-send="true"
              href="http://127.0.0.1:47528">127.0.0.1:47528</a>] PHP
            Warning:  Creating default object from empty value in
            /var/www/opensips-cp/config/db.inc.php on line 25, referer:
            <a moz-do-not-send="true"
              href="http://127.0.0.1/opensips-cp/web/">http://127.0.0.1/opensips-cp/web/</a></div>
          <div><br>
          </div>
          <div>[Sat Sep 19 14:53:13.999544 2015] [:error] [pid 1928]
            [client <a moz-do-not-send="true"
              href="http://127.0.0.1:47528">127.0.0.1:47528</a>] PHP
            Fatal error:  Call to undefined method
            MDB2_Error::setFetchMode() in
            /var/www/opensips-cp/web/db_connect.php on line 31, referer:
            <a moz-do-not-send="true"
              href="http://127.0.0.1/opensips-cp/web/">http://127.0.0.1/opensips-cp/web/</a></div>
        </div>
        <div><br>
        </div>
        <div>Line 25 of db.inc.php is:</div>
        <div><br>
        </div>
        <div>
          <div><b> $config-&gt;db_driver = "mysql";</b></div>
        </div>
        <div><br>
        </div>
        <div>Line 31 of db_connect.php is:</div>
        <div><br>
        </div>
        <div>
          <div><b>$link-&gt;setFetchMode(MDB2_FETCHMODE_ASSOC);</b></div>
        </div>
        <div><br>
        </div>
        <div>I still don't understand what the problem is. Please help
          in solving this.</div>
        <div><br>
        </div>
        <div>Regards</div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Sep 17, 2015 at 12:06 AM,
          Giovanni Maruzzelli <span dir="ltr">&lt;<a
              moz-do-not-send="true" href="mailto:gmaruzz@gmail.com"
              target="_blank">gmaruzz@gmail.com</a>&gt;</span> wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <p dir="ltr">Check the web server logs</p>
            <p dir="ltr">sent from my mobile,<br>
              Giovanni Maruzzelli<br>
              cell: +39 347 266 56 18</p>
            <div class="gmail_quote">
              <div>
                <div class="h5">On Sep 16, 2015 9:03 PM, "Muhammad Usman
                  Shahid" &lt;<a moz-do-not-send="true"
                    href="mailto:usmanshahidmuhammad@gmail.com"
                    target="_blank">usmanshahidmuhammad@gmail.com</a>&gt;
                  wrote:<br type="attribution">
                </div>
              </div>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div>
                  <div class="h5">
                    <div dir="ltr">The following error occurs in
                      Javascript console when I try to login to
                      Opensips-cp
                      <div><br>
                      </div>
                      <div>POST <a moz-do-not-send="true"
                          href="http://192.168.1.15/opensips-cp/web/login.php"
                          target="_blank">http://192.168.1.15/opensips-cp/web/login.php</a>
                        500 (Internal Server Error)<br>
                      </div>
                      <div><br>
                      </div>
                      <div>Please help</div>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">On Wed, Sep 16, 2015 at
                        10:38 PM, Muhammad Usman Shahid <span dir="ltr">&lt;<a
                            moz-do-not-send="true"
                            href="mailto:usmanshahidmuhammad@gmail.com"
                            target="_blank">usmanshahidmuhammad@gmail.com</a>&gt;</span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">
                          <div dir="ltr">Hello,
                            <div><br>
                            </div>
                            <div>I am trying to run opensips-cp but
                              after I input username and password my
                              browser opens "login.php" but nothing
                              shows.</div>
                            <div><br>
                            </div>
                            <div>I am using the following tutorial.</div>
                            <div><br>
                            </div>
                            <div><a moz-do-not-send="true"
href="http://www.opensips.org/Documentation/Tutorials-OpenSIPSFreeSwitchIntegration"
                                target="_blank">http://www.opensips.org/Documentation/Tutorials-OpenSIPSFreeSwitchIntegration</a></div>
                            <div><br>
                            </div>
                            <div>Please help.<span><font color="#888888"><br
                                    clear="all">
                                  <div><br>
                                  </div>
                                  -- <br>
                                  <div>
                                    <div dir="ltr">Muhammad Usman
                                      Shahid.</div>
                                  </div>
                                </font></span></div>
                          </div>
                        </blockquote>
                      </div>
                      <br>
                      <br clear="all">
                      <div><br>
                      </div>
                      -- <br>
                      <div>
                        <div dir="ltr">Muhammad Usman Shahid.</div>
                      </div>
                    </div>
                    <br>
                  </div>
                </div>
                _______________________________________________<br>
                Users mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
                <a moz-do-not-send="true"
                  href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                  rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
                <br>
              </blockquote>
            </div>
            <br>
            _______________________________________________<br>
            Users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
              rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
            <br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div class="gmail_signature">
          <div dir="ltr">Muhammad Usman Shahid.</div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>