This topic is locked

Login Error

2/10/2009 6:45:31 AM
Shopping Cart Template general questions
P
Peppa author

Jane..... if you're out there........HELP!!!!!
Bought PHPRunner 5 with Shopping Cart.
Uploaded everything according to the clear instructions.
Everything on the admin side is working fine to date but the client side is giving a real headache.
When you go to the client side login page and enter the standard Username of jane@test.com with password jane or any of the admin/other users in the database I keep getting the following error.
Error type 2

Error description mysql_fetch_array(): supplied argument is not a valid MySQL result resource

URL www.mydomain.com/client/login.php? (mydomain being my website)

Error file myserver/shoppingcart/client/oldinclude/dbconnection.php (myserver being my host server)

Error line 66

SQL query select * from `scusers` where `User_email`='jane@test.com' and `User_password`='jane'
Any ideas?
Lin 66 (The offending line in dbconnection.php) is as follows:
Line 65: function db_fetch_array($qhandle) {

Line 66: return @mysql_fetch_array($qhandle,MYSQL_ASSOC);

Line 67:}
Also Add "Login as Guest" in the Security (Advanced) section is checked but the login page does not display "Login as Guest"
Your help would be greatly appreciated.

admin 2/12/2009

I recommend you to post your application to Demo Account (last tab in PHPRunner) and open a ticket at http://support.xlinesoft.com