Ðăng Nhập

View Full Version : Lỗi vbb kết lối data



VNSAF
08-03-2012, 11:50 AM
Mình không hiểu từ hôm qua đến giờ diễn đàn mình bị lỗi

Database error in vBulletin 4.1.10:
Invalid SQL:
SELECT post.dateline, post.pagetext AS message, post.allowsmilie, post.postid, thread.threadid, thread.title, thread.prefixid, post.attach, forum.forumid, user.* ,avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight FROM post AS post JOIN thread AS thread ON (thread.threadid = post.threadid) JOIN forum AS forum ON(forum.forumid = thread.forumid) LEFT JOIN user AS user ON (post.userid = user.userid) LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid) WHERE 1=1 AND thread.forumid IN(3,243,4,5,7,6,199,249,8,9,10,254,11,19,20,21,22 ,23,153,252,12,124,13,14,15,16,17,18,28,36,132,156 ,157,24,25,26,253,27,29,30,31,32,33,34,35,182,68,6 9,70,71,72,73,74,133,134,135,244,245,246,247,248,3 7,125,126,127,128,129,38,39,40,41,43,152,44,45,46, 47,48,100,140,196,197,49,50,51,52,53,242,181,167,1 68,169,172,171,180,144,148,147,146,122,54,55,56,57 ,58,59,255,256,257,258,259,162,163,165,164,166,60, 61,62,64,63,141,65,66,67,190,191,192,193,194,251,1 11,112,114,115,130,131,173,174,175,176,177,178,179 ,195,183,101,102,103,123,104,105,106,107,108,109,7 5,76,77,78,79,80,81,82,84,85,86,184,185,187,188,18 9,186,87,88,89,90,91,250,92,93,94,95,110,96,99,142 ,143,139,151,149,150,136,137,138,97,98) AND thread.visible = 1 AND post.visible = 1 AND thread.open <> 10 AND post.dateline > 1305262384 ORDER BY post.dateline DESC LIMIT 0,5;
MySQL Error : Incorrect key file for table '/tmp/#sql_d13_0.MYI'; try to repair itError Number : 126Request Date : Thursday, March 8th 2012 @ 11:53:04 AMError Date : Thursday, March 8th 2012 @ 11:53:04 AMScript : http://domain.vn/forum/forum.phpReferrer : http://domain.vn/forum/forum.phpIP Address : 113.190.130.104Username : xxxxxxxClassname : vB_DatabaseMySQL Version : 5.0.51a-community
Cụ thể quá trình của nó như thế này:
Lúc đầu thì vẫn vào diễn đàn được nhưng khi chuyển sang bài đọc khác nó báo lỗi như trên
Sau đó thì cứ vào diễn đàn là nó báo lỗi như vậy.( mình sợ xung đột mod nên đã dis hết mod nhưng vẫn bị). vào repair lại data cũng vẫn bị.
Bác nào biết cách sửa chữa trong data của vbb thì xin chỉ giúp.

admin
08-03-2012, 12:00 PM
Nếu vậy có 2 khả năng là do MySQL của host hoặc database của forum bị lỗi, bạn thử restore lại dữ liệu cũ xem sao, nếu còn lỗi thì do host và ngược lại.

VNSAF
08-03-2012, 01:00 PM
Nếu vậy có 2 khả năng là do MySQL của host hoặc database của forum bị lỗi, bạn thử restore lại dữ liệu cũ xem sao, nếu còn lỗi thì do host và ngược lại.
Cảm ơn bạn! cái này có thể do data của tớ, tuy nhiên nó lớn quá 245MB nên không restore lại được, híc tớ dùng mấy cái tool mà không được
Khi tớ restore thì nó báo lỗi

Bad request.​
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ENGINE=MyISAM DEFAULT CHARSET=latin1' at line 1 (256)
Vậy đây là lỗi gì vậy cậu?