• 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
    • Non-admins experiencing intermittent blank pages on new posts, replies

    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: Non-admins experiencing intermittent blank pages on new posts, replies

    • Issue Tools
      • View Changes
    1. issueid=333 December 12, 2008 2:04 PM
      Rand al'Thor Rand al'Thor is offline
      New Member
      Non-admins experiencing intermittent blank pages on new posts, replies
      Users (and admins) are occasionally receiving blank pages after adding replies and posting new threads.

      Users (and admins) are occasionally receiving blank pages after adding replies and posting new threads. I'm using vB 3.7.3 and VaultWiki 2.1.3.

      This has happened with Quick Replies, unquoted replies, and quoted replies.
    Issue Details
    Issue Number 333
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Editing / Posting Articles
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 2.1.3
    Fixed Version 2.1.3
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 1
    Users unable to reproduce bug 1
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. December 12, 2008 4:28 PM
      Storyteller Storyteller is offline
      Junior Member
      Same here when posting a reply to a article. Error-message on the white-page: The requested URL /s&do=comments&p=86 was not found on this server.
      But the replies are saved and in reality there.


      Greetings
      Storyteller
      Reply Reply  
    2. December 12, 2008 5:20 PM
      Rand al'Thor Rand al'Thor is offline
      New Member
      I get no error messages at all—just a blank, white screen. View source shows that no html is there at all.

      The messages do save. If I refresh the page at the white screen, I get the "duplicate message" error.
      Reply Reply  
    3. December 12, 2008 11:30 PM
      pegasus pegasus is offline
      VaultWiki Team
      I can vaguely see why this might happen in a wiki thread. If this only occurs when replying to wiki threads, then the following should fix it. Modify the plugin called "New Article - Cache Article" at the hook location newpost_complete.

      Replace all the code with:
      PHP Code:
      global $vault;

      if (
          
      $vault->misc['creating_article'] OR
          (
              
      $type == 'reply' AND
              
      $foruminfo['vault_type'] > 0
          
      )
      )
      {
          
      $userfield = '';

          if (
      $vault->misc['creating_article'])
          {
              
      $userfield = 'post';
          }
          else
          {
              
      $post['threadid'] = $dataman->fetch_field('threadid');
          }

          
      $post['userid'] = $dataman->fetch_field($userfield . 'userid');
          
      special_newpost_complete($post, $type);
      }

      if (
      $type == 'reply' AND empty($GLOBALS['threadinfo']['threadid']))
      {
          
      // we corrupted threadinfo, and this is a real shitty way to fix it
          
      $GLOBALS['threadinfo'] = fetch_threadinfo($dataman->fetch_field('threadid'), false);
      } 
      Reply Reply  
    4. December 14, 2008 8:44 AM
      Rand al'Thor Rand al'Thor is offline
      New Member
      pegasus,

      It occurs when replying to normal threads, oddly enough.

      Rand
      Reply Reply  
    5. December 16, 2008 1:44 PM
      Rand al'Thor Rand al'Thor is offline
      New Member
      pegasus,

      I watched the headers with Tamper Data when posting replies. When it works, I get a 302. When it doesn't, I get a 200.

      Which hooks do you use? Is there a way to log them?

      ETA: Nevermind, I found the hooks.

      I added the new plugin code and am still having issues.

      Thanks,

      Rand
      Reply Reply  
    6. December 16, 2008 7:01 PM
      pegasus pegasus is offline
      VaultWiki Team
      This requires further testing on my part. I am looking into this, but so far I have been completely unable to reproduce it.
      Reply Reply  
    7. December 19, 2008 2:51 PM
      pegasus pegasus is offline
      VaultWiki Team
      Forgot to remove a $ in the above replacement code. Try using the new code, and this problem should go away. Product file in ZIP has been updated to reflect these changes.
      Reply Reply  
    8. January 7, 2009 2:22 PM
      Rand al'Thor Rand al'Thor is offline
      New Member
      pegasus,

      I eliminated the problem by disabling all plugin hooks, but that is no good. Is the replacement code in your 12/12 post up-to-date? I'd like to try this again. (If this fails, I will try re-enabling each hook one-by-one to track down the problem.)

      Apologies for the delayed response. The holidays were long.
      Reply Reply  
    9. January 7, 2009 2:41 PM
      pegasus pegasus is offline
      VaultWiki Team
      The 12/12 code should work.
      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 1:29 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.