Results 1 to 7 of 7

Thread: Advanced RSS Ticker: error fetching

  1. #1
    Join Date
    Nov 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Advanced RSS Ticker: error fetching

    Advanced RSS Ticker
    http://www.dynamicdrive.com/dynamici...ajax/index.htm

    I just tried out Advanced RSS Ticker, but I'm getting the follow error when viewing the demo.htm page:
    Error fetching remote RSS feed!
    Sorry: It's not possible to reach RSS file http://rss.cnn.com/rss/cnn_topstories.rss
    I uploaded all the files to my server, and chmodded the cache-folder 777. Anything I missed? Files are here: http://showmac.com/banan/1/feeds/demo.htm
    Last edited by xGrape; 12-01-2006 at 10:04 AM.

  2. #2
    Join Date
    Nov 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hmm, it worked on another server I had. Anything my first server could be missing? Does this script require PHP5, or perhaps it only works with v4? (not sure which one my server is running) Or does it rely on any other functions that might not be installed?

  3. #3
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    It should work in both PHP4 and 5. Do you see any files inside your cache directory, indicating that the script was at least successful in retrieving the RSS feeds in question? BTW the demo page above returns 404.

  4. #4
    Join Date
    Nov 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    The cache folder does indeed have 2 files in it. One for each feed I assume. Sorry for the 404, I moved the script during some testing. Updated URL is: http://showmac.com/banan/1/feeds/demo.htm

    Cache would be here: http://showmac.com/banan/1/feeds/lastrss/cache/

  5. #5
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    From what I can tell the problem is between your server and LastRSS (the RSS class this script uses). Somehow it can't retrieve RSS files based on your server: http://showmac.com/banan/1/feeds/las...dge.php?id=CNN

    You'll have to find out why your server can't run LastRSS per your server settings. I've been thinking of ditching LastRSS for another RSS class for future RSS/XML projects, since there are certainly more robust classes out there.

  6. #6
    Join Date
    Nov 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I got this reply from my host today:
    "I suspect what's going
    on here is our php implementation has url_fopen_disabled, for security
    reasons, and that's why your script can't grab the rss. We offer cURL as
    a replacement to url fopen"

    Is there any truth to this? And an easy fix (for me)? If not I guess I'll just run it off the other server. Just thought I'd let you know anyways.

  7. #7
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    That's most likely the reason yes. LastRSS if I recall doesn't support cURL for fetching external pages. SimplePie, on the other hand does, which is used in the lastest RSS script on DD: RSS Display Boxes. If the feedback with Simplepie is good as far as versatility, I may switch all RSS scripts on DD to use it instead of LastRSS.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •