 |
 |
 |
 |
#247172 - 03/19/04 08:47 AM
Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page
[Re: Daine]
|
Junior Member
Registered: 03/19/00
Posts: 571
|
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".<br /><br />I am getting the following error:<br /><br />Fatal error: Call to a member function on a non-object in /home/medar/public_html/ubbt.inc.php on line 1779<br /><br />Which is this section, with line 1779 bolded:<br />[] // -----------------------------------------------------------------<br /> // We are automatically adding StyleSheet, Status, Privates and<br /> // FrontPage and Number to each SQL call because this information is needed by<br /> // every script that makes a call to authenticate<br /> if ($Query != "*") {<br /> if ($Query) { $Query .=","; }<br /> $Query .= "U_Username,U_Password,U_SessionId, U_StyleSheet, U_Status, U_Privates, U_FrontPage, U_Number, U_Banned";<br /> }<br /> $Uid = addslashes(${$config['cookieprefix']."w3t_myid"});<br /><br /> $query = "SELECT $Query FROM {$config['tbprefix']}Users WHERE U_Number = '$Uid'";<br /> $sth = $dbh -> do_query($query);<br /> $thisuser = $dbh -> fetch_array($sth);<br /> $dbh -> finish_sth($query);[/]<br /><br />Any idea what would cause that? Thanks in advance!
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|