• 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
    • Zend Opcache is enabled by php.ini, but uses an unsafe configuration

    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: Zend Opcache is enabled by php.ini, but uses an unsafe configuration

    • Issue Tools
      • View Changes
    1. issueid=4415 November 6, 2015 3:23 PM
      Glock Glock is offline
      New Member
      Zend Opcache is enabled by php.ini, but uses an unsafe configuration

      Hello all,
      I have just bought this and installed it fine but when I go to the VaultWiki installer page via the ACP in Xenforo, I get this error;

      Failed to Meet Minimum Requirements

      Zend Opcache is enabled by php.ini, but uses an unsafe configuration. PHP files can still read from the cache during upgrades. This behavior can result in unintended database damage.

      I have no idea what this means and hope you can assist...
      I was hoping it would work out of the box, but obviously it doesn't like my setup.

      Many thanks
    Issue Details
    Issue Number 4415
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Install / Upgrade
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.0.7
    Fixed Version 4.0.7
    Milestone (none)
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. November 7, 2015 9:04 AM
      pegasus pegasus is offline
      VaultWiki Team
      This was fixed November 1; maybe the fix didn't work in XenForo. If it works correctly, it should tell also you which of the following settings is wrong and how to fix them:
      • opcache.validate_timestamps should not be 0
      • opcache.revalidate_freq should not be higher than 10
      Reply Reply
    2. November 7, 2015 9:33 AM
      pegasus pegasus is offline
      VaultWiki Team
      This issue was only affecting XenForo beyond November 1. Since 2013, the subclass which checks for specific XenForo requirements had changed the name of the variable where the requirement value was stored. This made it impossible to show the correct values for any requirements that failed under XenForo, for which a specific minimum value could be specified.

      This is now fixed in build 002.
      Reply Reply
    3. November 16, 2015 6:33 PM
      General Meow General Meow is offline
      New Member
      I'm also having this issue.

      Failed to Meet Minimum Requirements
      Zend Opcache is enabled by php.ini, but uses an unsafe configuration. PHP files can still read from the cache during upgrades. This behavior can result in unintended database damage.

      opcache.revalidate_freq is too high (120). Please lower this value to at most 10 and restart PHP.

      My host can't really change it because of the larger sites that require it.
      Reply Reply
    4. November 16, 2015 7:28 PM
      pegasus pegasus is offline
      VaultWiki Team
      With a value of 120, It will take 2 minutes for PHP to notice changes to the file system. This means you have to wait at least 2 minutes after uploading an upgrade package before you attempt to access the wiki or execute the upgrade routines. Failure to do so will probably damage the database. Many users have damaged their database by doing this, and that is why this warning was added. If you do not have control over these ini settings, then you will need to submit a Ticket Support service, under our Members tab > Services > Free Services, and we will temporarily disable this protection.
      Reply Reply
    5. November 17, 2015 8:53 AM
      pegasus pegasus is offline
      VaultWiki Team
      If you have PHP > 5.5, you can make this edit which should bypass the error. In vault/core/controller/cp/install/vw.php, find:
      Code:
      if ($revalidate_freq !== false AND $revalidate_freq > 10)
      Replace with:
      Code:
      if ($revalidate_freq !== false AND $revalidate_freq > 10 AND !opcache_reset())
      Reply Reply
    6. November 22, 2015 4:00 PM
      Glock Glock is offline
      New Member
      My word! I do apologise for the delay, I'm inundated with work.

      @pegasus I followed your guide on XF and it worked a peach..
      Sorry for the very late reply. Apologies.
      Glock
      Reply Reply
    7. November 22, 2015 4:02 PM
      Glock Glock is offline
      New Member
      Also I submitted a ticket just now but can't find it. Sorry, how do I view tickets?
      I tried this;
      https://www.vaultwiki.org/members/?d...e&productid=20
      But nothing.. sorry, please do delete this if there is a way for me to view tickets and I got it wrong.
      Many thanks!
      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:20 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.