Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-20-2008, 10:23 AM
Khalid-B's Avatar
Khalid-B Khalid-B is offline
 
Join Date: Apr 2007
Location: NL
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Database Error , Help Needed.

Hello i am getting database error , can some please help me to solve this issue?
PHP Code:
Database error in vBulletin 3.6.4: Invalid SQL: SELECTpost.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,user.*, userfield.*, usertextfield.*,icon.title as icontitle, icon.iconpath,avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason,editlog.userid AS edit_userid, editlog.username AS edit_username, editlog.dateline AS edit_dateline,editlog.reason AS edit_reason, editlog.hashistory,postparsed.pagetext_html, postparsed.hasimages,sigparsed.signatureparsed, sigparsed.hasimages AS sighasimages,sigpic.userid AS sigpic, sigpic.dateline AS sigpicdateline, sigpic.width AS sigpicwidth, sigpic.height AS sigpicheight,IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid  FROM post AS postLEFT JOIN user AS user ON(user.userid = post.userid)LEFT JOIN userfield AS userfield ON(userfield.userid = user.userid)LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid = user.userid)LEFT JOIN icon AS icon ON(icon.iconid = post.iconid)LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid) LEFT JOIN deletionlog AS deletionlog ON(post.postid = deletionlog.primaryid AND deletionlog.type = 'post')LEFT JOIN editlog AS editlog ON(editlog.postid = post.postid)LEFT JOIN postparsed AS postparsed ON(postparsed.postid = post.postid AND postparsed.styleid = 76 AND postparsed.languageid = 1)LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 76 AND sigparsed.languageid = 1)LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid) WHERE post.postid IN (0,57758,57891,58245)ORDER BY post.dateline; MySQL Error : Unknown column 'editlog.hashistory' in 'field list'Error Number : 1054Date : Sunday, July 20th 2008 @ 06:16:33 AMScript : http://mysite.com/showthread.php?p=58245Referrer : http://mysite.com/IP Address : 89.107.104.890Username : UserIDClassname : vb_database 

Thank you
Reply With Quote
  #2  
Old 07-20-2008, 11:09 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Place this at the end of your config.php.
PHP Code:
define('DISABLE_HOOKS', true); 
If the problem disappears after you do this, your error is caused by a modification.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:11 PM.


Powered by vBulletin® Version 3.9.0
Copyright ©2000 - 2017, vBulletin Solutions Inc.