• 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
    • Issue after installation of vaultwiki (function hooks)

    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: Issue after installation of vaultwiki (function hooks)

    • Issue Tools
      • View Changes
    1. issueid=1667 June 10, 2010 8:05 PM
      lordsilence lordsilence is offline
      Junior Member
      Issue after installation of vaultwiki (function hooks)

      Hello

      I'm getting an issue with the latest vaultwiki running on vbulletin 3.8.4 pl 2 .
      Code:
      Fatal error: Call to undefined method vB_CES_Vault::fetch_namespaceid() in /somepath/forums/includes/functions_editor.php(154) : eval()'d code on line 3
      I've setup the default namespace, but anytime I click a thread anywhere on forums I get this above error and php execution stops.
      Any ideas? I'm a paying customer too so would love some support

      Also, external RSS feed is giving me this SQL error:
      Code:
      Database error in vBulletin 3.8.4:
      
      Invalid SQL:
      
      	SELECT thread.threadid, thread.title, thread.prefixid, post.attach,
      		thread.postusername, thread.dateline, podcastitem.*,
      		forum.forumid,
      		post.pagetext AS message, post.allowsmilie, post.postid
      		
      	FROM thread AS thread
      	INNER JOIN forum AS forum ON(forum.forumid = thread.forumid)
      	LEFT JOIN post AS post ON (post.postid = thread.firstpostid)
      			LEFT JOIN podcastitem AS podcastitem ON (podcastitem.postid = thread.firstpostid)
      	, vopt.options AS vault_options
      	WHERE 1=1
      		AND thread.forumid IN(3)
      		AND thread.visible = 1
      		AND post.visible = 1
      		AND open <> 10
      		AND thread.dateline > 1274918266
      		
      		
      	LEFT JOIN vault_options AS vopt ON (vopt.contentid = post.postid AND vopt.contenttypeid = 1)
      	ORDER BY thread.dateline DESC
      	LIMIT 30;
      
      MySQL Error   : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LEFT JOIN vault_options AS vopt ON (vopt.contentid = post.postid AND vopt.conten' at line 19
      Error Number  : 1064
      Request Date  : Friday, June 11th 2010 @ 01:57:46 AM
      Error Date    : Friday, June 11th 2010 @ 01:57:47 AM
      Script        : http://domainanonymized/forums/external.php?type=RSS2&forumids=3
      Referrer      : 
      IP Address    : 79.136.48.204
      Username      : Unregistered
      Classname     : vB_Database
      MySQL Version :
    Issue Details
    Issue Number 1667
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category RSS Feeds
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 3.0.0
    Fixed Version 3.0.0
    Milestone VaultWiki 3.0.5
    Software DependencyvBulletin 3.8
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. June 10, 2010 8:32 PM
      lordsilence lordsilence is offline
      Junior Member
      Thanks for picking this up as a bug. Let me know if I can assist with anything for debugging (can be reached through MSN, ICQ etc).
      Reply Reply  
    2. June 10, 2010 8:34 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the current ZIP. In AdminCP > Plugins & Products > Plugin Manager, find VaultWiki plugin at editor_wysiwyg_compatible and click Edit. Find:
      Code:
      	$GLOBALS['vault']->fetch_namespaceid($GLOBALS['foruminfo']['forumid']) == TEMPLATE_SPACE
      Replace with:
      Code:
      	$GLOBALS['vault']->fetch_instance('field') AND
      	$GLOBALS['vault']->field->fetch_namespaceid($GLOBALS['foruminfo']['forumid']) == TEMPLATE_SPACE
      Save. Find VaultWiki plugin at external_query and click Edit. Find:
      Code:
      	special_external_query($hook_query_joins, $hook_query_where);
      Replace with:
      Code:
      	special_external_query($hook_query_fields, $hook_query_joins, $hook_query_where);
      Reply Reply  
    3. June 10, 2010 8:41 PM
      lordsilence lordsilence is offline
      Junior Member
      Seems to have solved the issue. I'll report back if I find anything else.
      Thank you
      Reply Reply  
    4. This petition for a change to Confirmed was rejected
      June 11, 2010 7:07 AM
      iphoneclub iphoneclub is offline
      Junior Member
      I seem to have this exact error, even though the mentioned plugins are already at latest code as outlined in this discussion and my earlier problem was fixed.
      Unfortunately I didn't notice this myself, so I left my forum unusable for over 6 hours, leading to an exploded error.log :-(
      I have once again disabled the forum and hope this is going to be fixed asap.

      Code:
      [Fri Jun 11 12:47:54 2010] [error] [client -removed] PHP Fatal error: Call to undefined method vB_CES_Vault::fetch_namespaceid() in -removed/forum/global.php(1084) : eval()'d code on line 45 
      [Fri Jun 11 12:47:55 2010] [error] [client -removed] PHP Fatal error: Call to undefined method vB_CES_Vault::fetch_namespaceid() in -removed/forum/includes/functions_editor.php(154) : eval()'d code on line 4 
      [Fri Jun 11 12:47:56 2010] [error] [client -removed] PHP Fatal error: Call to undefined method vB_CES_Vault::fetch_namespaceid() in -removed/forum/global.php(1084) : eval()'d code on line 45, referer: http://www.iphoneclub.nl/forum/f47/archief/f48/archief-iphoneclub/26905-simcontacten-exporteren-naar-sim.html 
      [Fri Jun 11 12:47:56 2010] [error] [client -removed] PHP Fatal error: Call to undefined method vB_CES_Vault::fetch_namespaceid() in -removed/forum/global.php(1084) : eval()'d code on line 45, referer: http://www.iphoneclub.nl/forum/
       
    5. June 11, 2010 7:55 AM
      iphoneclub iphoneclub is offline
      Junior Member
      For now I've set VaultWiki as inactive and completely disabled the product to get at least the forum up and running again. Not too happy about the upgrade to 3.0 Final (and that's putting it mildly ...). I know you work very hard and I appreciate the prompt responses, but these fatal errors should never have made it in a gold version.
      Reply Reply  
    6. June 11, 2010 9:27 AM
      pegasus pegasus is offline
      VaultWiki Team
      This newest one is not a VaultWiki problem... That code is not executed at that location by VaultWiki. If you are using any modifications to VaultWiki, you need to upgrade them or disable them because they are not compatible anymore. This was mentioned in the announcement about 3.0.0 Gold.
      Reply Reply  
    7. June 11, 2010 10:00 AM
      iphoneclub iphoneclub is offline
      Junior Member
      Well, I'm not aware of any modifications to VaultWiki running on our forum. We had VaultWiki installed personally by you as an upgrade from nuWiki and I believe we started with VaultWiki 3.0 RC1. The only additional VaultWiki product I have installed is the vbSEO Sitemap integration and I already upgraded that one to 1.0.4.
      Reply Reply  
    8. June 11, 2010 10:10 AM
      pegasus pegasus is offline
      VaultWiki Team
      If you already upgraded that to 1.0.4 then there should no longer be a problem.
      Reply Reply  
    9. June 11, 2010 10:24 AM
      iphoneclub iphoneclub is offline
      Junior Member
      I enabled VaultWiki again and left the sitemap integration disabled, but I'm still seeing this error in my error.log after opening any thread:
      Code:
      [Fri Jun 11 16:19:04 2010] [error] [client -removed] PHP Fatal error: Call to undefined method vB_CES_Vault::fetch_namespaceid() in -removed/forum/includes/functions_editor.php(154) : eval()'d code on line 4, referer: http://www.iphoneclub.nl/forum/
      I rechecked the above plugin changes and they're absolutely the same.

      This is the plugin code for Edit Post - Disable WYSIWYG in Templates
      Code:
      if (
      	$choice == 2 AND
      	$GLOBALS['vault']->fetch_instance('field') AND
      	$GLOBALS['vault']->fetch_namespaceid($GLOBALS['foruminfo']['forumid']) == TEMPLATE_SPACE
      )
      {
      	$choice = 1;
      }
      And this is the plugin code for Feed - Remove Private Pages
      Code:
      if ($vbulletin->options['vault_enabled'])
      {
      	require_once(DIR . '/vault/plugins/external.php');
      	special_external_query($hook_query_fields, $hook_query_joins, $hook_query_where);
      }
      Reply Reply  
    10. June 11, 2010 10:56 AM
      pegasus pegasus is offline
      VaultWiki Team
      It's slightly different.
      Code:
      $GLOBALS['vault']->fetch_namespaceid
      Should be:
      Code:
      $GLOBALS['vault']->field->fetch_namespaceid
      Reply Reply  
    11. June 11, 2010 11:20 AM
      iphoneclub iphoneclub is offline
      Junior Member
      Damn, I don't know what to say. I should have copy/pasted instead of just trying to fix this by comparing the code visually. I completely overlooked the extra field parameter
      Terribly sorry about this, Pegasus. Forum and wiki are in perfect order again.
      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:20 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.