• 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
    • Beta 3 Step 7 and 8 fail

    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: Beta 3 Step 7 and 8 fail

    • Issue Tools
      • View Changes
    1. issueid=3206 July 15, 2013 8:39 PM
      rizwank rizwank is offline
      New Member
      Beta 3 Step 7 and 8 fail

      Sigh.

      Automated install fails at step 8
      Code:
      creating_wiki_index
      An exception occurred: 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 'FROM `vw_` WHERE = 1' at line 1 in /var/www/html/forum/library/Zend/Db/Statement/Mysqli.php on line 77
      Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
      Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
      Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
      Zend_Db_Adapter_Abstract->query() in /var/www/html/forum/vault/core/controller/db/xf.php at line 158
      vw_DB_Controller_XF->query_first() in /var/www/html/forum/vault/core/model/db/mysql/vw.php at line 29
      vw_DB_MySQL_Model->select() in /var/www/html/forum/vault/core/controller/dm/route/vw.php at line 71
      vw_DM_Route_Controller->verify_itemid() in /var/www/html/forum/vault/core/controller/dm/route/xf.php at line 61
      vw_DM_Route_Controller_XF->verify_itemid()
      call_user_func_array() in XenForo/DataWriter.php at line 965
      XenForo_DataWriter->_runVerificationCallback() in XenForo/DataWriter.php at line 720
      XenForo_DataWriter->_isFieldValueValid() in XenForo/DataWriter.php at line 638
      XenForo_DataWriter->set() in /var/www/html/forum/vault/core/controller/dm/xf.php at line 225
      vw_DM_Controller_XF->set() in /var/www/html/forum/vault/core/controller/dm/base/routable/vw.php at line 416
      vw_DM_Base_Routable_Controller->save_path() in /var/www/html/forum/vault/core/controller/dm/page/vw.php at line 1160
      vw_DM_Page_Controller->post_save_each() in /var/www/html/forum/vault/core/controller/dm/page/xf.php at line 127
      vw_DM_Page_Controller_XF->_postSave() in XenForo/DataWriter.php at line 1385
      XenForo_DataWriter->save() in /var/www/html/forum/vault/core/controller/dm/xf.php at line 366
      vw_DM_Controller_XF->save() in /var/www/html/forum/vault/core/controller/install/full/steps/vw.php at line 87
      {closure}() in /var/www/html/forum/vault/core/controller/progress/vw.php at line 80
      vw_Progress_Controller->call() in /var/www/html/forum/vault/core/controller/cp/progress/vw.php at line 39
      vw_CP_Progress_Controller->process() in /var/www/html/forum/vault/core/controller/cp/install/vw.php at line 143
      vw_CP_Install_Controller->install() in /var/www/html/forum/vault/core/controller/cp/install/vw.php at line 74
      vw_CP_Install_Controller->execute() in /var/www/html/forum/vault/cp/global.php at line 72
      require_once() in /var/www/html/forum/vault/install/index.php at line 37
      If I retry step 7, I get
      Code:
      An exception occurred: 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 '' at line 1 in /var/www/html/forum/library/Zend/Db/Statement/Mysqli.php on line 77
      Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
      Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
      Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
      Zend_Db_Adapter_Abstract->query() in /var/www/html/forum/vault/core/controller/db/xf.php at line 158
      vw_DB_Controller_XF->query_first() in /var/www/html/forum/vault/core/model/db/mysql/vw.php at line 29
      vw_DB_MySQL_Model->select() in /var/www/html/forum/vault/core/controller/dm/base/routable/vw.php at line 388
      vw_DM_Base_Routable_Controller->save_path() in /var/www/html/forum/vault/core/controller/dm/special/vw.php at line 61
      vw_DM_Special_Controller->post_save_each() in /var/www/html/forum/vault/core/controller/dm/special/xf.php at line 51
      vw_DM_Special_Controller_XF->_postSave() in XenForo/DataWriter.php at line 1385
      XenForo_DataWriter->save() in /var/www/html/forum/vault/core/controller/dm/xf.php at line 366
      vw_DM_Controller_XF->save() in /var/www/html/forum/vault/core/controller/install/db/insert/vw.php at line 148
      vw_Install_DB_Insert_Controller->execute_dm() in /var/www/html/forum/vault/core/controller/install/full/steps/vw.php at line 60
      {closure}() in /var/www/html/forum/vault/core/controller/progress/vw.php at line 80
      vw_Progress_Controller->call() in /var/www/html/forum/vault/core/controller/cp/progress/vw.php at line 39
      vw_CP_Progress_Controller->process() in /var/www/html/forum/vault/core/controller/cp/install/vw.php at line 143
      vw_CP_Install_Controller->install() in /var/www/html/forum/vault/core/controller/cp/install/vw.php at line 74
      vw_CP_Install_Controller->execute() in /var/www/html/forum/vault/cp/global.php at line 72
      require_once() in /var/www/html/forum/vault/install/index.php at line 37
    Issue Details
    Issue Number 3206
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Install / Upgrade
    Status Fixed
    Priority 1 - Security / Login / Data Loss
    Affected Version 4.0.0 Beta 3
    Fixed Version 4.0.0 Beta 3
    Milestone VaultWiki 4 Beta X
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)


    Page 2 of 2 FirstFirst Previous 12


    1. July 16, 2013 1:49 AM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/core/model/datastore/xf.php, find:
      Code:
      else if (isset($this->store["$field"]) AND is_array($this->store["$field"]))
      					{
      						$buffer = $this->store["$field"];
      						unset($this->store["$field"]);
      					}
      Replace with:
      Code:
      			else
      			{
      				$datastore = XenForo_Application::getCache();
      
      				if ($datastore)
      				{
      					if (isset($this->store["$field"]) AND is_array($this->store["$field"]))
      					{
      						$buffer = $this->store["$field"];
      						unset($this->store["$field"]);
      					}
      					else
      					{
      						$buffer = $datastore->load('data_' . $field);
      					}
      				}
      			}
      That should fix compatibility with XenForo's cache (including the database errors during install).
      Reply Reply  
    2. July 16, 2013 1:52 PM
      rizwank rizwank is offline
      New Member
      Can you push a new zip?

      Also, should I uninstall and reinstall, or just update files?
      Reply Reply  
    3. July 16, 2013 4:50 PM
      rizwank rizwank is offline
      New Member
      vw_wiki_disabled_error still presented after patch.
      Reply Reply  
    4. July 16, 2013 7:36 PM
      pegasus pegasus is offline
      VaultWiki Team
      Cannot reproduce this since support was added for XenForo's cache. Please download the ZIP again to make sure all your files are up to date.
      Reply Reply  
    Page 2 of 2 FirstFirst Previous 12
    + 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 10:07 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.