• 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
    • Installation error: Illegal string offset 'packageid'

    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: Installation error: Illegal string offset 'packageid'

    • Issue Tools
      • View Changes
    1. issueid=3428 October 29, 2013 3:26 PM
      BL Staff BL Staff is offline
      New Member
      Installation error: Illegal string offset 'packageid'

      Installation freezes at Step 4, line 129.

      Seems to be a problem with the parameter 'packageid'

      Re-starting installation goes no further.

      Any ideas?

      vB 4.2.2 fresh install, PHP 5.4.14.

      Code:
      Step 4
      
      Adding data to table: bbcode
      Adding data to table: vw_nodetype
      Adding data to table: product
      Adding data to table: productcode
      Adding data to table: productdependency
      Adding data to table: package
      Adding data to table: contenttype
      Adding data to table: activitystreamtype
      
      Warning: Illegal string offset 'packageid' in ..../vault/core/controller/install/full/steps/vb3.php on line 117
      Warning: Illegal string offset 'packageid' in ..../vault/core/controller/install/full/steps/vb3.php on line 123
      
      Adding data to table: blocktype
      Adding data to table: cms_widgettype
      
      Fatal error: Class 'vB_BlockManager' not found in <forum root>/vb/vault/core/controller/install/rebuild/vb3.php on line 129
    Issue Details
    Issue Number 3428
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Install / Upgrade
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.0 Beta 7
    Fixed Version 4.0.0 Gamma 1
    Milestone VaultWiki 4 Beta X
    Software DependencyvBulletin 4.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. October 29, 2013 3:50 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the current release. Please download the ZIP again and Continue the installation.

      Unfortunately users who installed on vB < 4.2.2 get past this point without an error message, so their activity stream types and widgets need to be rebuilt in the next upgrade. Those users would be unable to see wiki items in the Activity Stream and would be unable to use wiki-related CMS widgets, but only if they installed prior to this posting. Users who install after this posting would be unaffected by this issue.
      Reply Reply  
    2. October 30, 2013 6:25 AM
      BL Staff BL Staff is offline
      New Member
      Still not right, I'm afraid. Process still dies at line 129.

      The product locked up as well and can't be uninstalled via ACP 'manage products' section.

      This is a test forum so data loss is not an issue. As such, I reinstalled vBulletin agauin onto a clean DB and started again.

      Step 4 remains a problem but does not flag 'productid' as a fatal error. Instead, we get a windowed database error after 'cms widget' is added:

      ================================

      Step 4
      Adding data to table: bbcode
      Adding data to table: vw_nodetype
      Adding data to table: product
      Adding data to table: productcode
      Adding data to table: productdependency
      Adding data to table: package
      Adding data to table: contenttype
      Adding data to table: activitystreamtype
      Adding data to table: blocktype
      Adding data to table: cms_widgettype
      Adding data to table: cms_widget

      Code:
      Database error in vBulletin 4.2.2:
      
      Invalid SQL:
      REPLACE INTO `cms_widget` (`widgettypeid`, `varname`, `title`, `description`, `productid`)  VALUES (24,'vw_feed','Recent Wiki Activity','Shows a live feed of wiki activity','vaultwiki'),
      	(25,'vw_integrate','Wiki Integration','Allows wiki content integration on CMS pages','vaultwiki');
      
      MySQL Error   : Unknown column 'productid' in 'field list'
      Error Number  : 1054
      Request Date  : Wednesday, October 30th 2013 @ 10:19:06 AM
      Error Date    : Wednesday, October 30th 2013 @ 10:19:06 AM
      Script        : http://<domain>/vb/vault/install/index.php?step=4&nostyle=1
      Referrer      : http://<domain>/vb/vault/install/index.php?step=3&nostyle=1
      IP Address    : xx.x.xx.xxx
      Username      : admin
      Classname     : vB_Database
      MySQL Version : 5.5.32-cll
      
      ================================
      Sorry!
      Reply Reply  
    3. October 30, 2013 8:16 AM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the current download. The $widgetids array (only) should be using 'product' parameters rather than 'productid'. It's just wonderful how vB uses 'productid' and 'product' interchangeably without warning on different database tables.
      Reply Reply  
    4. October 30, 2013 12:45 PM
      BL Staff BL Staff is offline
      New Member
      ^ lol

      having fun?

      Not sure if you'd prefer me to start a new thread? Database error is resolved, but the problem is still there.

      ======================

      Step 4

      Adding data to table: bbcode
      Adding data to table: vw_nodetype
      Adding data to table: product
      Adding data to table: productcode
      Adding data to table: productdependency
      Adding data to table: package
      Adding data to table: contenttype
      Adding data to table: activitystreamtype
      Adding data to table: blocktype
      Adding data to table: cms_widgettype
      Code:
      Fatal error: Class 'vB_BlockManager' not found in <forum root>/vault/core/controller/install/rebuild/vb3.php on line 129
      Reply Reply  
    5. October 31, 2013 9:26 AM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/core/controller/install/rebuild/vb3.php, find:
      Code:
      // reload blocks and block types
      Add after:
      Code:
      		require_once(DIR . '/includes/class_block.php');
      Reply Reply  
    6. October 31, 2013 1:31 PM
      BL Staff BL Staff is offline
      New Member
      Hi there,

      This appears to have resulted in a successful installation (in that I can return to ACP and use the wiki functions). Thankyou for your time and continuing efforts.

      Although the installation ran through to the completion message, there were a number of warnings that were spit out. Due to the javascript overlay that is presented at the end of installation, I wasn't able to directly copy/paste them. I did however manage to grab them via Firebug before returning to ACP.

      Again, under Step 4, after adding data to table: cms_widgettype, the following is produced:
      Code:
      Warning: Declaration of vB_BlockType_vwactivity::getHTML() should be compatible with vB_BlockType::getHTML() in ..../includes/block/vwactivity.php on line 128
      Under Step 10, after importing_article_languages, the following is produced:
      Code:
      Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in ..../includes/class_core.php on line 724
      Not sure how critical these are? The latter feels like it might present problems in the future.

      I'm happy to perform a full re-installation if it's helpful for you.
      Reply Reply  
    7. October 31, 2013 4:46 PM
      pegasus pegasus is offline
      VaultWiki Team
      The first is a problem with callback signatures that vB hasn't yet fixed in 4.2.2. If you use the forum home sidebar you might see similar messages from time to time. The second maybe more critical, but you can check the settings in the VaultWiki Admin Panel Language Manager to make sure they are okay.
      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 5:41 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.