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.
My first thought is that code was upgraded, but not the database? try running http://mydomain.com/amember/admin/upgrade_db.php
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.
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