Profile Problems

Discussion in 'Installation' started by resteve, Dec 7, 2008.

  1. resteve

    resteve New Member

    Joined:
    Dec 7, 2008
    Messages:
    8
    I'm getting the following error when a user tries to look at their profile.

    Code:
    Call to a member function setErrorHandler() on a non-object in /home/xxxx/public_html/members/plugins/db/mysql/mysql.inc.php on line 43
    Any ideas?

    These are the two lines of codes that are giving me the problems.

    PHP:
    $database->setErrorHandler('defaultDatabaseErrorHandler');
    $database->setIdentPrefix($prefix);
    Comment them out and the page loads nothing.
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
  3. resteve

    resteve New Member

    Joined:
    Dec 7, 2008
    Messages:
    8
    Looks like I get the same error there too, hehe.

    Code:
    Current database version: [313] (may be different from aMember version number).
    Version of amember.sql file is [313].
    
    Fatal error: Call to a member function setErrorHandler() on a non-object in /home/xxxx/public_html/members/plugins/db/mysql/mysql.inc.php on line 43
    Thanks for taking the time to respond to my posts today, Skippyboco. I greatly appreciate it!

    You know; the only thing I did other than what I did in the trial (In the trial I didn't have any problems locally), was to rename the amembers directory to members and to make sure that was set in my setup area.

    All other places work fine, but as time goes by more and more things keep coming up broke. :(
  4. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Is this a new site, or do you already have members?
    If its new, simplest thing may be to reinstall/setup the pro version.

    David
  5. resteve

    resteve New Member

    Joined:
    Dec 7, 2008
    Messages:
    8
    Yea, I'm probably going to do a full reinstall. I'll report back later.

Share This Page