• 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]: 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 '= '\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0'' at line 1

    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]: 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 '= '\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0'' at line 1

    • Issue Tools
      • View Changes
    1. issueid=6235 July 17, 2021 3:56 AM
      Forsaken Forsaken is offline
      Junior Member
      XF\Db\InvalidQueryException: MySQL statement prepare error [1064]: 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 '= '\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0'' at line 1

      Code:
      SELECT `x`.`ip_id` AS `ip_id` FROM `xf_vw_revision` `x`  LEFT JOIN `xf_ip` `i` ON (`x`.`ip_id` = `i`.`ip_id`)   WHERE  = '\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0'
      ------------
      
      #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(94): XF\Db\Mysqli\Statement->execute()
      #4 src/addons/vw/vw/_core/controller/db/xf2.php(251): XF\Db\AbstractAdapter->query('SELECT `x`.`ip_...')
      #5 src/addons/vw/vw/_core/model/db/mysql/vw.php(25): vw_DB_Controller_XF2->query_first_slave('SELECT `x`.`ip_...')
      #6 src/addons/vw/vw/_core/model/ip/vw.php(443): vw_DB_MySQL_Model->select(Array)
      #7 src/addons/vw/vw/_core/model/ip/xf0.php(21): vw_IP_Model->get_ipid('Revision', '...')
      #8 src/addons/vw/vw/_core/controller/ui/special/data/contributions/vw.php(102): vw_IP_Model_XF0->get_ipid('Revision', '...')
      #9 src/addons/vw/vw/_core/controller/ui/special/data/contributions/vw.php(36): vw_UI_Special_Data_Contributions_Controller->process_input()
      #10 src/addons/vw/vw/_core/controller/ui/special/vw.php(151): vw_UI_Special_Data_Contributions_Controller->view(Object(vw_UI_Special_Controller_XF2))
      #11 src/addons/vw/vw/_core/controller/ui/stack/vw.php(421): vw_UI_Special_Controller->view()
      #12 src/addons/vw/vw/_core/controller/ui/stack/vw.php(319): vw_UI_Stack_Controller->view(Object(vw_Reply_Stack_View))
      #13 src/addons/vw/vw/Pub/Controller/Wiki/Wiki.php(80): vw_UI_Stack_Controller->execute()
      #14 src/addons/vw/vw/Mvc/Dispatcher.php(30): vw\vw\Pub\Controller\Wiki\Wiki->_actionIndex(Object(XF\Mvc\ParameterBag))
      #15 src/addons/vw/vw/Pub/Controller/Wiki/AbstractController.php(26): vw\vw\Mvc\Dispatcher::dispatch(Object(vw\vw\Pub\Controller\Wiki\Wiki), 'index', Object(XF\Mvc\ParameterBag))
      #16 src/XF/Mvc/Dispatcher.php(350): vw\vw\Pub\Controller\Wiki\AbstractController->actionIndex(Object(XF\Mvc\ParameterBag))
      #17 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('\\vw\\vw\\Pub\\Cont...', 'Index', Object(XF\Mvc\RouteMatch), Object(vw\vw\Pub\Controller\Wiki\Wiki), NULL)
      #18 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(vw\vw\Pub\Controller\Wiki\Wiki), NULL)
      #19 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
      #20 src/XF/App.php(2344): XF\Mvc\Dispatcher->run()
      #21 src/XF.php(512): XF\App->run()
      #22 index.php(20): XF::runApp('XF\\Pub\\App')
      #23 {main}
    Issue Details
    Issue Number 6235
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Duplicate
    Priority 2 - Fatal / Database Errors
    Affected Version Unknown
    Fixed Version (none)
    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. July 20, 2021 11:24 AM
      pegasus pegasus is offline
      VaultWiki Team
      This is caused and will be fixed by: https://www.vaultwiki.org/issues/6236/
      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 11:13 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.