Exibar Posted July 26, 2008 Share Posted July 26, 2008 Customers can create a new account, and be automatically logged in after account creation. But if they log-off, then try to log back on, this error appears: Fatal error: Call to a member function on a non-object in /home/xxxx/public_html/xxxxxxxxxx/login.php on line 38 anyone have any ideas about this? thanks! Mike B www.minervscrafts.com Link to comment Share on other sites More sharing options...
Exibar Posted July 26, 2008 Author Share Posted July 26, 2008 this only happens if the user's email address is a real one in my customer list. If I pt a fak address in and try to login, I get a login failed error mesage pops up. Mike B Link to comment Share on other sites More sharing options...
Exibar Posted July 26, 2008 Author Share Posted July 26, 2008 looking further into this..... I can log in using the customer master password just fine. The problem appears that the "customers_password" in this SQL line isn't getting set: $check_customer_query = tep_db_query("select customers_id, customers_firstname, customers_password, customers_email_address, customers_default_address_id from " . TABLE_CUSTOMERS . " where customers_email_address = '" . tep_db_input($email_address) . "'"); Yes, it's there in the DB, encrypted, but appearantly isn't being read in that line.... This is the line that is attempting to use that variable (line 38) $passwordgood = tep_validate_password($_POST['password'], $Qcheck->value('customers_password')); Anyone else see this error message? I'm in th emiddle to adding items to my catalog, and putting the finishing touches on my site, but I certainly can't go live until my customers can successfully login... any help would be greatly appreaciated!! thanks! Mike B Link to comment Share on other sites More sharing options...
Exibar Posted July 26, 2008 Author Share Posted July 26, 2008 ok, I fixed it :-) Too many items needed attention to list here, but it did come down to the way PHP was reading the passwrod out of the DB. thank you all! Mike b Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.