Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Textile 0.55 and Atom Feed conflict

edited June 2006 in Vanilla 1.0 Help
Textile 1.55 and Atom Feed 1.0 don't seem to play nice with eachother in Vanilla 1.0. When Textile is enabled the feed displays : "This page contains the following errors: error on line 2 at column 1: Extra content at the end of the document Below is a rendering of the page up to the first error." And when I view the source, has the line: "Notice: Use of undefined constant hu - assumed 'hu' in /home/trailsle/public_html/forums/extensions/Textile/classTextile.php on line 631" Is 1.0 the latest version of the Atom Feed extension? The descripion says 'Atom Feed 2' but when I download it, the file says it is version 1.0. Also the RSS2 extension (1.0), which works properly here, gets the following error in the source with and without Textile enabled. Is there a new version available that I missed? "Notice: Use of undefined constant VANILLA_VERSION - assumed 'VANILLA_VERSION' in /home/trailsle/public_html/forums/extensions/RSS2/functions.php on line 71" Thanks in advance.

Comments

  • Hmmm, I just tried reverting back to Textile 0.4 and it solved the problem in Atom and RSS. I'm still curious what's going on though.
  • I am guessing that you're running Vanilla version 0.9.2.x, the updated textile formatter is intended for the "still in progress, we're working on it, the dog still has worms" version 1.0. The only major difference between the two is that the one you tried, is not compatible with previous versions of Vanilla, so sit tight!
  • Actually, I just upgraded to 1.0 from 0.9.3 and was going through my extensions to make sure I had the latest ones. I have no problem sitting tight though, it's worth the wait.
  • edited June 2006
    hmm, 'hu' is a variable from textpattern (txp folder absolute web path) and the classTextile.php is the file used with textpattern. I can't check it right now, but a quick search of the file suggests it is the only use of "hu" in the entire class. Perhaps setting the var "hu" to vanilla's $Configuration['BASE_URL'] would help?

    In textpattern it is defined as follows:
    // v1.0: this should be the definitive http address of the site if (!defined('hu')) define("hu",'http://'.$siteurl.'/');
This discussion has been closed.