Script Error Error establishing a database connection.

Discussion in 'aMember Pro v.4' started by relapse, Sep 6, 2013.

  1. relapse

    relapse aMember Pro Customer

    Joined:
    Jun 15, 2010
    Messages:
    133
    Posted a ticket for this but thought I would try here as well...

    The script is searching for the following file in a couple of different directories:

    Code:
    PDO.php
    Here is the error log:

    Anyone ever seen this?

    Thanks in advance!
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Your hosting support is TOO SMART for a hosting support :)
    Just ask them to install PHP's PDO extension instead of playing dirty games with strace :)

    If they say it is already installed, do the following:
    create a PHP file test.php with the following content:
    <?php phpinfo(); ?>
    upload it to the server and open from browser. You will see various information about PHP configuration. Search for word "pdo" on the page - there won't be any. Once they enable pdo extension, it will appear.
  3. relapse

    relapse aMember Pro Customer

    Joined:
    Jun 15, 2010
    Messages:
    133
    haha!

    Finally got back to an admin and he found the issue in less than a minute.

    FYI:

    The server was hacked through a wordpress install and they guys that fixed it did not do their diligence in setting everything back to the way it was.

    Thanks Alex.:)

Share This Page