• 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
    • Recent Changes DB 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: Recent Changes DB error

    • Issue Tools
      • View Changes
    1. issueid=3988 September 10, 2014 1:31 AM
      delicateglow delicateglow is offline
      Junior Member
      Recent Changes DB error

      Viewing the Recent Changes page shows this error
      Code:
      Database error in vBulletin 4.2.2:
      
      Invalid SQL:
      SELECT SQL_CALC_FOUND_ROWS `revision`.`revisionid` AS `itemid`,15 AS `itemtypeid` FROM `vw_revision` `revision`  LEFT JOIN `vw_page` `page` ON (`page`.`pageid` = `revision`.`pageid`)   WHERE  `page`.`areaid` IN ()  AND `page`.`visible` = 1 AND `revision`.`visible` = 1 ORDER BY `revision`.`dateline` DESC  LIMIT 0,50;
      
      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 ')  AND `page`.`visible` = 1 AND `revision`.`visible` = 1 ORDER BY `revision`.`da' at line 1
      Error Number  : 1064
    Issue Details
    Issue Number 3988
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Special Pages
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.0 RC 2
    Fixed Version 4.0.0 RC 3
    Milestone VaultWiki 4.0 Gold
    Software DependencyvBulletin 4.x w/ ckEditor
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. September 10, 2014 9:07 AM
      pegasus pegasus is offline
      VaultWiki Team
      I cannot reproduce this on your site using my test account or as a guest. If there are special steps needed to reproduce this, please list those steps.

      Generally, it should only be possible to get this error if you have no permissions to view any part of the wiki. However, if that were the case, you would receive a permissions error when you try to open the special page (which I correctly receive as a guest).
      Reply Reply  
    2. September 11, 2014 3:20 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the next release. Despite what I thought above, it is possible to have a permissions combination such that:

      - User cannot view any wiki area
      - User cannot view the wiki index
      - User can view a Special page

      For this case, although the user would not see the wiki tab, following a direct link or entering the URL to a Special page would not yield a permissions error. Thus the fix for this issue involves skipping the database query and showing a Special page with 0 results.
      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 2:01 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.