• 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
    • Fresh Install: Missing File Breaks AdminCP

    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: Fresh Install: Missing File Breaks AdminCP

    • Issue Tools
      • View Changes
    1. issueid=1057 January 28, 2010 7:29 AM
      freexav freexav is offline
      New Member
      Fresh Install: Missing File Breaks AdminCP
      A file was missing from the ZIP. This is now fixed.

      Hi there,

      I'm very embarassed... Once the installation has finished (VaultWiki 3.0), and that I come back to my vBulletin 4.0.1 AdminCP, i can't see the left column and instead, it's written :

      Code:
      Warning: require_once([path]/vault/special_plugins_admin.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/adminfunctions.php(2140) : eval()'d code on line 29
      
      Fatal error: require_once() [function.require]: Failed opening required '/home/ssynbi5/public_html/community/vault/special_plugins_admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ssynbi5/public_html/community/includes/adminfunctions.php(2140) : eval()'d code on line 29
      => in the package that I've downloaded, the beta version 3.0.0 (3), there is no special_pluginsadmin.php files in the vault folder... is this the problem?

      When I try to go on my vBulletin forum mainpage, it says :
      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.

      I really don't know what to do.... as I can't have access to any functions of the AdminCP....

      Could-you please help me with this issue as soon as possible?? I really need this forum to work!

      Best
    Issue Details
    Issue Number 1057
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Install / Upgrade
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 3.0.0 Beta 3
    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)


    Page 1 of 2 12 Next LastLast


    1. January 28, 2010 11:35 AM
      freexav freexav is offline
      New Member
      After I've deleted all Vault files and reuploaded them, the AdminCP was working again and the wiki was marqued as installed in the Product manager.

      HOWEVER, when Wiki was enabled, my whole website could not be reached anymore... a blank page appeared when I tried to access the forum

      So 5 tried to uninstall the Wiki from the product manager, but I got a database error...
      Code:
      Invalid SQL:
      
      	SELECT *
      	FROM vault_upgradelog;
      
      MySQL Error   : Table 'ssynbi5_vbulletin.vault_upgradelog' doesn't exist
      Error Number  : 1146
      Moreover, I can not install any other plugins... this error appears :
      Code:
      Fatal error: Call to a member function hide_errors() on a non-object in /home/ssynbi5/public_html/community/includes/adminfunctions_plugin.php(450) : eval()'d code on line 2
      Man, please help me on this.... I'm getting really really stressed as we are planing to launch the website on saturday.........

      Thank you in advance for your help
      Reply Reply  
    2. January 28, 2010 11:53 AM
      pegasus pegasus is offline
      VaultWiki Team
      You can regain access to your AdminCP by performing the following:
      1. In your includes/config.php, add the following line before the end:
        Code:
        define('DISABLE_HOOKS', true);
      2. Reload the left panel and go to Plugins & Products > Plugin Manager > ModCP - Can Administer Domains. Edit and find:
        Code:
        special_plugins_admin.php
        Replace with:
        Code:
        special_admin.php
      3. Remove the line you added to includes/config.php.
      Reply Reply  
    3. January 28, 2010 12:05 PM
      freexav freexav is offline
      New Member
      h
      Reply Reply  
    4. January 28, 2010 12:07 PM
      pegasus pegasus is offline
      VaultWiki Team
      Not sure why you weren't showing up as licensed before. I made some changes to your account. Let me know if you still have problems reading it.
      Reply Reply  
    5. January 28, 2010 12:15 PM
      freexav freexav is offline
      New Member
      Thanks for you answer.

      I've done what you said.
      However, I still can not install anyother plugin neither desinstall CES... and, i got a blank page when i try to access my forum homepage...
      Reply Reply  
    6. January 28, 2010 12:23 PM
      freexav freexav is offline
      New Member
      a thing that might help you...
      when i try to install a new product, i get this fatal error :
      Code:
      Fatal error: Call to a member function hide_errors() on a non-object in /home/ssynbi5/public_html/community/includes/adminfunctions_plugin.php(450) : eval()'d code on line 2
      Reply Reply  
    7. January 28, 2010 12:24 PM
      pegasus pegasus is offline
      VaultWiki Team
      VaultWiki is not preventing you from installing other plugins. The line you quoted suggests that the install-code for the plugin is scoped for vBulletin <= 4.0.0 and I believe the scope changed in 4.0.1.

      As for uninstalling VaultWiki, it sounds like it failed a previous uninstall. In vault/tools/uninstall.php, find:
      Code:
      $vwexist = $db->query_read("
      	SELECT *
      	FROM " . TABLE_PREFIX . "vault_upgradelog
      ");
      
      while ($vw = $db->fetch_array($vwexist))
      {
      	$existing['version'][$vw['upgradetype']] = $vw['version'];
      }
      $db->free_result($vwexist);
      
      if (VAULT_40X_COMPAT)
      {
      	require_once(DIR . '/includes/adminfunctions_template.php');
      	$v4x300b1 = is_newer_version($existing['version']['4X'], '0.0.0');
      }
      
      vw_drop_table("vault_domain");
      vw_drop_table("vault_revision");
      vw_drop_table("vault_article");
      vw_drop_table("vault_book");
      vw_drop_table("vault_extension");
      vw_drop_table("vault_link");
      vw_drop_table("vault_namespace");
      vw_drop_table("vault_protect");
      vw_drop_table("vault_forummap");
      vw_drop_table("vault_list");
      vw_drop_table("vault_category");
      vw_drop_table("vault_upgradelog");
      
      vw_alter_table('usergroup', "
      	DROP specialpage_permissions,
      	DROP vault_permissions
      ");
      
      vw_alter_table('language', "
      	DROP phrasegroup_vaultarticles,
      	DROP phrasegroup_specialpages,
      	DROP phrasegroup_vaultadmin,
      	DROP phrasegroup_vaultstyle,
      	DROP phrasegroup_vaultbbcode,
      	DROP phrasegroup_vaultprotect,
      	DROP phrasegroup_vaultnamespace,
      	DROP phrasegroup_vaultdomain,
      	DROP phrasegroup_vaultfaq,
      	DROP phrasegroup_vaulturl
      ");
      
      if (!$v4x300b1)
      {
      	$threaddrops = ", DROP vault_description";
      }
      Replace with:
      Code:
      $v4x300b1 = true;
      Then try to uninstall/reinstall again. If you want to uninstall later, please download the ZIP again and replace the file that I just asked you to modify.
      Reply Reply  
    8. January 28, 2010 12:27 PM
      freexav freexav is offline
      New Member
      ... even after having changed the uninstall file, i got the same databse error :
      Code:
      Invalid SQL:
      
      	SELECT *
      	FROM vault_upgradelog;
      
      MySQL Error   : Table 'ssynbi5_vbulletin.vault_upgradelog' doesn't exist
      Error Number  : 1146
      Reply Reply  
    9. January 28, 2010 12:31 PM
      pegasus pegasus is offline
      VaultWiki Team
      Please note that after my original post, I changed it slightly to include more lines, and to become a replace. Please review because I'm pretty sure this would restore your database.
      Reply Reply  
    10. January 28, 2010 12:36 PM
      freexav freexav is offline
      New Member
      ... new databse error :
      Code:
      Invalid SQL:
      
      	SELECT bbcodetag
      	FROM vault_namespace;
      
      MySQL Error   : Table 'ssynbi5_vbulletin.vault_namespace' doesn't exist
      Error Number  : 1146
      ...headache!
      Reply Reply  
    11. January 28, 2010 12:38 PM
      pegasus pegasus is offline
      VaultWiki Team
      Okay, now remove:
      Code:
      vw_alter_table('thread', "
      	DROP INDEX firstpostid
      	$threaddrops
      ");
      
      vw_alter_table('forumpermission', "
      	DROP vault_permissions
      ");
      
      vw_alter_table('poll', "
      	DROP position
      ");
      
      if (!$v4x300b1)
      {
      	vw_alter_table('style', "
      		DROP wiki_css
      	");
      }
      
      vw_alter_table('forum', "
      	DROP vault_type,
      	DROP vault_options,
      	DROP vault_lastthread,
      	DROP vault_lastedit
      ");
      
      vw_alter_table('bbcode', "
      	DROP wikioptions
      ");
      
      vw_alter_table('session', "
      	DROP inwiki
      ");
      
      vw_alter_table('user', "
      	DROP vault_edits
      ");
      
      $bbcodes = array(
      	'redirect',
      	'autolink',
      	'comment',
      	'h',
      	'footnote',
      	'reflist',
      	'toc',
      	'table',
      	'hr'
      );
      
      // don't use cache, maybe never built
      $namespaces = $db->query_read("
      	SELECT bbcodetag
      	FROM " . TABLE_PREFIX . "vault_namespace
      ");
      
      while ($nsinfo = $db->fetch_array($namespaces))
      {
      	$bbcodes[] = $nsinfo['bbcodetag'];
      }
      $db->free_result($namespaces);
      unset($nsinfo);
      
      vw_delete_from('bbcode', "bbcodetag IN ('" . implode("', '", $bbcodes) . "')");
      Reply Reply  
    12. January 28, 2010 12:47 PM
      freexav freexav is offline
      New Member
      yiiipaaaa!!
      done!

      it worked pegasus!

      thanks so much!

      Before i'll try to reinstall the Vaultwiki, do you have any advice?

      Which version works best for vBullettin 4.0.1...?

      best regards and thank you sooo much!
      Reply Reply  
    13. January 28, 2010 12:54 PM
      freexav freexav is offline
      New Member
      i think your members section is not working right now... just to let you know
      Reply Reply  
    14. January 28, 2010 12:58 PM
      freexav freexav is offline
      New Member
      should I change any hooks settings before I try to reinstall Vaultwiki?
      Reply Reply  
    15. January 28, 2010 1:01 PM
      pegasus pegasus is offline
      VaultWiki Team
      Good to hear it's working. Yes make sure you download a fresh copy before attempting a reinstall, this way you avoid your original issue again. Sorry for the inconvenience -

      You should be able to access the Members Area now, I know the mechanism that automatically "shows users as licensed" was being updated and it may have affected access for a few minutes.
      Reply Reply  
    Page 1 of 2 12 Next LastLast
    + 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 5:43 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.