We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28451
    • 46 Posts
    Hello,

    I’m trying to make an rss feed, with the following call:

    [!Ditto?startID=`73` &format=`rss` &display=`all` &extenders=`summary` &dateFormat=`%B %d %Y, %H:%M`!]


    But I get this error (translated from danish, it may vary):

    XML interpretation error: not well-formed address: http://localhost/modx/index.php?id=11 line 108, coloumn 7:				<?
    ----------------------------------^


    This seems to be the offending code:

    <?
    // Use the following syntax $param = 'value';
    ?>


    It’s just a comment, so... how do I remove it? Seems odd.

    Thanks in advance.
      • 28451
      • 46 Posts
      For future reference; I just needed to look at the Wiki.
      http://wiki.modxcms.com/index.php/Basic_RSS_feed
        • 8740
        • 36 Posts
        The wiki won’t help on this issue. The problem is that one of the files uses a php short open tag.. If the server doesn’t have that feature turned on then you’ll get this error.

        /assets/snippets/ditto/configs/default.config.php -- that’s the bugger!