• 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 3.x Series
    • Bug
    • Error on changing Book forum

    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: Error on changing Book forum

    • Issue Tools
      • View Changes
    1. issueid=2220 February 4, 2011 10:34 AM
      liquidox liquidox is offline
      New Member
      Error on changing Book forum
      Error on changing Book forum

      Database error in vBulletin 4.1.0:
      Code:
      Invalid SQL:
      
      			TRUNCATE TABLE vault_chapter,
      					vault_book;
      
      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 '
      					vault_book' at line 1
      Error Number  : 1064
      Request Date  : Friday, February 4th 2011 @ 04:29:46 PM
      Error Date    : Friday, February 4th 2011 @ 04:29:46 PM
      Script        : http://www.buxville.net/admincp/vaultwiki_namespace.php?do=updatefunc
      Referrer      : http://www.buxville.net/admincp/vaultwiki_namespace.php?do=modify
      Classname     : vB_Database_MySQLi
      MySQL Version : 5.1.49-1ubuntu8.1-log
    Issue Details
    Issue Number 2220
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Books / Chapters
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 3.0.10
    Fixed Version 3.0.11
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. February 4, 2011 2:16 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the current ZIP. In admincp/vaultwiki_namespace.php, find:
      Code:
      		$db->query_write("
      			TRUNCATE TABLE " . TABLE_PREFIX . "vault_chapter,
      					" . TABLE_PREFIX . "vault_book
      		");
      Replace with:
      Code:
      		$db->query_write("
      			TRUNCATE TABLE " . TABLE_PREFIX . "vault_chapter
      		");
      
      		$db->query_write("
      			TRUNCATE TABLE " . TABLE_PREFIX . "vault_book
      		");
      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 6:53 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.