Search code examples
phprssmagpie

MagpieRSS: Failed to fetch error


When my script parses an RSS feed from my local Apache server, it parses fine but when I upload script to the remote hosting server it gives the error:

Warning: Magpie RSS: Failed to fetch (url) and cache is off in magpierss-0.6/rss_fetch.inc

on line 231.

I have searched for possible answers and any suggestions are around enabling and changing cache lifetime. I think that is not the problem - it looks like the problem is with remote hosting Apache server or denied access to my host.

Can anyone help?


Solution

  • check that magpie can open the rss url. Usually with curl being enabled or allow_url_fopen on your server. Also make sure that magpie is able/allowed/permitted to create caching files (if any)