gnuffo1 Posted December 10, 2005 Posted December 10, 2005 I installed the Mail Validation contribution http://www.oscommerce.com/community/contri...arch,validation so that new customers would have to click a link in an email sent to the address they provided to activate their account. I signed up to my site again to test it, and it appeared to work, I got an email sent to my email address that had the validation link in it, so I clicked on the link. I just got a page from my site saying "The email address or validation/activation code you entered is not valid". If that wasn't bad enough, when I went to click login to see if it had activated my account anyway, I get this message : "Parse error: parse error, unexpected ',' in /home/gnuffo1/public_html/shop1/login.php on line 33" How can I fix this?
gnuffo1 Posted December 10, 2005 Author Posted December 10, 2005 I think it might be something to do with this step in the install, which is for catalogue/login.php: ********** * STEP 2 * ********** Add to the line 32 following statement: customers_validation, result: $check_customer_query = tep_db_query("select customers_id, customers_firstname, customers_password, customers_email_address, customers_validation, customers_default_address_id from " . TABLE_CUSTOMERS . " where customers_email_address = '" . tep_db_input($email_address) . "'"); Now, "Add to the line 32 following statement: customers_validation," is very bad grammer, and I didn't know whether to add "customers_validation," as well as the bit below, or both, so I added both. I thought he might have meant there was a statement caled customers_validation on that file, but I couldn't find it.
gnuffo1 Posted December 10, 2005 Author Posted December 10, 2005 OK, I've sorted the login.php, he actually meant to insert everything under result: as in, this is the result of what you should put in. Very bad grammer.
gnuffo1 Posted December 10, 2005 Author Posted December 10, 2005 I'm still getting that error when I click the validation link, and an even worse problem is the fact that this contribution doesn't even work! You can create an account and not go anywhere near your email account and log in fine; this contribution is supposed to not activate accounts until the validation link has been clicked, but you can log in anyway; even after you get the error message when you do follow the validation link. PLEASE can somebody help me.
Mookie_Jam Posted December 10, 2005 Posted December 10, 2005 I have the same problen than you... :( Everything seems to worik fine, but once answering the validation mail, it doesn't matches and activate the user.. >_< No clue how to resolve it... :blush: http://www.oscommerce.com/forums/index.php?act...ndpost&p=750466
gnuffo1 Posted December 10, 2005 Author Posted December 10, 2005 I think I'll just change the layout of the email it sends to just says something like "Welcome to the store" and create_account_success.php to "Thank you for registereing" or something.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.