• 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
    • Many Special Pages Are Blank

    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: Many Special Pages Are Blank

    • Issue Tools
      • View Changes
    1. issueid=1590 May 22, 2010 1:27 AM
      Jella Jella is offline
      Regular Member
      Many Special Pages Are Blank

      Island Special page error http://tvlampforum.com/showwiki.php?...al:Islandpages
      Code:
      Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/tvlamp/public_html/vault/factory/special/islandpages.php on line 45
      ShortPages
      Code:
      Fatal error: Call to undefined method vB_SpecialFactory::filter_namespace_by_permission() in /home/tvlamp/public_html/vault/factory/special/lengthpages.php on line 62
      UncategorizedCategories
      Code:
      Fatal error: Call to a member function filter_namespace_by_permission() on a non-object in /home/tvlamp/public_html/vault/factory/special/uncategorized.php on line 83
      Many pages are showing these errors
    Issue Details
    Issue Number 1590
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Special Pages
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 3.0.0 RC 3
    Fixed Version 3.0.0
    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)




    1. May 22, 2010 1:27 AM
      pegasus pegasus is offline
      VaultWiki Team
      These errors are fixed for the next build. You can fix these yourself if you need the special pages that are broken by editing the file the error message mentions.

      For T_CONSTANT_ENCAPSED_STRING errors, find:
      Code:
      TYPE_STR'
      Replace with:
      Code:
      TYPE_STR
      For undefined filter_namespace_by_permission errors, find:
      Code:
      $parser->filter_namespace
      Replace with:
      Code:
      $pager->filter_namespace
      For filter_namespace_by_permission on non-object errors, find:
      Code:
      $pager->filter_namespace
      Add before:
      Code:
      require_once(DIR . '/vault/class/pager.php');
      $pager = new vB_WikiPager($vbulletin);
      Reply Reply  
    2. May 22, 2010 10:44 AM
      Jella Jella is offline
      Regular Member
      You mean in the templates?
      Reply Reply  
    3. May 22, 2010 1:15 PM
      pegasus pegasus is offline
      VaultWiki Team
      No, every time you see an error, it gives you a filename. For each file it tells you, you want to make an edit. You'll notice that in your first post, the 3 errors you reported are different from each other. My post above has 3 different edits, one for each kind of error you reported.
      Reply Reply  
    4. May 22, 2010 2:29 PM
      Jella Jella is offline
      Regular Member
      Not to sound stupid then do you mean in a php file? edit: I see now, will report back.
      Reply Reply  
    5. May 22, 2010 2:40 PM
      pegasus pegasus is offline
      VaultWiki Team
      Yes, for example, part of one of your errors is:
      Code:
      in /home/tvlamp/public_html/vault/factory/special/islandpages.php on line 45
      That gives you the file and roughly the line number where the replacement needs to occur (sometimes it's a few lines before).
      Reply Reply  
    6. May 22, 2010 4:00 PM
      Jella Jella is offline
      Regular Member
      ok those edits went very well... here are the remaining issues

      http://tvlampforum.com/showwiki.php?...al:Wantedpages
      Code:
      Fatal error: Call to undefined method vB_SpecialFactory::fallback_namespaceid() in /home/tvlamp/public_html/vault/factory/special/wantedpages.php on line 76
      http://tvlampforum.com/showwiki.php?...ecial:Allpages
      Code:
      Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/tvlamp/public_html/vault/factory/special/allpages.php on line 37
      http://tvlampforum.com/showwiki.php?...cial:Imagelist
      Code:
      Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/tvlamp/public_html/vault/factory/special/imagelist.php on line 49
      http://tvlampforum.com/showwiki.php?...al:Islandpages
      Code:
      Fatal error: Call to undefined method vB_SpecialFactory::filter_namespace_by_permission() in /home/tvlamp/public_html/vault/factory/special/islandpages.php on line 30
      http://tvlampforum.com/showwiki.php?...Randomredirect
      No Permissions page?
      Reply Reply  
    7. May 22, 2010 4:34 PM
      pegasus pegasus is offline
      VaultWiki Team
      For fallback_namespaceid errors, find:
      Code:
      $parser->fallback
      Replace with:
      Code:
      $pager->fallback
      I mentioned the fixes for the other errors in my post above.
      Randomredirect will give a no permission page if there are no redirects.
      Reply Reply  
    8. May 22, 2010 6:36 PM
      Jella Jella is offline
      Regular Member
      I think I've got it, thank you
      Reply Reply  
    9. June 9, 2010 10:20 AM
      Jella Jella is offline
      Regular Member
      Has this been corrected yet so I can download the fix... avoiding all the editing I will have to do on FT?
      Reply Reply  
    10. June 9, 2010 2:49 PM
      pegasus pegasus is offline
      VaultWiki Team
      These are all corrected in 3.0.0.
      Reply Reply  
    11. June 13, 2010 8:47 AM
      Jella Jella is offline
      Regular Member
      I upgraded the Lamp wiki to gold and all went very well except for when you update the 'post cache' via maintenance and get this error, I know we fixed this before (must have been an oversight on the Gold version) but I've tried searching here for that fix and can't find it.
      Code:
      Database error in vBulletin 3.8.4:
      
      Invalid SQL:
      
      			SELECT postid, post.threadid, forumid, vault_options
      				, prefixid
      			FROM post AS post, thread AS thread
      			WHERE post.threadid = thread.threadid AND
      				postid >= 3 AND
      				thread.lastpost >= 1275828295
      			ORDER BY postid
      			LIMIT 1000;
      
      MySQL Error   : Unknown column 'vault_options' in 'field list'
      Error Number  : 1054
      Request Date  : Sunday, June 13th 2010 @ 08:44:55 AM
      Error Date    : Sunday, June 13th 2010 @ 08:44:56 AM
      Script        : http://tvlampforum.com/admincp/misc.php?do=buildpostcache
      Referrer      : http://tvlampforum.com/admincp/misc.php?do=chooser
      IP Address    : 98.229.177.31
      Username      : admin
      Classname     : vB_Database
      MySQL Version : 5.0.90-community
      Reply Reply  
    12. June 13, 2010 1:42 PM
      pegasus pegasus is offline
      VaultWiki Team
      Solved here: http://www.vaultwiki.org/issues/1684/
      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 11:07 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.