David Bott
01-19-2004, 03:27 PM
Ok, this line of code gives me an error in the /admin/functions.php file...(ver 2.2.8)
$subscribed=$DB_site->query_first("SELECT subscribethreadid FROM subscribethread WHERE threadid='$pthreadid' AND userid='$subuserid' LIMIT 1");
The error is makes is...
Fatal error: Call to a member function on a non-object
I can not tell what the heck is making this line error out. I have also tried putting it into a fresh unhacked functions.php file with the same result. If I run thw query in MyPHPAdmin replacing the $vaules with numbers, it work fine.
Any thoughts please.
$subscribed=$DB_site->query_first("SELECT subscribethreadid FROM subscribethread WHERE threadid='$pthreadid' AND userid='$subuserid' LIMIT 1");
The error is makes is...
Fatal error: Call to a member function on a non-object
I can not tell what the heck is making this line error out. I have also tried putting it into a fresh unhacked functions.php file with the same result. If I run thw query in MyPHPAdmin replacing the $vaules with numbers, it work fine.
Any thoughts please.