If you turn on the ->Debug setting in your rsobj.php and queryobj.php file it will give you the actual error that points to the problem. That should allow you to fix it. You should turn debug off again before going live because it can reveal things like database and column names or even database usernames you don't want easily discovered by a potential hacker.