• 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 3.x Series
    • Bug
    • Blank page after installing 3.0.0b2

    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: Blank page after installing 3.0.0b2

    • Issue Tools
      • View Changes
    1. issueid=1020 January 18, 2010 4:12 PM
      xopek xopek is offline
      New Member
      Blank page after installing 3.0.0b2
      Getting a blank page on all forum pages after installing 3.0.0b2 wiki

      Hi,

      I've tried to upgrade my test forum to 3.0.0b2 and I'm getting weird issues.. Basically, all the pages are blank... Now in more details.

      1. I've removed 2.5.x completely (uninstall and all files deleted) before installing 3.0.0.b2
      2. 3.0.0b2 installed with no issues at all - all clean
      3. No error messages in php logs when the vb return blank pages
      4. After disabling wiki everything starts working ok..

      After some digging I've figured that it's 'General - VaultWiki Init' module that is responsible.. if I disable it I get the forum back although wiki is obviously doesn't work...

      As this module only contains two line it didn't take long to figure out that it the second line that breaks it..
      Code:
      require_once(DIR . '/vault/special_class_wiki.php');
      $vault = new vB_CES_Vault();
      Any idea why this could be happening?..

      On my test board I'm running 3.8.4 Patch Level 1 with only wiki and vba dynamics, no other mods installed.

      At the moment I'm a bit puzzled and not sure how to debug this further.. If you have any suggestions I'll be happy to try it out.

      Denis
    Issue Details
    Issue Number 1020
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Install / Upgrade
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 3.0.0 Beta 2
    Fixed Version 3.0.0 Beta 3
    Milestone VaultWiki 3.0.0
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. January 18, 2010 10:37 PM
      pegasus pegasus is offline
      VaultWiki Team
      Please check your MySQL error logs. I believe I can reproduce this by doing the following in this order:
      1. Have 2.5.7 installed.
      2. Upload 3.0.0 Beta 2.
      3. Uninstall 2.5.7.
      4. Install 3.0.0 Beta 2.


      As you can see, step 2 is bad. This would result in:
      • The phrases for VaultWiki being missing - causing database errors on all wiki pages.
      • The session fields for VaultWiki being missing - causing database errors on every page that tracks the user's location.


      This was a known issue in the 3.0.0 uninstall process and is fixed for the next build. You should be able to confirm by checking your MySQL error logs.

      You can fix your database by downloading 2.5.7 and uploading its vault/tools directory. Then uninstall VaultWiki in that context, before attempting a fresh installation again.
      Reply Reply  
    2. January 19, 2010 12:59 PM
      xopek xopek is offline
      New Member
      Quote Originally Posted by pegasus
      1. Have 2.5.7 installed.
      2. Upload 3.0.0 Beta 2.
      3. Uninstall 2.5.7.
      4. Install 3.0.0 Beta 2.


      As you can see, step 2 is bad.
      I did it in a different order... I've uninstalled 2.5.7 then removed all 2.5.7 files and only then uploaded and installed 3.0.0b2.

      I've done some more debugging and it seems that I've figured this out... When disabling main init hook it did indeed masked the issue but the actual error was hiding in the other place.

      I've then tracked it down to the cache_templates hook. Basically in global.php any code before the line
      Code:
      ($hook = vBulletinHook::fetch_hook('cache_templates')) ? eval($hook) : false;
      is executes and anything after that line does not.

      I've disabled 'General - Templates & Viewing Modes' module and finally I got the following (very familiar) error:

      'Only admins can see this error. Other users can visit the site normally, but your immediate attention is needed in the AdminCP.

      Invalid default namespace ID detected. Make sure that you have set up the default namespace via the Namespace Manager. If you have, check that the CES VaultWiki option "Namespace ID of the Default Namespace" matches a namespace ID from left column of the Namespace Manager (default: 6) and is not a forum ID.

      If that setting is correct, it is possible that the Namespace Cache is not up to date because of corruption or a recent VaultWiki upgrade. To solve this issue, simply go to the Namespace Manager and select Rebuild All Namespaces.'

      After I reset all namespaces, the error message dissapeared and everything worked ok ever since.

      So looks like my fault after all for not setting namespaces correctly.. Although it is strange that I was getting blank pages instead or helpful message!

      Denis
      Reply Reply  
    3. January 20, 2010 1:51 AM
      pegasus pegasus is offline
      VaultWiki Team
      Ah, thanks for the excellent clarification. We were able to trace the issue further and discovered that the function special_global_state_check attempts to call itself recursively.

      Basically:
      1. State Check calls namespace error message.
      2. Error message requires templates and template fetch is triggered.
      3. Template fetch triggers the State Check.
      4. State Check calls namespace error message.
      5. Error message requires templates. Template fetch was already triggered, so cache is used.
      6. Template cache is empty because fetch in step #2 hasn't finished yet. Empty template is output.


      This has been fixed for the next build. The state check in step #3 is only supposed to occur if the state check has not yet occurred.
      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 7:27 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.