• 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
    • Category assignment 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: Category assignment database error

    • Issue Tools
      • View Changes
    1. issueid=4115 January 1, 2015 12:40 AM
      tommythejoat tommythejoat is offline
      Regular Member
      Category assignment database error
      When assigning a category to an article as database error is produced

      The article ID is not found/used by the category assignment query with the following error reported.

      Inserting the category with the category bbCode works fine but the tool below the edit window fails.

      Code:
      Database error in vBulletin 4.2.2:
      
      Invalid SQL:
      SELECT categoryitemid FROM `vw_categoryitem` WHERE pageid =  AND itemcategoryid = 4277;
      
      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 itemcategoryid = 4277' at line 1
      Error Number  : 1064
      Request Date  : Thursday, January 1st 2015 @ 12:16:52 AM
      Error Date    : Thursday, January 1st 2015 @ 12:16:53 AM
      Script        : [url]http://mb.nawcc.org/showwiki.php?title=Elgin_Watch_Co&do=save[/url]
      Referrer      : [url]http://mb.nawcc.org/showwiki.php?title=Elgin_Watch_Co&do=edit[/url]
      IP Address    : 68.189.242.96
      Username      : Tom McIntyre
      Classname     : vB_Database
      MySQL Version : 5.6.16
    Issue Details
    Issue Number 4115
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Categories
    Status Duplicate
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.0 RC 4
    Fixed Version (none)
    Milestone VaultWiki 4.0 Gold
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. January 1, 2015 10:21 AM
      pegasus pegasus is online now
      VaultWiki Team
      The category BB-Code doesn't actually add a page to the category. If you have a category BB-Code, it just makes a link, same as the regular Wiki BB-Code.

      This database error was first reported here: https://www.vaultwiki.org/issues/4110/
      It is fixed in 4.0.0 which is due out today.
      Reply Reply  
    2. January 1, 2015 10:08 PM
      tommythejoat tommythejoat is offline
      Regular Member
      I get this error if I try to use the category too below the edit windowl to add a category to any article, not just a new one. I carn put in the fix you describe in the other threqd, but if the 4.0.0 release is available today, I will just use that.
      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 9:20 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.