• 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
    • Tried to upgrade and got error

    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: Tried to upgrade and got error

    • Issue Tools
      • View Changes
    1. issueid=3619 March 19, 2014 7:37 AM
      dustinmattison dustinmattison is offline
      New Member
      Tried to upgrade and got error
      I tried to upgrade

      I got this error when upgrading to the latest version, minimum_requirements_error_mysql_packet

      Dustin
    Issue Details
    Issue Number 3619
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Install / Upgrade
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.0 Gamma 4
    Fixed Version 4.0.0 Gamma 4
    Milestone VaultWiki 4 Gamma X
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 1
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)


    Page 1 of 2 12 Next LastLast


    1. March 19, 2014 9:16 AM
      pegasus pegasus is offline
      VaultWiki Team
      You are receiving this error because VaultWiki thinks your server's MySQL max_allowed_packet setting is too low. Over the past years, we've noticed that users tend to get errors installing any add-ons if they have a setting less than 32M, although this typically occurs on vBulletin installations due to large cache sizes vBulletin creates. So in the latest releases we've added a warning message to tell users they probably won't be able to complete the install/upgrade due to this setting being low.

      It is entirely possible that this setting can be lower on XenForo-based sites, since overall XenForo is lighter and more efficient than vBulletin. If you have success lowering the requirement without encountering database errors, please let us know and we will reduce it for XenForo users.

      In vault/core/controller/cp/install/vw.php, find:
      Code:
      	const MIN_PACKET = 33554432;
      Set the number lower. MySQL's default is 1048576 unless you or your host have it set differently.

      If you receive any of the following MySQL errors:
      • exceeded max_allowed_packet
      • MySQL has gone away

      Then your max_allowed_packet setting really is too low. In this case, please let us know what you have to increase the server setting to, since there are limited resources on this matter for XenForo.
      Reply Reply  
    2. March 19, 2014 11:25 AM
      pegasus pegasus is offline
      VaultWiki Team
      I looked on the XenForo forum today and Mike has said that none of their queries exceed 500 KB, so the MySQL default might be sufficient. However, I see a handful of threads of people using the 1M default and it not being sufficient for certain tasks/pages.

      I know if you make a wiki page as long as the default setting 100,000 characters, you will probably hit the 1M default when you try to save it. This might be a fringe case though, I created a test page with 500,000 characters and it will never save under XenForo before PHP hits the time limit. Interestingly, the same test page does save under vBulletin.
      Reply Reply  
    3. March 20, 2014 3:53 AM
      dustinmattison dustinmattison is offline
      New Member
      In mySQL I changed the max_allowed_packet changed to 2M . However, I still have the same problem. What should I do?

      Dustin
      Reply Reply  
    4. March 20, 2014 3:32 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Code:
      Fatal error: Undefined class constant 'MIN_PACKET' in /vault/core/controller/cp/install/vw.php on line 113
      Reply Reply  
    5. March 20, 2014 8:39 PM
      pegasus pegasus is offline
      VaultWiki Team
      Quote Originally Posted by dustinmattison
      In mySQL I changed the max_allowed_packet changed to 2M . However, I still have the same problem. What should I do?
      You must change the line in the file I specify above to reduce the requirement.
      Reply Reply  
    6. March 20, 2014 8:47 PM
      pegasus pegasus is offline
      VaultWiki Team
      Quote Originally Posted by Alfa1
      Code:
      Fatal error: Undefined class constant 'MIN_PACKET' in /vault/core/controller/cp/install/vw.php on line 113
      In vault/core/controller/cp/install/vw.php, find all:
      Code:
      self::MIN_PACKET
      Replace all with:
      Code:
      static::MIN_PACKET
      Reply Reply  
    7. March 20, 2014 10:02 PM
      dustinmattison dustinmattison is offline
      New Member
      I got a step 1 error:
      Code:
      Upgrading to 4.0.0 Gamma 4
      Step 2
      
      Updating data in table: vw_special
      
      Fatal error: Using $this when not in object context in /home/inno/public_html/community/vault/core/controller/install/upgradepath/steps/4/0/0/gamma/4/C/xf.php on line 56
      Reply Reply  
    8. March 21, 2014 12:04 AM
      pegasus pegasus is offline
      VaultWiki Team
      I see that the code for the Gamma 4 upgrade script relies on functionality that is not available until PHP 5.4. Since the minimum requirement is PHP 5.3, we need to rewrite how this works.

      Fixed in build 004. Please download the new build from the Members area if you are getting this error.
      Reply Reply  
    9. March 24, 2014 3:32 AM
      DragonSigh DragonSigh is offline
      Junior Member
      What I need to change to lower max packet size requirement in VaultWiki + vBulletin?
      Our server does not allow to change the max allowed packet size, it has fixed value = 16 MB.

      // EDIT: FOUND IT. /vault/core/controller/cp/install/vb3.php
      Reply Reply  
    10. This petition for a change to Awaiting Feedback was rejected
      April 2, 2014 7:50 AM
      dustinmattison dustinmattison is offline
      New Member
      Quote Originally Posted by pegasus
      I see that the code for the Gamma 4 upgrade script relies on functionality that is not available until PHP 5.4. Since the minimum requirement is PHP 5.3, we need to rewrite how this works.

      Fixed in build 004. Please download the new build from the Members area if you are getting this error.
      I tried installing the recent patch, but I still get this error:

      Failed to Meet Minimum Requirements
      minimum_requirements_error_mysql_packet
       
    11. April 2, 2014 7:51 AM
      dustinmattison dustinmattison is offline
      New Member
      The patch doesn't work, I still get the same error
      Reply Reply  
    12. April 2, 2014 8:12 AM
      dustinmattison dustinmattison is offline
      New Member
      Now the browser is stuck at Upgrade Progress: 43%
      Reply Reply  
    13. April 2, 2014 8:38 AM
      dustinmattison dustinmattison is offline
      New Member
      Now I get this error for Step 5: Please enter a valid callback method (CES_Listener::navigation_tabs).
      Reply Reply  
    14. April 2, 2014 9:45 AM
      pegasus pegasus is offline
      VaultWiki Team
      The invalid callback is fixed in build 005. It is due to a corrupt XML file in the installer. Please download Gamma 4 Build 005 and the issue should be resolved.
      Reply Reply  
    15. April 2, 2014 6:52 PM
      dustinmattison dustinmattison is offline
      New Member
      I tried the new patch but now it stalls at step 4 and I can 't see the reason.
      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 4:14 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 © 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.