• 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
    • XF\Db\InvalidQueryException: MySQL statement prepare error [1064]:

    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: XF\Db\InvalidQueryException: MySQL statement prepare error [1064]:

    • Issue Tools
      • View Changes
    1. issueid=5637 February 13, 2019 4:33 AM
      hollosch hollosch is offline
      Senior Member
      XF\Db\InvalidQueryException: MySQL statement prepare error [1064]:

      XF\Db\InvalidQueryException: MySQL statement prepare error [1064]: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '3,1448719459)' at line 1 src/XF/Db/AbstractStatement.php:217
      Generiert von: hollosch 13. Februar 2019 um 09:30
      Stack-Trace
      INSERT IGNORE INTO `vw_activity` (`contenttypeid`, `contentid`, `collapseid`, `areaid`, `parentid`, `userid`, `dateline`) VALUES (6,106,82,0,,3,1448719459)
      ------------

      #0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL statement...', 1064, '42000')
      #1 src/XF/Db/Mysqli/Statement.php(39): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1064, '42000')
      #2 src/XF/Db/Mysqli/Statement.php(54): XF\Db\Mysqli\Statement->prepare()
      #3 src/XF/Db/AbstractAdapter.php(89): XF\Db\Mysqli\Statement->execute()
      #4 src/addons/vw/vw/_core/controller/db/xf2.php(117): XF\Db\AbstractAdapter->query('INSERT IGNORE ...')
      #5 src/addons/vw/vw/_core/model/db/mysql/vw.php(1330): vw_DB_Controller_XF2->query_write('INSERT IGNORE ...')
      #6 src/addons/vw/vw/_core/model/db/mysql/vw.php(1075): vw_DB_MySQL_Model->shutdown_or_run('INSERT IGNORE ...', false)
      #7 src/addons/vw/vw/_core/controller/dm/base/vw.php(2534): vw_DB_MySQL_Model->insert(Array)
      #8 src/addons/vw/vw/_core/controller/dm/base/vw.php(2291): vw_DM_Base_Controller->create_stream()
      #9 src/addons/vw/vw/XF/Entity/Entity.php(1079): vw_DM_Base_Controller->update_stream()
      #10 src/addons/vw/vw/_core/controller/dm/vw.php(129): vw\vw\XF\Entity\Entity->write_stream(NULL)
      #11 src/addons/vw/vw/_install/lib/upgradepath/steps/4/1/0/alpha/1/base/vw.php(2767): vw_DM_Controller->__call('write_stream', Array)
      #12 src/addons/vw/vw/_install/lib/upgradepath/steps/4/1/0/alpha/1/base/vw.php(1639): vw_Install_UpgradePath_Steps_410alpha1_base_Controller->fill_activity(Object(vw\vw\Setup\Caller\Upgrade), false, 'Comment')
      #13 src/addons/vw/vw/Setup.php(260): vw_Install_UpgradePath_Steps_410alpha1_base_Controller->{closure}(Object(vw\vw\Setup\Caller\Upgrade), false)
      #14 src/addons/vw/vw/Setup.php(870): vw\vw\Setup->vwRunStep('upgrade', Object(vw_Install_UpgradePath_Steps_410alpha2_C_Controlle r_XF2), Array, 40)
      #15 src/XF/Admin/Controller/AddOn.php(575): vw\vw\Setup->upgrade(Array)
      #16 src/XF/Mvc/Dispatcher.php(321): XF\Admin\Controller\AddOn->actionUpgrade(Object(XF\Mvc\ParameterBag))
      #17 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:AddOn', 'Upgrade', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\AddOn), NULL)
      #18 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\AddOn), NULL)
      #19 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
      #20 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
      #21 src/XF.php(390): XF\App->run()
      #22 admin.php(13): XF::runApp('XF\\Admin\\App')
      #23 {main}
      Status der Anfrage
      array(4) {
      ["url"] => string(32) "/admin.php?add-ons/vw-vw/upgrade"
      ["referrer"] => string(57) "https://regio-portal.wiki/admin.php?add-ons/vw-vw/upgrade"
      ["_GET"] => array(1) {
      ["add-ons/vw-vw/upgrade"] => string(0) ""
      }
      ["_POST"] => array(7) {
      ["_xfProcessing"] => string(1) "1"
      ["continue"] => string(1) "1"
      ["confirm"] => string(1) "1"
      ["params"] => string(31) "{"step":3,"version_id":4010012}"
      ["count"] => string(2) "57"
      ["finished"] => string(1) "0"
      ["_xfToken"] => string(8) "********"
      }
      }
    Issue Details
    Issue Number 5637
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.1.0 Alpha 2
    Fixed Version 4.1.0 Alpha 2
    Milestone (none)
    Software DependencyXenForo 2.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. February 13, 2019 12:41 PM
      pegasus pegasus is offline
      VaultWiki Team
      This occurs when upgrading to 4.1.0 Alpha 1 if the database contains orphaned wiki comments (the page they commented on was deleted).

      Since it should not be re-upgrading to Alpha 1, please follow these instructions: https://www.vaultwiki.org/issues/5635/#note30929
      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 12:39 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.