• 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
    • Comments Tab Database Error

    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: Comments Tab Database Error

    • Issue Tools
      • View Changes
    1. issueid=3693 April 19, 2014 7:30 PM
      Ptah Ptah is offline
      Junior Member
      Comments Tab Database Error
      Clicking "Comments" causes a database error

      If I click on the "Comments" tab above a page, it crashes with the following database error:

      Code:
      Database error in vBulletin 4.2.2:
      
      Invalid SQL:
      SELECT SQL_CALC_FOUND_ROWS `d`.`discussionid`,`t`.`topicid` FROM `vw_topic` `t`  LEFT JOIN `vw_discussion` `d` ON (`d`.`pageid` = 3 AND `d`.`topicid` = `t`.`topicid`)   WHERE 0 < `t`.`topicid` AND `d`.`topicid` IS NULL  AND  `t`.`topicid` IN ()  LIMIT 0,5;
      
      MySQL Error   : 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 ')  LIMIT 0,5' at line 1
      Error Number  : 1064
      Request Date  : Saturday, April 19th 2014 @ 11:27:11 PM
      Error Date    : Saturday, April 19th 2014 @ 11:27:12 PM
      Script        : [url]http://forums.intpcomplex.com/wiki_index.php?title=Wiki-Pages&do=comments[/url]
      Referrer      : [url]http://forums.intpcomplex.com/wiki_index.php?title=Wiki-Pages[/url]
      IP Address    : 71.201.229.147
      Username      : Ptah
      Classname     : vB_Database
      MySQL Version : 5.5.36-cll
    Issue Details
    Issue Number 3693
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Discussions / Comments
    Status Duplicate
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.0 Gamma 5
    Fixed Version (none)
    Milestone VaultWiki 4 Gamma X
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. April 19, 2014 8:08 PM
      pegasus pegasus is offline
      VaultWiki Team
      For your "Wiki Pages" area, please check the corresponding record in the 'vw_area' database table and let me know the value of 'topiclist'. I don't really see this happening unless the value is just a comma. And if that's true it leaves me wondering what a comma is doing there.
      Reply Reply  
    2. April 19, 2014 10:24 PM
      Ptah Ptah is offline
      Junior Member
      The value I see in "topiclist" for the "Wiki Pages" area record is : -2.
      Reply Reply  
    3. April 19, 2014 11:01 PM
      pegasus pegasus is offline
      VaultWiki Team
      Is perhaps the 'pageid' = 0? -2 is a non-empty value and shouldn't be able to cause a database error when used in this way.
      Reply Reply  
    4. April 19, 2014 11:13 PM
      Ptah Ptah is offline
      Junior Member
      "pageid" for "Wiki Pages" is 3
      "parentid" is 0
      area_childlist is 3
      area_parentlist is 3
      areaid is 2

      There are only two areas, areaid 1 = System, areaid 2=Wikipages
      Reply Reply  
    5. April 20, 2014 10:24 AM
      pegasus pegasus is offline
      VaultWiki Team
      I cannot duplicate this issue on your site using my existing test user. It is possible that you changed a setting somewhere and the bad data that was causing this was rebuilt, or you already re-installed from the last botched install. If you are able to find a combination of settings that will reproduce this error, please let me know. Otherwise, I will be marking this as a Duplicate caused by the failed install attempt.
      Reply Reply  
    6. April 20, 2014 3:11 PM
      Ptah Ptah is offline
      Junior Member
      Now this is supremely strange... I'm not sure what in the settings changes I was doing might have had any effect on this, but now "Comments" tab functions correctly.

      Sorry for the confusion... *headscratch*
      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 5:24 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.