I wrote and tested RSS phaser script in PhP. It worked fine.. But when i'm running it sung a CRON job, it return following error?
not well-formed (invalid token)
Why? How can i fix it?
PhP RSS Error in CRON job?
I'd have to guess it is a problem with the XML. Does your script read or generate the RSS file? If it is generating it, does it handle special characters or things like an '%26amp;' ?
If it is reading it from a source you don't control, maybe they have issues.
Eliminate PHP from the loop by opening the XML with your browser, it might give you a more detailed error message.
No comments:
Post a Comment