PDA

View Full Version : Error 1054


Mr.Danko Jones
12-17-2009, 04:21 AM
Database error in vBulletin 3.8.4:

Invalid SQL:

SELECT forum.forumid, forum.lastpost, forum.lastposter, forum.lastposterid, forum.lastthread, forum.lastthreadid, forum.lasticonid, forum.threadcount, forum.replycount, forum.lastpostid, forum.lastprefixid, user.usergroupid, user.homepage, user.options AS useroptions, IF(userlist.friend = 'yes', 1, 0) AS isfriend

FROM gscentralvb_forum AS forum

LEFT JOIN gscentralvb_user AS user ON (user.userid = forum.lastposterid)
LEFT JOIN gscentralvb_userlist AS userlist ON (userlist.relationid = user.userid AND userlist.type = 'buddy' AND userlist.userid = 1);

MySQL Error : Unknown column 'forum.lastposterid' in 'field list'
Error Number : 1054
Request Date : Thursday, December 17th 2009 @ 07:20:39 AM
Error Date : Thursday, December 17th 2009 @ 07:20:39 AM
Script : http://board.gscentral.org/index.php
Referrer : http://board.gscentral.org/login.php?do=login
IP Address : XXX
Username : XXX
Classname : vB_Database
MySQL Version : 4.0.23-Max-log


Not sure how to fix this. Anyone know what I need to do? Thanks in advance!!

Vaupell
12-17-2009, 07:34 AM
did you import your old 3.x db ontop of the vb4 one ?

i did that as an experiment, and that is excaktly the error i got..
what it says is there is a field missing callled lastposterid inside the table forum


:D