• 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 1 of 2 12 Next LastLast


    1. July 15, 2013 8:46 PM
      pegasus pegasus is offline
      VaultWiki Team
      Please check that the directory vault/core/controller/install/db/insert/nodetype exists and that it contains vw.php
      This can only occur if this file is not found during Step 6. It would also cause step 7 to fail before even arriving at step 8.

      Also make sure that the table vw_nodetype contains data.
      If you are installing over a previously uninstalled database, check that there is no existing entry in xf_data_registry with 'vw_' prefixed data_keys.
      Reply Reply  
    2. July 15, 2013 9:52 PM
      rizwank rizwank is offline
      New Member
      [root@soar forum]# stat vault/core/controller/install/db/insert/nodetype/vw.php
      File: `vault/core/controller/install/db/insert/nodetype/vw.php'
      Size: 2091 Blocks: 8 IO Block: 4096 regular file
      Device: 801h/2049d Inode: 265983 Links: 1
      Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
      Access: 2013-07-15 17:37:58.943421792 -0700
      Modify: 2013-07-15 17:37:35.119800826 -0700
      Change: 2013-07-15 17:37:35.119800826 -0700
      [root@soar forum]# md5sum vault/core/controller/install/db/insert/nodetype/vw.php
      3d40e18a6bcfbcd2675eada42ad4fd8a vault/core/controller/install/db/insert/nodetype/vw.php
      Reply Reply  
    3. July 15, 2013 9:53 PM
      rizwank rizwank is offline
      New Member
      Uninstalled.

      mysql> select * from xf_data_registry where data_key like 'v%';
      Empty set (0.00 sec)

      Trying to install now.
      Reply Reply  
    4. July 15, 2013 9:58 PM
      rizwank rizwank is offline
      New Member
      Step 7 didn't show any work being done, just held, and then a next button.

      Step 8
      creating_wiki_index
      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 '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
      mysql says

      mysql> select * from vw_nodetype\G
      *************************** 1. row ***************************
      id: 4
      accesskey: Area
      *************************** 2. row ***************************
      id: 8
      accesskey: Attach
      *************************** 3. row ***************************
      id: 15
      accesskey: AttachEdit
      *************************** 4. row ***************************
      id: 6
      accesskey: Book
      *************************** 5. row ***************************
      id: 7
      accesskey: Category
      *************************** 6. row ***************************
      id: 17
      accesskey: CategoryItem
      *************************** 7. row ***************************
      id: 16
      accesskey: Chapter
      *************************** 8. row ***************************
      id: 13
      accesskey: Comment
      *************************** 9. row ***************************
      id: 12
      accesskey: Discussion
      *************************** 10. row ***************************
      id: 20
      accesskey: Forum
      *************************** 11. row ***************************
      id: 5
      accesskey: Index
      *************************** 12. row ***************************
      id: 19
      accesskey: Island
      *************************** 13. row ***************************
      id: 3
      accesskey: Language
      *************************** 14. row ***************************
      id: 1
      accesskey: Page
      *************************** 15. row ***************************
      id: 23
      accesskey: Poll
      *************************** 16. row ***************************
      id: 2
      accesskey: Prefix
      *************************** 17. row ***************************
      id: 9
      accesskey: Redirect
      *************************** 18. row ***************************
      id: 14
      accesskey: Revision
      *************************** 19. row ***************************
      id: 10
      accesskey: Special
      *************************** 20. row ***************************
      id: 18
      accesskey: Template
      *************************** 21. row ***************************
      id: 21
      accesskey: Thread
      *************************** 22. row ***************************
      id: 11
      accesskey: Topic
      *************************** 23. row ***************************
      id: 22
      accesskey: User
      23 rows in set (0.00 sec)
      Just for the hell of it ..

      mysql> select * from xf_data_registry where data_key like 'v%';
      +--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
      | data_key | data_value |
      +--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
      | vw_blocks | a:5:{s:6:"search";a:3:{s:7:"blockid";i:1;s:7:"varname";s: 6:"search";s:6:"active";i:1;}s:4:"feed";a:3:{s:7:"blockid ";i:2;s:7:"varname";s:4:"feed";s:6:"active";i:1;}s:7:"sim ilar";a:3:{s:7:"blockid";i:3;s:7:"varname";s:7:"similar"; s:6:"active";i:1;}s:6:"flesch";a:3:{s:7:"blockid";i:4;s:7 :"varname";s:6:"flesch";s:6:"active";i:1;}s:8:"book_toc"; a:3:{s:7:"blockid";i:5;s:7:"varname";s:8:"book_toc";s:6:" active";i:1;}} |
      | vw_nodetypes | a:23:{s:4:"area";i:4;s:6:"attach";i:8;s:10:"attachedit";i :15;s:4:"book";i:6;s:8:"category";i:7;s:12:"categoryitem" ;i:17;s:7:"chapter";i:16;s:7:"comment";i:13;s:10:"discuss ion";i:12;s:5:"forum";i:20;s:5:"index";i:5;s:6:"island";i :19;s:8:"language";i:3;s:4:"page";i:1;s:4:"poll";i:23;s:6 :"prefix";i:2;s:8:"redirect";i:9;s:8:"revision";i:14;s:7: "special";i:10;s:8:"template";i:18;s:6:"thread";i:21;s:5: "topic";i:11;s:4:"user";i:22;} |
      | vw_prefixs | a:1:{i:0;a:6:{s:8:"prefixid";i:1;s:5:"title";s:7:"Special ";s:9:"bbcodetag";s:0:"";s:9:"prefixkey";s:7:"special";s: 8:"parentid";i:0;s:10:"languageid";i:0;}} |
      +--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
      3 rows in set (0.00 sec)
      Reply Reply  
    5. July 15, 2013 10:32 PM
      pegasus pegasus is offline
      VaultWiki Team
      By any chance, in XenForo's config.php, do you have the cache disabled? If you do, please also disable the cache in VaultWiki's config file.
      Reply Reply  
    6. July 15, 2013 10:39 PM
      rizwank rizwank is offline
      New Member
      Code:
      <?php
      
      $config['db']['host'] = '****';
      $config['db']['port'] = '****';
      $config['db']['username'] = '*****';
      $config['db']['password'] = '*****';
      $config['db']['dbname'] = '****';
      
      $config['cookie'] = array(
        'prefix' => 'sm_xf_',
        'path' => '/',
        'domain' => '.******.com'
      );
      
      #disables all plugins. Great for dealing with temp issues.
      #$config['enableListeners'] = false;
      
      $config['superAdmins'] = '1';
      
      if($_SERVER['REMOTE_ADDR'] == '******'){$config['debug'] = true;} #this is my current IP
      
      $config['cache']['enabled'] = true;
      $config['cache']['frontend'] = 'Core';
      $config['cache']['frontendOptions']['cache_id_prefix'] = 'xf_';
      $config['cache']['cacheSessions'] = true;
      
      $config['cache']['backend'] = 'Apc';
      In XF, Cache is disabled by default, as far as I know. I just turned it on a few days ago.
      Reply Reply  
    7. July 15, 2013 11:29 PM
      pegasus pegasus is offline
      VaultWiki Team
      In that case, then please try with the cache disabled in XF.
      Reply Reply  
    8. July 15, 2013 11:40 PM
      rizwank rizwank is offline
      New Member
      Done. Made it to step 20.

      Code:
      installing_templates
      An exception occurred: Mysqli statement execute error : Duplicate entry '2179-0' for key 'definition_id_style_id' in /var/www/html/forum/library/Zend/Db/Statement/Mysqli.php on line 214
      Zend_Db_Statement_Mysqli->_execute() in Zend/Db/Statement.php at line 297
      Zend_Db_Statement->execute() in Zend/Db/Adapter/Abstract.php at line 479
      Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 574
      Zend_Db_Adapter_Abstract->insert() in XenForo/DataWriter.php at line 1591
      XenForo_DataWriter->_insert() in XenForo/DataWriter.php at line 1580
      XenForo_DataWriter->_save() in XenForo/DataWriter.php at line 1381
      XenForo_DataWriter->save() in XenForo/Model/StyleProperty.php at line 1178
      XenForo_Model_StyleProperty->updateStylePropertyValue() in XenForo/Model/StyleProperty.php at line 2313
      XenForo_Model_StyleProperty->importStylePropertiesFromArray() in XenForo/Model/StyleProperty.php at line 2187
      XenForo_Model_StyleProperty->importStylePropertyXml() in /var/www/html/forum/vault/core/controller/install/common/xf.php at line 280
      vw_Install_Common_Controller_XF->do_stylevars() in /var/www/html/forum/vault/core/controller/install/common/xf.php at line 184
      vw_Install_Common_Controller_XF->do_templates() in /var/www/html/forum/vault/core/controller/install/full/steps/xf.php at line 625
      {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
      Reply Reply  
    9. July 16, 2013 12:45 AM
      rizwank rizwank is offline
      New Member
      Just kept refreshing and realizing that it would try the next insert.
      =) lets see what happens.
      Reply Reply  
    10. July 16, 2013 1:00 AM
      rizwank rizwank is offline
      New Member
      Step 21 is taking many many clicks.

      the query sits doing nothing, then does a quick query and then shows next batch again.

      | 11473 | chat_xenforo | localhost | chat_xenforo | Execute | 0 | updating | DELETE FROM `xf_template_phrase` WHERE (template_map_id = 1229) |
      Reply Reply  
    11. July 16, 2013 1:06 AM
      pegasus pegasus is offline
      VaultWiki Team
      You can skip step 21 but you will have to rebuild the style later. Step 21 worked on my 1.1.3 tests, but I suppose I don't have enough addons installed to trigger a "Next Batch".
      Reply Reply  
    12. July 16, 2013 1:07 AM
      rizwank rizwank is offline
      New Member
      httpd is eating up cycles like nothing else, so it's doing something
      Reply Reply  
    13. July 16, 2013 1:14 AM
      rizwank rizwank is offline
      New Member
      99.76.186.29 - - [15/Jul/2013:22:05:39 -0700] "POST /vault/install/index.php?step=21&nostyle=1&startat=23 HTTP/1.1"
      99.76.186.29 - - [15/Jul/2013:22:13:43 -0700] "POST /vault/install/index.php?step=21&nostyle=1&startat=70 HTTP/1.1"
      Reply Reply  
    14. July 16, 2013 1:21 AM
      rizwank rizwank is offline
      New Member
      I skipped step 21 and went onto 22. Install completed.
      Navigating to wiki index gives
      vw_wiki_disabled_error

      I rebuilt everything by removing a plugin; but the vw config page says that the wiki is enabled.
      Reply Reply  
    15. July 16, 2013 1:41 AM
      pegasus pegasus is offline
      VaultWiki Team
      The wiki being disabled for no reason only happens for me if I enable the XF cache. I am currently looking for a solution to this and other issues.

      I was able to force the installer to think I had a lot of templates so that it would perform multiple batches. I have fixed the issues with that, both on auto and click-through modes. Will merge in the changes once I figure out what's wrong with XF cache.
      Reply Reply  
    Page 1 of 2 12 Next LastLast
    + 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:22 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.