Fork me on GitHub

moved server and adodb error  Bottom

  • i moved my site based on PN 764 from a centos server to another same server .
    and after this faced with this error

    Code

    ADONewConnection: Unable to load database driver ''


    Fatal error: Call to a member function NConnect() on a non-object in /home/mashhad/public_html/includes/pnAPI.php on line


    i found this topic about my problem
    http://community.postnuke.com/module-Forum-viewtopic-topic-50830.htm
    and do that .
    but i dont have get any result .

    can anyone help me?
  • PN .764 has no official support as of July 2009.

    With that said, you may or may not get help on the subject. I would help but I don't know what to suggest.

    Have you considered upgrading to Zikula?
  • Hello folks,

    Mvonline, did you manage to solve this issue ? The link you're referring is 404 now...

    I know it's a quite old topic, but i'm facing the exact same problem right now icon_frown .
    Had to move from a Gentoo Linux distro to Debian Lenny, and now i'm getting :

    Quote

    ADONewConnection: Unable to load database driver ''
    Fatal error: Call to a member function NConnect() on a non-object in /home/sdo/public_html/includes/pnAPI.php on line 337


    MySQL 5.0.44 -> 5.1.49
    Apache/PHP 2.0.59/5.2.5-pl1 -> 2.2.16/5.2.6-1

    Postnuke .764 (i know, but i can't upgrade since i have no access anymore).

    I tried installing php5-adodb and libphp-adodb, but nothing changed.

    I really need help here. Thanks for reading.
  • Seems like a missing file there.
    The mysql driver on the adoDB files. Verify it.
    Greetz

    --
    - Mateo T. -
    Mis principios... son mis fines
  • Problem solved.
    Actually, the problem was Apache/PHP couldn't access the personal_config.php which was outside the public_html root (..). By moving it again in public_html, the error disappears and the website works as expected.
    Hope that helps.

    Bye.

This list is based on users active over the last 60 minutes.