• 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
    • Only one CODE block

    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: Only one CODE block

    • Issue Tools
      • View Changes
    1. issueid=289 October 17, 2008 4:02 PM
      pegasus pegasus is offline
      VaultWiki Team
      Only one CODE block
      The error is back again.

      The pre-2.1.0 error came back with the newest build. When more than one CODE block is used in an article, only the first block parses successfully.

      Fixed.
    Issue Details
    Issue Number 289
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category BB-Code Parsing
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 2.1.1
    Fixed Version 2.1.2
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 1
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. This petition for a change to Awaiting Feedback was rejected
      October 29, 2008 8:06 AM
      miyuki miyuki is offline
      New Member
      I have this problem on 2.1.2 milestone. It was working correctly in 2.1.1 one but it's not now.
       
    2. October 29, 2008 10:43 AM
      pegasus pegasus is offline
      VaultWiki Team
      How long is your Cached Posts Lifespan (under Server Settings and Optimization Options)?

      If it's not 0, in vault/tabs/special_tab_article.php, find:
      PHP Code:
      $saveparsed = ''; 
      Add before:
      PHP Code:
      $post_cachable = false; 
      Find and remove:
      PHP Code:
      LEFT JOIN " . TABLE_PREFIX . "postparsed AS postparsed ON (postparsed.postid = post.postid AND postparsed.styleid = " . intval(STYLEID) . " AND postparsed.languageid = " . intval(LANGUAGEID) . ") 
      Reply Reply  
    3. October 29, 2008 12:17 PM
      miyuki miyuki is offline
      New Member
      Indeed, the value is not null. But when I apply your changes, I get this message :

      Code:
      Database error in vBulletin 3.7.3:
      
      Invalid SQL:
      
      		SELECT
      			post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
      			user.*,
      			icon.title as icontitle, icon.iconpath,
      			spamlog.postid AS spamlog_postid,
      			deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason,
      			postparsed.pagetext_html, postparsed.hasimages,
      			IF(user.displaygroupid=0, user.usergroupid, user.displaygroupid) AS displaygroupid, user.infractiongroupid
      			
      		FROM wild_post AS post
      		LEFT JOIN wild_user AS user ON (user.userid = post.userid)
      		LEFT JOIN wild_icon AS icon ON (icon.iconid = post.iconid)
      		
      		LEFT JOIN wild_spamlog AS spamlog ON (spamlog.postid = post.postid)
      		LEFT JOIN wild_deletionlog AS deletionlog ON(post.postid = deletionlog.primaryid AND deletionlog.type = 'post')
      		
      		WHERE post.postid IN (11495)
      			
      		ORDER BY post.dateline;
      
      MySQL Error   : Unknown column 'postparsed.pagetext_html' in 'field list'
      Error Number  : 1054
      Request Date  : Wednesday, October 29th 2008 @ 05:15:49 PM
      Error Date    : Wednesday, October 29th 2008 @ 05:15:49 PM
      Script        : hxxp://www.wild-guilde.eu/showwiki.php?title=Default:Test+%222%22
      Referrer      : hxxp://www.wild-guilde.eu/forumdisplay.php?f=90
      IP Address    : 
      Username      : 
      Classname     : vB_Database_MySQLi
      MySQL Version :
      Reply Reply  
    4. October 29, 2008 12:54 PM
      pegasus pegasus is offline
      VaultWiki Team
      Also, remove:
      PHP Code:
      postparsed.pagetext_html, postparsed.hasimages, 
      Reply Reply  
    5. October 30, 2008 7:42 AM
      miyuki miyuki is offline
      New Member
      Well, with this last modification, I have no more error message... but... Code Tags aren't working anymore for news subjects and there is still a problem with multiple code tag in old subject.

      New subject example, created after the modifications

      Old Subject example, edited after the modifications

      Thanks for you help.
      Reply Reply  
    6. October 30, 2008 1:28 PM
      pegasus pegasus is offline
      VaultWiki Team
      This is a separate bug: http://www.crackedeggstudios.com/pro...hp?issueid=307
      Reply Reply  
    7. October 30, 2008 1:49 PM
      miyuki miyuki is offline
      New Member
      I am very surprised that you were able de create a subject with multiple tags. It is still not working for me and I suspect one specific point.

      Each time I create a subject, it is not moderated by default, following my rights on the forum. This is not your case. Your subject was put in moderation queue, and its appareance is good (excepting the case problem you detect)

      My subjects do not go in moderation queue and their display are wrong, even if I paid attention to the case matching problem.

      Maybe a clue...
      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:24 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.