• 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
    • Configuration Error after Upgrade

    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: Configuration Error after Upgrade

    • Issue Tools
      • View Changes
    1. issueid=2976 March 18, 2013 8:41 PM
      pegasus pegasus is offline
      VaultWiki Team
      Configuration Error after Upgrade

      After upgrading, you can get the following if you still try to access VaultWiki via showwiki.php:
      Code:
      Configuration error: wiki_index.php was called by another PHP script.<br />This can cause an infinite loop if the calling script is the same as the DEFAULT_SCRIPT.
      Since showwiki.php is a valid alias for wiki_index.php because of upgrades, this is a bug.

      Fixed in the current build. If you believe you experience this issue, in wiki_index.php, find:
      Code:
      if (basename(array_shift($inc)) != 'wiki_index.php')
      Replace with:
      Code:
      define('VW_REQUESTED_SCRIPT', basename(array_shift($inc)));
      
      if (VW_REQUESTED_SCRIPT != 'wiki_index.php' AND VW_REQUESTED_SCRIPT != 'showwiki.php')
    Issue Details
    Issue Number 2976
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Page Output
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.0 Alpha 1 Depot
    Fixed Version 4.0.0 Alpha 2
    Milestone VaultWiki 4 Alpha X
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. March 23, 2013 6:38 PM
      delicateglow delicateglow is offline
      Junior Member
      So I get this error still. And because I'm currently using the current build, this method does not fix it.
      Reply Reply  
    2. March 23, 2013 11:09 PM
      pegasus pegasus is offline
      VaultWiki Team
      Are you using vBSEO? If so, you must update your .htaccess to exclude wiki_index.php from being rewritten to vbseo.php
      Reply Reply  
    3. March 23, 2013 11:45 PM
      delicateglow delicateglow is offline
      Junior Member
      I am not quite sure how to configure it. I am following this:
      https://www.vaultwiki.org/manual/vau...-configuration
      But I don't know.
      This is how my htaccess file looks:
      Code:
      # Comment the following line (add '#' at the beginning)
      # to disable mod_rewrite functions.
      # Please note: you still need to disable the hack in
      # the vBSEO control panel to stop url rewrites.
      RewriteEngine On
      
      # Some servers require the Rewritebase directive to be
      # enabled (remove '#' at the beginning to activate)
      # Please note: when enabled, you must include the path
      # to your root vB folder (i.e. RewriteBase /forums/)
      RewriteBase /
      
      # If filename is not 'wiki_index', replace WIKI_FILE and uncomment the following line
      # RewriteRule ^wiki.php wiki_index.php [L,QSA]
      
      # If URL format is /wiki/path or replaces a catch-all rule, uncomment the following 3 lines
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule ^(.*)?$ wiki_index.php [L,QSA]
      
      #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
      #RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
      
      RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
      
      RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php)
      RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
      
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
      RewriteRule ^(.+)$ vbseo.php [L,QSA]
      Reply Reply  
    4. March 24, 2013 12:47 AM
      pegasus pegasus is offline
      VaultWiki Team
      Since you use vBSEO, get rid of the standard wiki rules.
      Wherever you see the words 'vbseo.php' replace it with 'wiki_index.php'

      Also in vault/config.php, set DEFAULT_SCRIPT to 'vbseo.php'

      That should be enough.
      Reply Reply  
    5. March 24, 2013 1:29 AM
      delicateglow delicateglow is offline
      Junior Member
      Okay, however, the manual stated to add
      Code:
      RewriteEngine On
      RewriteBase /
      
      # If filename is not 'wiki_index', replace WIKI_FILE and uncomment the following line
      # RewriteRule ^WIKI_FILE.php wiki_index.php [L,QSA]
      
      # If URL format is /wiki/path or replaces a catch-all rule, uncomment the following 3 lines
      # RewriteCond %{REQUEST_FILENAME} !-f
      # RewriteCond %{REQUEST_FILENAME} !-d
      # RewriteRule ^(.*)?$ wiki_index.php [L,QSA]
      And considering you said to replace wiki_index.php with vbseo.php, there's no need to have the second half, because vbseo already provided
      Code:
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule ^(.*)?$ wiki_index.php [L,QSA]
      Thus making the second half redundant, correct?

      Additionally, I did set DEFAULT_SCRIPT to vbseo.php.
      Still no luck
      Reply Reply  
    6. March 24, 2013 2:24 AM
      Replicators Replicators is offline
      Junior Member
      Yeah, i get the same problem here, should of looked here before making my own support thread.

      EDIT: Ok, i uncommented every line which mentioned vbseo.php and it worked.
      Reply Reply  
    7. March 24, 2013 11:54 AM
      pegasus pegasus is offline
      VaultWiki Team
      After reviewing your forum configuration and making some minor changes, I updated the aforementioned manual page, so it should be okay now.
      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:45 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 © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.