• 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
    • Table BBCode issues after upgrading to 4.2

    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: Table BBCode issues after upgrading to 4.2

    • Issue Tools
      • View Changes
    1. issueid=3041 April 22, 2013 2:15 PM
      ae1360 ae1360 is offline
      New Member
      Table BBCode issues after upgrading to 4.2
      Tables coming out blank.

      Hey I am having some issues with my table bbcode.

      I am running 4.2 on my test forum and live forum, and just upgraded the test forum to the latest version of Vaultwiki 3.x, and my tables are all broken. They are broken on the live site too.

      I have no table bbcode listed in my bbcodes, and I don't know where to search or what to do.

      The table bbcode I was using had "!" in it, in addition to the standard | and |- and now nothing works, and not sure what to do. All of my articles are using this code.

      Any help would be appreciated...
    Issue Details
    Issue Number 3041
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category BB-Code Parsing
    Status Not a Bug
    Priority 3 - Loss of Functionality
    Affected Version 3.0.20
    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 cke editor, editor, upgrade




    1. April 22, 2013 2:25 PM
      ae1360 ae1360 is offline
      New Member
      Also, wouldn't it be easier to just convert the table tags somehow to the built in vbulletin one now?
      Reply Reply  
    2. April 22, 2013 3:22 PM
      pegasus pegasus is offline
      VaultWiki Team
      The VaultWiki table tags actually offer more functionality than the vBulletin tags, so it would be a lossy conversion.
      If the table tag is missing, use the following MySQL query:
      Code:
      INSERT INTO bbcode
      (bbcodetag, title, options)
      VALUES
      ('table', 'Table', 1)
      Then use the Wiki Code Manager to enable the tag.

      What version of VaultWiki were you using before upgrading?
      Reply Reply  
    3. April 22, 2013 6:38 PM
      ae1360 ae1360 is offline
      New Member
      Quote Originally Posted by pegasus
      The VaultWiki table tags actually offer more functionality than the vBulletin tags, so it would be a lossy conversion.
      If the table tag is missing, use the following MySQL query:
      Code:
      INSERT INTO bbcode
      (bbcodetag, title, options)
      VALUES
      ('table', 'Table', 1)
      Then use the Wiki Code Manager to enable the tag.

      What version of VaultWiki were you using before upgrading?
      3.0.10, which is still what is on my live site but it doesn't work (I have to upgrade it right?)

      I just did the MySQL query and it gave me this in return:
      HTML Code:
      An error occurred while attempting to execute your query. The following information was returned. 
      error number: 1062 
      error desc: Duplicate entry 'table-0' for key 2
      Reply Reply  
    4. April 22, 2013 6:49 PM
      pegasus pegasus is offline
      VaultWiki Team
      If you get that error, the Table BB-Code should be listed in the Wiki Code Manager. Click the Edit button for it, and check because the parsing for it might be turned off. If you upgraded vBulletin past 4.2 after upgrading VaultWiki, you need to run the VaultWiki upgrade script again. Doing this might resolve the issue on its own.

      Yes, you need to upgrade. Any version of VaultWiki below 3.0.19 will break the WYSIWYG editor in vBulletin 4.2.0.
      Reply Reply  
    5. April 22, 2013 7:20 PM
      ae1360 ae1360 is offline
      New Member
      The table BB Code is not in the Wiki Code Manager though.

      I have only upgraded from 4.1.1 to 4.2 PL3, and that is when this issue started. My test forum I have run the upgrade script more than once, and done a fresh install even.
      Reply Reply  
    6. April 22, 2013 8:31 PM
      pegasus pegasus is offline
      VaultWiki Team
      That error you got trying to insert it to the database says that it's there already, so it really should be in the Manager, as the manager performs a full fetch of the contents of that database table. It's possible the title is not set to "Table" for some reason. It could be blank, or it could have another name. But you should still see the tag "[table]" in the 3rd column either way.

      You can always do some snooping in your own database and find out what the row with bbcodetag = 'table' looks like, because there is one there.
      Reply Reply  
    7. April 23, 2013 10:49 AM
      ae1360 ae1360 is offline
      New Member
      Well I have the wysiwyg editor table bbcode. I'll look in the database though, not sure how there can be two [table] bbcodes though then?
      Reply Reply  
    8. April 23, 2013 11:35 AM
      ae1360 ae1360 is offline
      New Member
      Ok, I deleted a bbcode on my test forum that had been using the same icon as the table, and now it appears on the list and in the bbcode.
      Reply Reply  
    9. April 23, 2013 11:50 AM
      ae1360 ae1360 is offline
      New Member
      Secondary question now...It has been so long since I first attempted the upgrade on my live forum that I can't recall if I uploaded the 'updated' files for the VaultWiki 4 install on my forum or not. I think I did because I had to update my PHP.

      That being said, I realize that upgrading to 4 might not be the best option now (unless you say otherwise). Could I just re-upload the files but for the latest version of 3 and do the update script?
      Reply Reply  
    10. April 23, 2013 12:05 PM
      pegasus pegasus is offline
      VaultWiki Team
      You should ideally make sure you have a working version of the latest VaultWiki 3 before attempting to upgrade to 4.

      Yes, you can re-upload the files for 3 as long as you didn't already start an upgrade attempt for 4. If you did, you will have to continue that attempt - if it was a while ago, I suspect any database backup from before would cause more problems than it would resolve.

      Can you please provide the exact steps you performed to fix the table issue, with an example of the database rows you found? By your explanation above I'm still not quite sure why it wasn't appearing in the Wiki Code Manager.
      Reply Reply  
    11. April 24, 2013 11:17 AM
      ae1360 ae1360 is offline
      New Member
      I have zero clue as well. All I did was look into my database manager and see the table code, but I also noticed it was using the same icon as my PRE code (preformatted text). So I just deleted the PRE code from my bbcode manager in the admincp and it suddenly appeared.

      Yeah I never attempted the upgrade, I think I started to but it said it required PHP 5.3 so that is when I decided to run it on the test site first. So I only have uploaded the files.
      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: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.