• 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
    • database error, new install

    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: database error, new install

    • Issue Tools
      • View Changes
    1. issueid=501 April 14, 2009 6:48 AM
      iMav iMav is offline
      New Member
      database error, new install

      I create forums for all the namespaces, and then when I try to modify a related forum (for the "default" namespace") to be a "wiki", I get the following error:

      Code:
      Database error in vBulletin 3.8.2:
      
      Invalid SQL:
      
      		SELECT thread.threadid, thread.title, forum.forumid, thread.prefixid
      			post.pagetext, post.userid, post.dateline
      		FROM thread AS thread
      		LEFT JOIN post AS post ON (thread.firstpostid = post.postid)
      		LEFT JOIN forum AS forum ON (forum.forumid = thread.forumid)
      		WHERE thread.forumid IN (29)
      		ORDER BY thread.dateline DESC;
      
      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 '.pagetext, post.userid, post.dateline
      		FROM thread AS thread
      		LEFT JOIN post A' at line 2
      Error Number  : 1064
      Request Date  : Tuesday, April 14th 2009 @ 05:17:36 AM
      Error Date    : Tuesday, April 14th 2009 @ 05:17:36 AM
      Script        : http://geekhack.org/admincp/forum.php?do=update
      Referrer      : http://geekhack.org/admincp/forum.php?do=edit&forumid=29
      IP Address    : 63.97.176.127
      Username      : admin
      Classname     : vB_Database
      MySQL Version : 5.0.51a-3ubuntu5.4
    Issue Details
    Issue Number 501
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Admin Panel
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 2.2.2
    Fixed Version 2.2.2
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. April 14, 2009 12:25 PM
      pegasus pegasus is offline
      VaultWiki Team
      Thanks. You can fix this by editing vault/special_plugins_data.php. Find:
      PHP Code:
      SELECT thread.threadid, thread.title, forum.forumid, thread.prefixid 
      Replace with:
      PHP Code:
      SELECT thread.threadid, thread.title, forum.forumid, thread.prefixid, 
      Fixed in the current ZIP.
      Reply Reply  
    2. April 15, 2009 1:52 AM
      iMav iMav is offline
      New Member
      Awesome, that fixed the issue.

      However, now I get the following when kicking back and forth between the main article and discussion tabs:

      Code:
      Database error in vBulletin 3.8.2:
      
      Invalid SQL:
      ;
      
      MySQL Error   : Query was empty
      Error Number  : 1065
      Request Date  : Wednesday, April 15th 2009 @ 12:50:14 AM
      Error Date    : Wednesday, April 15th 2009 @ 12:50:14 AM
      Script        : http://geekhack.org/showwiki.php?t=5658&do=talk
      Referrer      : http://geekhack.org/showwiki.php?t=5658
      IP Address    : 63.97.176.127
      Username      : iMav
      Classname     : vB_Database
      MySQL Version : 5.0.51a-3ubuntu5.4
      This is emailed to me. The end user is presented with a 404 error.
      Reply Reply  
    3. April 15, 2009 11:03 AM
      pegasus pegasus is offline
      VaultWiki Team
      Please see this issue for the solution: http://www.crackedeggstudios.com/pro...hp?issueid=500
      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:40 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.