• SITE: https://www.indietravelpodcast.com

    This morning I was working on inserting php into my posts using Exec-PHP 3.2. I got it going and nicely styled thanks to the code’s author. This afternoon I realised that my feed was broken, here’s the error message:

    XML parsing error: <unknown>:157:0: unclosed CDATA section [help]
    … eval()’d code</b> on line <b>5</b>

    and sure enough, the feed…

    <b>Fatal error</b>: Call to undefined function: xmltoxhtml() in <b>/home/saliscon/public_html/indietravel/wp/wp-content/plugins/exec-php/exec-php.php(39) : eval()'d code</b> on line <b>5</b><br />

    The strange thing is, even though I’m following Exec-PHP’s instructions and running the php as “require once” my feed refuses to acknowledge the fact.

    In fact, I deleted the php from the post completely one hour ago and the feed is still busted; showing me an error I made 7 hours ago!

    How can I fix my feed? The naughty php code isn’t even in the post anymore!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    This is not just your feed. It’s on your actual webpage too, on both of these pages:
    https://www.indietravelpodcast.com/category/podcast/page/2/
    https://www.indietravelpodcast.com/2007/episode/007b-flatworld-dishes-video-extra/

    The problem is the php code in the post itself. You’re making a call to some function called xmltoxhtml() that is not found for whatever reason.

    Without knowing more about what your code is, I cannot say for certain what the problem is. However, I can narrow it down to the actual PHP code that you have in that specific post (007b-flatworld-dishes-video-extra).

    Thread Starter mars-hill

    (@mars-hill)

    Thanks Otto,

    It was working fine on the page before I started monkeying around to fix the feed. I removed the xmltohtml from the header which generated the on post error. As a temporary measure I’ve removed all the php and will experiment further.

    The feed did update itself, but with about a three-hour lag…unless feedvalidator.org had some strange caching issue – I can’t imagine it.

    If anyone has had success running php-exec without problems in their feeds, I’d love to hear from you. If I have success, I’ll update here.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Yes, feed validator takes a while before it updates. It doesn’t update immediately. You should look at your original feed if you want to see instantly what is happening. This may mean disabling your feed redirection plugin temporarily when you do that.

    Thread Starter mars-hill

    (@mars-hill)

    Thanks Otto, that’s useful advice.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Feed was broken, refuses to refresh’ is closed to new replies.