• 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=5510 October 21, 2018 4:33 AM
      expanserpb expanserpb is offline
      Junior Member
      Database Error

      Seems to not be passing through the nodetypeid ?


      XenForo_Exception: Database Error: SELECT * FROM `vw_lastupdate` WHERE nodetypeid = AND nodeid = ORDER BY lastdateline DESC LIMIT 10 Mysqli prepare 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 nodeid = ORDER BY lastdateline DESC LIMIT 10' at line 1 - vault/core/controller/db/xf.php:187
      Generated By: Unknown Account, Yesterday at 7:40 PM
      Stack Trace
      #0 /var/www/html/vault/core/controller/db/xf.php(203): vw_DB_Controller_XF->throw_error(Object(Zend_Db_Statement_Mysqli_Exception) , 'SELECT * FROM `...')
      #1 /var/www/html/vault/core/model/db/mysql/vw.php(27): vw_DB_Controller_XF->query_read('SELECT * FROM `...')
      #2 /var/www/html/vault/core/controller/dm/base/vw.php(1363): vw_DB_MySQL_Model->select(Array)
      #3 /var/www/html/vault/core/controller/dm/item/category/vw.php(444): vw_DM_Base_Controller->move_lastupdate(Array, Array, false)
      #4 /var/www/html/vault/core/controller/dm/vw.php(118): vw_DM_Item_Category_Controller->delete_multiple(Array)
      #5 /var/www/html/vault/core/model/cron/deferred/familykill/vw.php(174): vw_DM_Controller->delete_multiple(Array)
      #6 /var/www/html/vault/core/model/cron/deferred/vw.php(85): vw_Cron_Deferred_FamilyKill_Model->run(Array)
      #7 /var/www/html/library/vw/XenForo/Deferred/vw.php(28): vw_Cron_Deferred_Model->exec()
      #8 /var/www/html/library/XenForo/Model/Deferred.php(295): vw_XenForo_Deferred_vw->execute(Array, Array, 7.9999990463257, '')
      #9 /var/www/html/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 7.9999990463257, '', false)
      #10 /var/www/html/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, 8, '', false)
      #11 /var/www/html/deferred.php(23): XenForo_Model_Deferred->run(false)
      #12 {main}
      Request State
      array(3) {
      ["url"] => string(37) "https://chroniclesrp.net/deferred.php"
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(4) {
      ["_xfRequestUri"] => string(20) "/Folklore/Characters"
      ["_xfNoRedirect"] => string(1) "1"
      ["_xfToken"] => string(8) "********"
      ["_xfResponseType"] => string(4) "json"
      }
      }



      XenForo_Exception: Database Error: SELECT * FROM `vw_lastupdate` WHERE nodetypeid = AND nodeid = ORDER BY lastdateline DESC LIMIT 10 Mysqli prepare 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 nodeid = ORDER BY lastdateline DESC LIMIT 10' at line 1 - vault/core/controller/db/xf.php:187
      Generated By: Unknown Account, Oct 14, 2018
      Stack Trace
      #0 /var/www/html/vault/core/controller/db/xf.php(203): vw_DB_Controller_XF->throw_error(Object(Zend_Db_Statement_Mysqli_Exception) , 'SELECT * FROM `...')
      #1 /var/www/html/vault/core/model/db/mysql/vw.php(27): vw_DB_Controller_XF->query_read('SELECT * FROM `...')
      #2 /var/www/html/vault/core/controller/dm/base/vw.php(1363): vw_DB_MySQL_Model->select(Array)
      #3 /var/www/html/vault/core/controller/dm/item/category/vw.php(444): vw_DM_Base_Controller->move_lastupdate(Array, Array, false)
      #4 /var/www/html/vault/core/controller/dm/vw.php(118): vw_DM_Item_Category_Controller->delete_multiple(Array)
      #5 /var/www/html/vault/core/model/cron/deferred/familykill/vw.php(174): vw_DM_Controller->delete_multiple(Array)
      #6 /var/www/html/vault/core/model/cron/deferred/vw.php(85): vw_Cron_Deferred_FamilyKill_Model->run(Array)
      #7 /var/www/html/library/vw/XenForo/Deferred/vw.php(28): vw_Cron_Deferred_Model->exec()
      #8 /var/www/html/library/XenForo/Model/Deferred.php(295): vw_XenForo_Deferred_vw->execute(Array, Array, 7.9999988079071, '')
      #9 /var/www/html/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 7.9999988079071, '', false)
      #10 /var/www/html/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, 8, '', false)
      #11 /var/www/html/deferred.php(23): XenForo_Model_Deferred->run(false)
      #12 {main}
      Request State
      array(3) {
      ["url"] => string(37) "https://chroniclesrp.net/deferred.php"
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(4) {
      ["_xfRequestUri"] => string(36) "/admin.php?wiki/&panel=index&do=home"
      ["_xfNoRedirect"] => string(1) "1"
      ["_xfToken"] => string(8) "********"
      ["_xfResponseType"] => string(4) "json"
      }
      }
    Issue Details
    Issue Number 5510
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Moderator Tools
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.24
    Fixed Version 4.0.25
    Milestone (none)
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. October 21, 2018 11:07 AM
      pegasus pegasus is offline
      VaultWiki Team
      This will be fixed in the next new version. This occurs because the node data has already been deleted by the time this deferred task runs. It occurs when deleting a page that appears as a member of a category or as a feed entry; as a result, the category/feed counts of their child content are not updated correctly.
      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 8:56 AM.
    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.