PDA

View Full Version : Advanced RSS Ticker "error fetching" problem



colinwo
04-15-2007, 06:30 PM
1) Script Title: Advanced RSS Ticker (Ajax Invocation)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/rsstickerajax/index.htm

3) Describe problem: Ok I installed everything but it seems I cannot load any XML file. I get the error:

Error fetching remote RSS feed!
Sorry: It's not possible to reach RSS file http://www.wrestling-online.com/news/rss.xml

Even loading a CNN news feed or something else, I get the same problem. There are 3 files in the cache folder.

Anyone has any idea what I might be doing wrong and how to correct it?

Thanks,

Colin

ddadmin
04-16-2007, 09:18 AM
Please post a link to the page on your site that contains the problematic script so we can check it out.

colinwo
04-16-2007, 02:55 PM
http://www.wrestling-online.com/scripts/rssticker/demo.htm

That's the link on my site. Thanks for checking it out.

Colin

ddadmin
04-16-2007, 11:43 PM
Hmm everything seems to be in order. Your feed exists, it validates, and you even said there are 3 files in your cache directory. Is it just this feed that you're having trouble with? For example, do any of the default RSS feeds that came with the demo work for you (ie: CNN)?

My guess is that your server's PHP is set up as such that fetching of remote files is disabled using fopen(). However, the 3 cache files seem to negate that theory.

colinwo
04-17-2007, 04:37 PM
No feeds work. I tried CNN and others and it doesn't want to work at all. Let me contact support and ask them about the fopen() command.

I will post back here what they tell me.

Thank you.

colinwo
04-17-2007, 05:32 PM
This is what they said:

"We have URL fopen() disabled for security reason. This will prevent those scripts from accessing outside URLs using that PHP function.
http://wiki.dreamhost.com/index.php/Allow_url_fopen There are some workarounds. For one you could use CURL instead of fopen(). It will require some changes to the scripts.
http://wiki.dreamhost.com/index.php/CURL"

So I guess I'm screwed! :)

ddadmin
04-18-2007, 10:16 AM
Yep, there's your problem. The next version of this script will be based on another RSS parser that will support Curl. That's all I can tell you right now. :)