• 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
    • Problem with Chapters /Art.Lanuguage

    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: Problem with Chapters /Art.Lanuguage

    • Issue Tools
      • View Changes
    1. issueid=1807 July 18, 2010 3:51 PM
      Big-k Big-k is offline
      New Member
      Problem with Chapters /Art.Lanuguage

      Ok. I'm trying to save a chapter and got this:
      Code:
      Database error in vBulletin 4.0.4:
      
      Invalid SQL:
      
      		SELECT visible, forumid, thread.threadid, title, open, postuserid, chapter.dateline, 
      			prefixid, 
      			parentlist, childlist, MAX(chapter.chapternumber) AS chapternumber
      			, art.languageid
      		FROM vb4_vault_book AS book
      		INNER JOIN vb4_thread AS thread ON (book.bookid = thread.threadid)
      		LEFT JOIN vb4_vault_chapter AS chapter ON (chapter.bookid = thread.threadid)
      		LEFT JOIN vb4_vault_article AS art ON (art.threadid = chapter.threadid)
      		WHERE book.bookid IN (56012)
      		GROUP BY thread.threadid;
      
      MySQL Error   : Unknown column 'art.languageid' in 'field list'
      Error Number  : 1054
      Request Date  : Sunday, July 18th 2010 @ 03:48:46 PM
      Error Date    : Sunday, July 18th 2010 @ 03:48:47 PM
      
      
      Classname     : vB_Database
      MySQL Version : 5.0.91-community
    Issue Details
    Issue Number 1807
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Books / Chapters
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 3.0.1
    Fixed Version 3.0.2
    Milestone VaultWiki 3.0.5
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. July 18, 2010 5:31 PM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/tab/book.php, find and delete:
      Code:
      	$hook_fields = ', art.languageid';
      	$hook_joins = "LEFT JOIN " . TABLE_PREFIX . "vault_article AS art ON (art.threadid = chapter.threadid)";
      Find and delete:
      Code:
      		$hook_fields = ', art.languageid';
      		$hook_joins = "LEFT JOIN " . TABLE_PREFIX . "vault_article AS art ON (art.threadid = chapter.threadid)";
      Find and delete:
      Code:
      	$hook_fields = ', art.languageid';
      	$hook_joins = "INNER JOIN " . TABLE_PREFIX . "vault_article AS art ON (art.threadid = thread.threadid)";
      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:14 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 © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.