PDA

View Full Version : Getting Datbase Error


p@ndu
10-14-2010, 03:13 AM
while opening my forum i am getting this error


Database error in vBulletin 4.0.6:

Invalid SQL:

SELECT *
FROM thread AS thread
LEFT JOIN force_read_users AS force_read_users ON (thread.threadid = force_read_users.force_read_threadid AND force_read_users.force_read_userid = '2')
WHERE thread.force_read = '1' AND (thread.force_read_expire_date = '0' OR thread.force_read_expire_date > '1287029278') AND (force_read_usergroups = '' OR force_read_usergroups LIKE '%-6-%') AND (force_read_forums = '') AND force_read_users.force_read_userid IS NULL
ORDER BY force_read_order ASC;

MySQL Error : Table './*******_downloadsmasti/thread' is marked as crashed and should be repaired
Error Number : 145
Request Date : Wednesday, October 13th 2010 @ 11:07:58 PM
Error Date : Wednesday, October 13th 2010 @ 11:07:58 PM

Referrer :
IP Address : ********
Username : *****
Classname : vB_Database
MySQL Version : 5.1.50



can some one please give em a solution for this

ry215
10-14-2010, 03:34 AM
Did you installed this mod:
https://vborg.vbsupport.ru/misc.php?do=producthelp&pid=abe1_forceusersreadthread

Try to reinstall it, or remove it.

have good time.

Lynne
10-14-2010, 03:36 AM
Your thread table is crashed. Go to maintenance > repair & optimize tables > select the thread table > continue. You may have to do that a couple of times before it says OK.

p@ndu
10-14-2010, 03:47 AM
i cant login in to my admin cp also

ry215
10-14-2010, 08:44 AM
upload tools.php in folder do_not_upload to admincp, then run it. Ex: domain.com/forum/admincp/tools.php

Repair table.

p@ndu
10-14-2010, 11:14 AM
even after uploading tht the problem isnt solved...

plz help....

Lynne
10-14-2010, 01:28 PM
Repair the table via phpmyadmin. Or see this - 3 ways to repair a database (http://www.vbulletin.com/forum/showthread.php?44909-3-ways-to-repair-a-database)

p@ndu
10-15-2010, 05:59 AM
problem solved thx for help guyz....