Here is an odd one. I am integrating another script that shares the same MySQL DB as Threads...and am using the above Generic Threads page as a "wrapper".
I am getting the following error:
Fatal error: Call to a member function on a non-object in /home/medar/public_html/ubbt.inc.php on line 1779
Which is this section, with line 1779 bolded:
[] // -----------------------------------------------------------------
// We are automatically adding StyleSheet, Status, Privates and
// FrontPage and Number to each SQL call because this information is needed by
// every script that makes a call to authenticate
if ($Query != "*") {
if ($Query) { $Query .=","; }
$Query .= "U_Username,U_Password,U_SessionId, U_StyleSheet, U_Status, U_Privates, U_FrontPage, U_Number, U_Banned";
}
$Uid = addslashes(${$config['cookieprefix']."w3t_myid"});
$query = "SELECT $Query FROM {$config['tbprefix']}Users WHERE U_Number = '$Uid'";
$sth = $dbh -> do_query($query);
$thisuser = $dbh -> fetch_array($sth);
$dbh -> finish_sth($query);[/]
Any idea what would cause that? Thanks in advance!