Previous Thread
Next Thread
Print Thread
Rate Thread
#246241 05/13/2003 11:53 AM
Joined: Nov 2002
Posts: 116
Journeyman
Journeyman
Offline
Joined: Nov 2002
Posts: 116
I tried to make a post and suddently I get this message

SQL ERROR: Unable to do_query: SELECT t1.Bo_Title,t1.Bo_Description,t1.Bo_Keyword,t1.Bo_Total,t1.Bo_Last,t1.Bo_Number,t1.Bo_Moderated,t1.Bo_Read_Perm,t1.Bo_Write_Perm,t1.Bo_Threads,t1.Bo_Sorter,t1.Bo_Posterid,t1.Bo_LastMain,t1.Bo_LastNumber,t2.U_Username,t3.B_Subject,t3.B_Icon,t3.B_Reged,t3.B_AnonName FROM ubbthreadsBoards AS t1 LEFT JOIN ubbthreadsUsers AS t2 ON t1.Bo_Posterid = t2.U_Number LEFT JOIN ubbthreadsPosts AS t3 ON t1.Bo_LastNumber = t3.B_Number WHERE t1.Bo_Cat = 1 AND (t1.Bo_Posterid = t2.U_Number OR t1.Bo_Posterid = '0') AND (t1.Bo_LastNumber = t3.B_Number OR t1.Bo_LastNumber ='0') AND (t1.Bo_Read_Perm LIKE '%-3-%' OR t1.Bo_Read_Perm LIKE '%-1-%') ORDER BY t1.Bo_Sorter
Can't open file: 'ubbthreadsPosts.MYI'. (errno: 145)
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/public_html/ubbthreads/mysql.inc.php on line 130

At line 130 of mysql.inc.php there is

// ----------------------
// Start the session here
if ($config['tracking'] == "sessions") {
session_save_path($config['sessionpath']);
session_start();
}
else {
$HTTP_SESSION_VARS="";
}

// Get magic quote setting
$magic = get_magic_quotes_gpc();

$tempstyle = "default";

// ---------------------------
// Turn off the magic quoting
set_magic_quotes_runtime(0);

if (!isset(${$config['cookieprefix']."w3t_language"})) {
${$config['cookieprefix']."w3t_language"} = $config['language'];
}
include("$thispath/languages/${$config['cookieprefix']."w3t_language"}/generic.php");$dbh = new sql;
$dbh -> connect();

Thank you in advance

Sponsored Links
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768

Joined: Nov 2002
Posts: 116
Journeyman
Journeyman
Offline
Joined: Nov 2002
Posts: 116
Thanks Dave. Fixed. Thought it was something more serious :-)

Joined: Nov 2002
Posts: 116
Journeyman
Journeyman
Offline
Joined: Nov 2002
Posts: 116
There is a problem after the repair table

One member was deleted with all his posts . I can't find him in the database. He was the last member who made a post just before the crash. Is there any way to recover this member?

Thanks

Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
Joined: Dec 2000
Posts: 1,471
Only if you made backups on a regular basis. You could try to restore is entries then.

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)