• 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 2 Release 3 doesn't install on XF 1.1.5

    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 2 Release 3 doesn't install on XF 1.1.5

    • Issue Tools
      • View Changes
    1. issueid=3163 July 6, 2013 7:21 PM
      rizwank rizwank is offline
      New Member
      Beta 2 Release 3 doesn't install on XF 1.1.5

      Code:
      Step 6
      
      Adding data to table: vw_bbcode
      Adding data to table: vw_nodetype
      Adding data to table: xf_content_type
      Adding data to table: xf_content_type_field
      An exception occurred: Undefined index: 1 in /var/www/html/forum/vault/core/model/string/vw.php on line 121
      XenForo_Application::handlePhpError() in /var/www/html/forum/vault/core/model/string/vw.php at line 121
      vw_String_Model->substr() in /var/www/html/forum/vault/core/controller/dm/route/vw.php at line 243
      vw_DM_Route_Controller->pre_save() in /var/www/html/forum/vault/core/controller/dm/route/xf.php at line 77
      vw_DM_Route_Controller_XF->_preSave() in XenForo/DataWriter.php at line 1422
      XenForo_DataWriter->preSave() in XenForo/DataWriter.php at line 1361
      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/dm/base/routable/vw.php at line 418
      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 141
      vw_Install_DB_Insert_Controller->execute() in /var/www/html/forum/vault/core/controller/install/full/steps/vw.php at line 51
      {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 3163
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Install / Upgrade
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.0 Beta 2
    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)




    1. July 6, 2013 7:28 PM
      pegasus pegasus is offline
      VaultWiki Team
      Does your PHP installation have the mbstring extension? We use mbstring here, so I am wondering if this is an issue with the fallback code if the extension is missing.
      Reply Reply  
    2. July 6, 2013 8:04 PM
      pegasus pegasus is offline
      VaultWiki Team
      Indeed. In vault/core/model/string/vw.php, find:
      Code:
      $string[] = $tmp["$offset"];
      Add before:
      Code:
      				if (!isset($tmp["$offset"]))
      				{
      					// we wanted a length longer than the string
      					break;
      				}
      Reply Reply  
    3. July 6, 2013 11:55 PM
      rizwank rizwank is offline
      New Member
      Code:
      [rizwank@soar ~]$ php -i | grep mbstring
      Configure Command =>  './configure'  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib64' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--enable-gd-native-ttf' '--with-t1lib=/usr' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-pcre-regex' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--with-kerberos' '--enable-ucd-snmp-hack' '--enable-shmop' '--enable-calendar' '--with-libxml-dir=/usr' '--enable-xml' '--with-system-tzdata' '--with-mhash' '--enable-force-cgi-redirect' '--libdir=/usr/lib64/php' '--enable-pcntl' '--with-imap=shared' '--with-imap-ssl' '--enable-mbstring=shared' '--enable-mbregex' '--with-gd=shared' '--enable-bcmath=shared' '--enable-dba=shared' '--with-db4=/usr' '--with-xmlrpc=shared' '--with-ldap=shared' '--with-ldap-sasl' '--enable-mysqlnd=shared' '--with-mysql=shared,mysqlnd' '--with-mysqli=shared,mysqlnd' '--enable-dom=shared' '--with-pgsql=shared' '--enable-wddx=shared' '--with-snmp=shared,/usr' '--enable-soap=shared' '--with-xsl=shared,/usr' '--enable-xmlreader=shared' '--enable-xmlwriter=shared' '--with-curl=shared,/usr' '--enable-fastcgi' '--enable-pdo=shared' '--with-pdo-odbc=shared,unixODBC,/usr' '--with-pdo-mysql=shared,mysqlnd' '--with-pdo-pgsql=shared,/usr' '--with-pdo-sqlite=shared,/usr' '--with-pdo-dblib=shared,/usr' '--with-sqlite3=shared,/usr' '--with-sqlite=shared,/usr' '--enable-json=shared' '--enable-zip=shared' '--without-readline' '--with-libedit' '--with-pspell=shared' '--enable-phar=shared' '--with-mcrypt=shared,/usr' '--with-tidy=shared,/usr' '--with-mssql=shared,/usr' '--enable-sysvmsg=shared' '--enable-sysvshm=shared' '--enable-sysvsem=shared' '--enable-posix=shared' '--with-unixODBC=shared,/usr' '--enable-fileinfo=shared' '--enable-intl=shared' '--with-icu-dir=/usr' '--with-enchant=shared,/usr' '--with-recode=shared,/usr'
      (looks like it isn't installed.)
      Reply Reply  
    4. July 7, 2013 12:16 AM
      rizwank rizwank is offline
      New Member
      Patch applied. mbstring also installed.
      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 9:02 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 © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.