|
Question : Problem with plaincart admin login I can't seem to login to plaincart admin section. Even when using the default login and password i always get an error message about wrong username or password. I tried adding a new user directly to the mysql database but that didn't fix it. Is there anything you can help? Answer If you keep having trouble with the login even when using the default id & password try modifying the doLogin() function code in admin/library/functions.php Change this : $sql = "SELECT user_id FROM tbl_user WHERE user_name = '$userName' AND user_password = PASSWORD('$password')"; Into this : $sql = "SELECT user_id FROM tbl_user WHERE user_name = '$userName' AND user_password = '$password'";
|
|
|
|
|
Q & A | PHP MySQL Shopping Cart Tutorial : Q & A - Detail |
At long last i'm finally able to update this site. Now the shopping cart can handle payment through paypal. As always you have any critiques, questions, comments or problems about this tutorial please tell me. Click here to send your feedback. And if you like this tutorial please link to this site. It will really help a lot :-) |
Copyright © 2005 - 2010 www.phpwebcommerce.com