• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Bug
    • Unknown column 't.lastposterid' in 'field list'

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: Unknown column 't.lastposterid' in 'field list'

    • Issue Tools
      • View Changes
    1. issueid=4441 November 9, 2015 2:11 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Unknown column 't.lastposterid' in 'field list'

      This error is turning up in many instances and makes it hard to test the import:
      Code:
      Database error in vBulletin 3.8.7:
      
      Invalid SQL:
      SELECT `t`.`threadid` AS `threadid`,`t`.`prefixid` AS `prefixid`,`t`.`title` AS `title`,`t`.`dateline` AS `dateline`,`t`.`lastposter` AS `lastposter`,`t`.`replycount` AS `replycount`,`t`.`open` AS `open`,`t`.`visible` AS `visible`,`t`.`views` AS `views`,`t`.`lastpostid` AS `lastpostid`,`t`.`lastpost` AS `lastpost`,`t`.`forumid` AS `forumid`,`t`.`firstpostid` AS `firstpostid`,`t`.`lastposterid` AS `lastposterid`,`f`.`forumid` AS `forumid`,`f`.`title_clean` AS `title_clean`,`p`.`pagetext` AS `pagetext`,`p`.`postid` AS `postid`,`p`.`userid` AS `userid`,`p`.`parentid` AS `parentid`,`p`.`threadid` AS `threadid`,`p`.`visible` AS `visible`,`u`.`userid` AS `userid`,`u`.`username` AS `username` FROM `vb_thread` `t`  LEFT JOIN `vb_forum` `f` ON (`t`.`forumid` = `f`.`forumid`) 
       LEFT JOIN `vb_post` `p` ON (`t`.`threadid` = `p`.`threadid` AND `p`.`parentid` = 0) 
       LEFT JOIN `vb_user` `u` ON (`p`.`userid` = `u`.`userid`)   WHERE  `f`.`forumid` IN (52)  AND `t`.`visible` = 1 AND `p`.`visible` = 1 AND `t`.`open` <> 10 AND  `p`.`userid` NOT IN (13501,14017,14306,14464,14561,13729,16618,7877,18548,18779,40365,19464,40888,3271,54650,54575,55645,55666,34356,57806,56309,61409,68393,91619,92291,91071)  ORDER BY `t`.`lastpost` DESC  LIMIT 5;
      
      MySQL Error   : Unknown column 't.lastposterid' in 'field list'
      Error Number  : 1054
      Request Date  : Monday, November 9th 2015 @ 08:23:07 PM
      Error Date    : Monday, November 9th 2015 @ 08:23:08 PM
      Script        : /wiki_index.php?title=Mimosa
      Referrer      : /wiki_index.php?title=Nifoxipam-png
      IP Address    : 
      Username      : Alfa1
      Classname     : vB_Database
      MySQL Version : 5.6.19-1+deb.sury.org~precise+1-log
    Issue Details
    Issue Number 4441
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category BB-Code Parsing
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.7
    Fixed Version (none)
    Milestone (none)
    Software DependencyvBulletin 3.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. November 9, 2015 2:19 PM
      pegasus pegasus is offline
      VaultWiki Team
      The current implementation of SHOWTHREADS overlooked the fact that thread.lastposterid did not exist before vBulletin 4.
      Reply Reply
    2. November 9, 2015 2:23 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      I see. So this can only be fixed with a new build?
      Reply Reply
    3. November 9, 2015 2:28 PM
      pegasus pegasus is offline
      VaultWiki Team
      You can also disable the FORUMINDEX and SHOWTHREADS BB-Codes from parsing, which will let you bypass the issue until I can apply a patch. In vBulletin's custom BB-Codes manager, just edit these two BB-Codes and choose No where it asks if it should "Parse in Wiki Pages" "Parse in non-wiki pages" etc.
      Reply Reply
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 3:26 PM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.