If it works on your remote server and not your localhost, then it is probably a difference in the database structure or an issue with the connection, since that is the only thing that might be different. The error also implies an issue with the database interaction. You might try turning debug on in the rsobj.php file and queryobj.php file to see if that gives a more informative error.