• 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
    • Wiki won't show on pages

    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: Wiki won't show on pages

    • Issue Tools
      • View Changes
    1. issueid=4026 October 5, 2014 12:56 AM
      rizwank rizwank is offline
      New Member
      Wiki won't show on pages

      Wiki won't show above any pages...

      and browsing shows this in my log
      Code:
      [Sat Oct 04 21:50:44 2014] [error] [client xxx] PHP Fatal error:  Class 'XenForo_CodeEvent' not found in /var/www/html/forum/vault/core/model/receptor/xf.php on line 23, referer: blah
      [Sat Oct 04 21:51:28 2014] [error] [client 99.229.220.219] PHP Notice:  Undefined variable: controllerName in /var/www/html/forum/library/vw/XenForo/CodeEventListener/Public.php on line 173
      Can you help?
    Issue Details
    Issue Number 4026
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Headers / Wiki Blocks
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.0 RC 3
    Fixed Version 4.0.0 RC 4
    Milestone VaultWiki 4.0 Gold
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. October 5, 2014 1:39 AM
      pegasus pegasus is offline
      VaultWiki Team
      Neither log message relates to an integrated wiki page not showing over, say, a forum thread. I don't know what version you have before you upgraded. It is possible that your old version was before some new settings were added.

      See VaultWiki Admin Panel > Settings > Miscellaneous:
      - Allow Wiki Content Integration
      - Wiki Content Integration Locations

      If these settings are correct, please let me know what other steps you have taken to show wiki content above the forum pages you are testing.

      As for the Fatal Error, it is unfortunately a bit crazy (it claims a core XenForo class does not exist), so you would need to know what you were doing when the error was triggered, the URL that triggered it, and how to reproduce.
      Reply Reply  
    2. October 5, 2014 2:11 AM
      rizwank rizwank is offline
      New Member
      Enabling "Wiki Content Integration Locations" to wiki + forum seems to have fixed visibility.

      Still getting errors though
      Code:
      [Sat Oct 04 23:08:29 2014] [error] [client xxx] PHP Fatal error:  Class 'XenForo_CodeEvent' not found in /var/www/html/forum/vault/core/model/receptor/xf.php on line 23, referer: [url]https://xxx/admin.php?wiki/&panel=settings&group=misc[/url]
      [Sat Oct 04 23:08:45 2014] [error] [client xxx] PHP Fatal error:  Class 'XenForo_CodeEvent' not found in /var/www/html/forum/vault/core/model/receptor/xf.php on line 23, referer: (a page with a wiki attached)
      Reply Reply  
    3. October 5, 2014 2:30 AM
      pegasus pegasus is offline
      VaultWiki Team
      The referer is not the page that shows the error, it is the page that sent the user to the one with the error. I need to now what URL actually shows the error, and what you were doing when it happened.
      Reply Reply  
    4. October 5, 2014 2:40 AM
      rizwank rizwank is offline
      New Member
      Code:
      eEventListener/Public.php on line 173
      [Sat Oct 04 23:34:26 2014] [error] [client xxx] PHP Warning:  Missing argument 3 for vw_XenForo_CodeEventListener_Public::controller_pre_dispatch() in /var/www/html/forum/library/vw/XenForo/CodeEventListener/Public.php on line 171
      [Sat Oct 04 23:34:26 2014] [error] [client xxx] PHP Notice:  Undefined variable: controllerName in /var/www/html/forum/library/vw/XenForo/CodeEventListener/Public.php on line 173
      [Sat Oct 04 23:34:27 2014] [error] [clientxx] PHP Warning:  Missing argument 3 for vw_XenForo_CodeEventListener_Public::controller_pre_dispatch() in /var/www/html/forum/library/vw/XenForo/CodeEventListener/Public.php on line 171
      [Sat Oct 04 23:34:27 2014] [error] [clientxxx] PHP Notice:  Undefined variable: controllerName in /var/www/html/forum/library/vw/XenForo/CodeEventListener/Public.php on line 173
      just saw the above

      the referrer was the url i was browsing at, a thread page.
      Also when i browse to wiki_index/
      Reply Reply  
    5. October 5, 2014 2:44 AM
      pegasus pegasus is offline
      VaultWiki Team
      Rather than your server's log files, please use admin.php?logs/server-error
      Each error on that page will show more information that is needed to solve the problem (the stack trace), when you click on it.

      Please provide the stack trace for each error, and please post errors in CODE tags. It makes them easier to read.
      Reply Reply  
    6. October 5, 2014 2:54 AM
      rizwank rizwank is offline
      New Member
      Only thing there is :

      Code:
      ErrorException: Fatal Error: Class name must be a valid object or a string - library/XenForo/Deferred/Abstract.php:49
      Generated By: Unknown Account, 26 minutes ago
      Stack Trace
      #0 [internal function]: XenForo_Application::handleFatalError()
      #1 {main}
      Request State
      array(3) {
        ["url"] => string(45) "https://xxxx/deferred.php"
        ["_GET"] => array(0) {
        }
        ["_POST"] => array(4) {
          ["_xfRequestUri"] => string(22) "/find-new/320844/posts"
          ["_xfNoRedirect"] => string(1) "1"
          ["_xfToken"] => string(8) "********"
          ["_xfResponseType"] => string(4) "json"
        }
      }
      happening every 30 min.
      Reply Reply  
    7. October 5, 2014 3:03 AM
      pegasus pegasus is offline
      VaultWiki Team
      If you would like, I can look into the issue for you. It seems that there is a conflict with another mod that overrides a XenForo function with a different callback signature. Another user reported the same errors a while back but refused to believe me, even though XenForo devs confirmed it themselves. Due to a lack of information from the user, we were not able to resolve the issue at that time.

      Please submit a Ticket Support service via the Members tab and I will do my best to get this resolved during the day tomorrow.
      Reply Reply  
    8. October 9, 2014 5:22 PM
      pegasus pegasus is offline
      VaultWiki Team
      Okay, I was able to determine that the Fatal Error occurs in the following cases (always in the URL /yui_loader.php):
      • Rewrite rules point /yui_combo to yui_loader.php, rather than using the route handler provided by RC 3, OR
      • The Wiki URL Format is left as the first choice (default)

      This Fatal Error is new to RC 3 because it provides plugin access via XenForo_CodeEvent to all VaultWiki classes. In yui_loader.php, however, the XenForo code environment is never loaded. This is fixed in the current ZIP by modifying vault/core/model/receptor/xf.php. Find:
      Code:
      XenForo_CodeEvent::fire($this->receptor, $this->stimuli);
      Replace with:
      Code:
      		if (class_exists('XenForo_CodeEvent', false))
      		{
      			XenForo_CodeEvent::fire($this->receptor, $this->stimuli);
      		}
      Reply Reply  
    9. October 9, 2014 5:52 PM
      pegasus pegasus is offline
      VaultWiki Team
      Marking this as Fixed, since the Fatal Error from the OP has been fixed.

      However, if you still see this error:
      Code:
      [Sat Oct 04 23:34:26 2014] [error] [client xxx] PHP Warning:  Missing argument 3 for vw_XenForo_CodeEventListener_Public::controller_pre_dispatch() in /var/www/html/forum/library/vw/XenForo/CodeEventListener/Public.php on line 171
      [Sat Oct 04 23:34:26 2014] [error] [client xxx] PHP Notice:  Undefined variable: controllerName in /var/www/html/forum/library/vw/XenForo/CodeEventListener/Public.php on line 173
      [Sat Oct 04 23:34:27 2014] [error] [clientxx] PHP Warning:  Missing argument 3 for vw_XenForo_CodeEventListener_Public::controller_pre_dispatch() in /var/www/html/forum/library/vw/XenForo/CodeEventListener/Public.php on line 171
      [Sat Oct 04 23:34:27 2014] [error] [clientxxx] PHP Notice:  Undefined variable: controllerName in /var/www/html/forum/library/vw/XenForo/CodeEventListener/Public.php on line 173
      Please submit a support ticket via the Members area and continue the discussion in this other report (https://www.vaultwiki.org/issues/3618/), which is already dedicated to that error. According to the makers of XenForo itself, it is impossible to get that error message using only VaultWiki and XenForo combined. So there is another modification that is firing event 'controller_pre_dispatch' in a way that XenForo does not intend. If we can track down the modification, we can suggest that its author fix their use of the event. As it is now, whatever mod is doing that can break all other modifications (including VaultWiki) that have subscribed to the event 'controller_pre_dispatch'.
      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 9:10 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.