• 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
    • Internal 500 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: Internal 500 error

    • Issue Tools
      • View Changes
    1. issueid=938 November 2, 2009 9:56 AM
      Hostboard Hostboard is offline
      Junior Member
      Internal 500 error

      Hope I can explain this one...

      Created forum in ACP
      Went to NameSpace and assigned the book wiki.
      Now if I go back and attemp tto edit the forum directly like "Show wiki headers in this forum?" it throws an error.
    Issue Details
    Issue Number 938
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Admin Panel
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 2.5.6
    Fixed Version 2.5.7
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. November 2, 2009 12:19 PM
      pegasus pegasus is offline
      VaultWiki Team
      I'm unable to reproduce this, so this is going to be a shot in the dark. In vault/special_plugins_admin.php, find:
      Code:
      	if (
      		$newparent != ISLAND_SPACE AND
      		isset($vault->namespacecache["$newparent"]['displayorder']) AND
      		$vault->namespacecache["$newparent"]['displayorder'] != $data->fetch_field('displayorder')
      	)
      Replace with:
      Code:
      	if (
      		$newparent != ISLAND_SPACE AND
      		isset($vault->namespacecache["$newparent"]['displayorder']) AND
      		$vault->namespacecache["$newparent"]['forumid'] == $data->fetch_field('forumid') AND
      		$vault->namespacecache["$newparent"]['displayorder'] != $data->fetch_field('displayorder')
      	)
      If this doesn't work, posting your .htaccess may help identify the problem.

      Additionally, your server's error logs may be more verbose about what causes the 500 error (e.g. maximum number of redirects, problems with headers, etc).
      Reply Reply  
    2. This petition for a change to Awaiting Feedback was accepted
      November 2, 2009 4:58 PM
      Hostboard Hostboard is offline
      Junior Member
      No .htaccess running IIS7 server.

      Will try the file change...
       
    3. November 3, 2009 10:55 AM
      pegasus pegasus is offline
      VaultWiki Team
      As mentioned above, if you continue to throw the 500 error, check your error logs immediately for a description of what caused the error.
      Reply Reply  
    4. November 7, 2009 3:07 PM
      pegasus pegasus is offline
      VaultWiki Team
      Were you ever able to reproduce this and check your error logs? Please let me know because we're coming up to another maintenance release in a few days and I'm sure we'd both rather the fix be included.
      Reply Reply  
    5. November 10, 2009 10:42 AM
      Hostboard Hostboard is offline
      Junior Member
      Sorry, between the race truck and literly building a new house I have not put much time in to my sites. This still is an issue though I will have to go back and revisit it as I do not remember what it was that caused it. Hopefully I can give you more info latter on tonight.

      Thanx
      Reply Reply  
    6. This petition for a change to Confirmed was rejected
      November 10, 2009 8:14 PM
      Hostboard Hostboard is offline
      Junior Member
      Ok, this only happens when Wiki is selected. If I select disable then it saves properly. if I go back it throws a error message that I have to do this thru namespace.

      Hope that helps...
       
    7. November 10, 2009 9:12 PM
      Hostboard Hostboard is offline
      Junior Member
      From what I can tell the error is due to a resource not being found when setting wiki via the forum manager.
      Reply Reply  
    8. November 10, 2009 11:56 PM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/special_plugins_data.php, find:
      Code:
      			$vbulletin->db->query_write("
      				DELETE FROM " . TABLE_PREFIX . "vault_list
      				WHERE threadid IN (" . implode(',', $set) . ")
      			");
      Replace with:
      Code:
      			$vbulletin->db->query_write("
      				DELETE FROM " . TABLE_PREFIX . "vault_list
      				WHERE threadid IN (" . implode(',', $queries['delete']) . ")
      			");
      In vault/special_plugins_admin.php, find:
      Code:
      	while ($list = $db->fetch_array($listgenq))
      Add above:
      Code:
      	if ($total > 0)
      	{
      		require_once(DIR . '/vault/special_plugins_inlinemod.php');
      	}
      Reply Reply  
    9. November 11, 2009 7:53 AM
      Hostboard Hostboard is offline
      Junior Member
      The code in special_plugins_data.php already exists.

      I added the code in special_plugins_admin.php and now the error no longer appears.

      Thank you
      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 12:55 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.