Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

customers can't login


Exibar

Recommended Posts

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...