• 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
    • 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: Database error

    • Issue Tools
      • View Changes
    1. issueid=4494 December 29, 2015 7:09 PM
      Hostboard Hostboard is offline
      Junior Member
      Database error
      Fresh install

      Since I had nothing of meaning, I uninstalled my old version and installed the latest and greatest fresh. then went ot the control panel and selected the first option: Structure > Area Manager and boom (see below). Blows up on site config option too. I stopped after that and disabled it...
      Code:
      Database error in vBulletin 4.2.3:
      
      Invalid SQL:
      SELECT `gi`.*,`l`.*,`ch`.*,`c`.*,`i`.*,`r`.*,`page`.*,`area`.`parentid` AS `parentid`, IF(`sub`.`userid`, 1, 0)  AS `issubscribed`,`mk`.`readtime`,`gi`.`userid` AS `group_userid`,`l`.`userid` AS `translate_userid`,`ch`.`userid` AS `chapter_userid`,`r`.`dateline` AS `edit_dateline`,`r`.`flags` + 0 AS `flags`,`r`.`parentid` AS `edit_parentid`,`page`.`pageid`,*,`pageid` FROM `vw_`  LEFT JOIN `vw_page` `page` ON (`page`.`pageid` = `pageid`) 
       LEFT JOIN `vw_route` `i` ON (`page`.`pageid` = `i`.`itemid` AND `i`.`itemtypeid` = ) 
       LEFT JOIN `vw_counter` `c` ON (`c`.`routeid` = `i`.`routeid`) 
       LEFT JOIN `vw_revision` `r` ON (`r`.`revisionid` = `page`.`revisionid`) 
       LEFT JOIN `vw_chapter` `ch` ON (`page`.`pageid` = `ch`.`pageid`) 
       LEFT JOIN `vw_langitem` `l` ON (`page`.`pageid` = `l`.`pageid`) 
       LEFT JOIN `vw_groupitem` `gi` ON (`page`.`pageid` = `gi`.`pageid`) 
       LEFT JOIN `vw_markread` `mk` ON (`mk`.`itemtypeid` =  AND `mk`.`itemid` = `page`.`pageid` AND `mk`.`userid` = 3) 
       LEFT JOIN `vw_subscribe` `sub` ON (`sub`.`nodetypeid` =  AND `sub`.`nodeid` = `page`.`pageid` AND `sub`.`userid` = 3)   WHERE 0 < `page`.`areaid` ORDER BY `area`.`displayorder` ASC, `area`.`areaid` ASC;
      
      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 '*,`pageid` FROM `vw_`  LEFT JOIN `vw_page` `page` ON (`page`.`pageid` = `pageid`' at line 1
      Error Number  : 1064
      Request Date  : Wednesday, December 30th 2015 @ 12:25:16 AM
      Error Date    : Wednesday, December 30th 2015 @ 12:25:17 AM
      Script        : [url]http://www.hostboard.com/forums/management/wiki_cp.php?panel=area[/url]
      Referrer      : [url]http://www.hostboard.com/forums/management/wiki_cp.php[/url]
      IP Address    : 71.234.48.177
      Username      : Steven
      Classname     : vB_Database_MySQLi
      MySQL Version : 5.5.22-0ubuntu1
    Issue Details
    Issue Number 4494
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Admin Panel
    Status Cannot Reproduce
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.8
    Fixed Version (none)
    Milestone (none)
    Software DependencyvBulletin 4.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. December 30, 2015 3:15 PM
      pegasus pegasus is offline
      VaultWiki Team
      It looks like the 'Area' record is missing from the vw_nodetype table. If you see the record there, it is possible this is a cache issue, try removing the entry for 'vw_nodetypes' from the datastore table.

      If you are missing a lot of entries from the vw_nodetype table, or if clearing the cache does not work, it sounds like the version of the uninstaller you used may have left the database in a damaged state. You will need to request ticket support so that the issue can be assessed: https://www.vaultwiki.org/members/?d...e&productid=20
      Reply Reply
    2. December 31, 2015 8:50 AM
      Hostboard Hostboard is offline
      Junior Member
      Support ticket generated.
      BTW, upon submission there is an error. I caught it quickly and think it was a missing phrase...
      Reply Reply
    3. December 31, 2015 3:51 PM
      pegasus pegasus is offline
      VaultWiki Team
      After re-enabling the disabled VaultWiki product on your site, I cannot reproduce this issue.
      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 3: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 © 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.