PDA

View Full Version : MySQL Error


Orphadox
02-08-2007, 05:05 PM
Hi guys,

Could any of you possibly help me with the following error. Everytime one of my users goes to view a thread, i get the following error:

"There seems to have been a problem with the ThinkHabbo Forum database.
Please try again by clicking the Refresh button in your web browser.

An E-Mail has been dispatched to our Technical Staff, whom you can also contact if the problem persists.

We apologise for any inconvenience."

"Database error in vBulletin 3.5.4:

Invalid SQL:

SELECT
post.*, 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,
level,
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,
post_parsed.pagetext_html, post_parsed.hasimages,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid


FROM post AS post
LEFT 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 reputationlevel AS reputationlevel ON(user.reputationlevelid = reputationlevel.reputationlevelid)
LEFT JOIN deletionlog AS deletionlog ON(post.postid = deletionlog.primaryid AND type = 'post')
LEFT JOIN editlog AS editlog ON(editlog.postid = post.postid)
LEFT JOIN post_parsed AS post_parsed ON(post_parsed.postid = post.postid AND post_parsed.styleid_code = -1 AND post_parsed.styleid_html = -1 AND post_parsed.styleid_php = -1 AND post_parsed.styleid_quote = -1)

WHERE post.postid IN (0,314099)
ORDER BY post.dateline;

MySQL Error : Table 'thinkhab_forum.post_parsed' doesn't exist
Error Number : 1146
Date : Thursday, February 8th 2007 @ 02:03:54 PM
Script : http://www.thinkhabboforum.net/showthread.php?t=22527
Referrer : http://www.thinkhabboforum.net/search.php?searchid=687130
IP Address : 82.34.238.12
Username : Nkay
Classname : vB_Database"


If anyone can help me with this error and resolve it, i would be most grateful. Thanks very much!

Digitalus
02-08-2007, 05:48 PM
MySQL Error : Table 'thinkhab_forum.post_parsed' doesn't exist

You dont have Table 'thinkhab_forum.post_parsed' in your database
Login to your phpmyadmin and look and see if you can find it, I think not ;)

Orphadox
02-08-2007, 06:45 PM
I do have the table postparsed :s

Thats why im confused :/

Marco van Herwaarden
02-09-2007, 06:37 AM
You have started an upgrade to 3.6 but never finished it.

Rename the postparsed back to post_parsed.

Artificial_Alex
02-09-2007, 06:40 AM
I'd highly suggest removing your IP. ;)