• 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 with Gallery Tags

    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 with Gallery Tags

    • Issue Tools
      • View Changes
    1. issueid=2335 June 10, 2011 6:09 PM
      palmpedia palmpedia is offline
      Junior Member
      Issue with Gallery Tags
      I think

      After a recent MediaWiki import using an updated script from Pegasus that I believe was supposed to handle the <gallery> tag, it appears as if any of my pages that have a gallery throw this error:
      Code:
      Fatal error: Call to a member function fetch_instance() on a non-object in /home/ptest/public_html/test-forum/vault/functions/bbcode/image.php on line 402
      Here is the syntax used on the wiki:
      Code:
      <center><gallery caption="IMAGE GALLERY" perrow="3" widths="200px" heights="200px">
      Image:Biz nob sc.jpg|Hawaii with Jeff Brusseau for scale
      Image:Bizzy crn.jpg|Kona, Hawaii
      Image:Bizzy lf.jpg|Kona, Hawaii
      Image:BISMARCKIA SBG.jpg|50 ft. Green Form, Singapore
      Image:Bsmackias zoo.jpg|Paneawa Zoo - Hilo, Hawaii
      Image:Bizzy tall grn.jpg|Tall green form - Kona, Hawaii
      Image:BISMARCKIA SILVER NN 1.jpg|Super Silver, Nong Nooch
      Image:Bismarckia female unripe seed Wood.jpg|Seed, California
      Image:Bismarckia green Hotel on River Kwai.jpg|Green Form, Thailand
      Image:Bismarckia Leu Gardens.jpg|Nice Silver, Leu Gardens
      Image:Bismarckia Ralph end 04.jpg|So. California
      Image:Bismarckia female Wood.jpg|Fallbrook, California
      Image:Bismarckia ripe seed Wood.jpg|Seeds, SoCal
      Image:Bismarckias all in a row Nong Nooch.jpg|Nong Nooch
      Image:BISMARCKIAS green SBG.jpg|Green Form, Singapore
      Image:Bismarckia flowers.jpg|Seeds, Green Form?
      Image:Bismarkia nobilis.jpg|In Vietnam
      Image:IMG_1162.JPG|Island of Venizia, New Smyrna Beach, Florida
      Image:B. Nobilis.jpg|Bismarckia Nobilis 15 yrs old from 5 gln, Palm Springs, Ca.
      Image:BNobilismanambe.jpg|Spring Valley, Ca.
      Image:B. nobillis.JPG|Galveston, Texas
      </gallery></center>
    Issue Details
    Issue Number 2335
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category BB-Code Parsing
    Status Duplicate
    Priority 2 - Fatal / Database Errors
    Affected Version 3.0.11
    Fixed Version (none)
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. June 10, 2011 8:40 PM
      palmpedia palmpedia is offline
      Junior Member
      To clarify and add some info. It is not the gallery syntax alone that is causing the error, as I am able to access the following page that has a gallery. However, it is still not displaying.

      http://173.199.144.145/test-forum/sh...hlight=unknown
      Reply Reply  
    2. June 10, 2011 9:39 PM
      palmpedia palmpedia is offline
      Junior Member
      So far I can confirm that all pages with this error have a gallery, but all pages with a gallery do not have this error.

      I think this may have something to do with my previous report of incorrect import of Caps due to the "shouting rule" setting. I'll check some more, but it appears as if the "shouting rule" does not affect text within any wiki tags like <gallery> or <span style>, yet it does affect the photo import itself. Therefore the image name within the tags is different than the image name itself after import.

      I would hope this would not be an issue if the "shouting rule" was not in effect. But at any rate, the gallery tag with parameters does not appear to import/convert.
      Reply Reply  
    3. June 11, 2011 10:26 AM
      pegasus pegasus is offline
      VaultWiki Team
      (Valid) HTML tags are case sensitive, so "gallery" has to be lower-case - it can't be "GALLERY" or "Gallery". In our tests, tags with parameters did in fact convert, and the regex looks good to me. The only issue I see is if the article is HTML-enabled, and one of the parameters contains &gt; - this is broken HTML.
      Reply Reply  
    4. June 11, 2011 10:56 AM
      pegasus pegasus is offline
      VaultWiki Team
      Duplicate of: https://www.vaultwiki.org/issues/2339/

      See that for the solution to the OP.
      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 2:19 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 © 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.