FeedForAll Forum Index ?
?Home?????FAQ????? Search ?????Register ?????Profile? ????Log in
?HTTP ERROR Message View next topic
View previous topic
Post new topicReply to topic
Author Message
meccub



Joined: 02 Oct 2012
Posts: 8

PostPosted: Tue Oct 02, 2012 11:00 am Reply with quoteBack to top

I had RSS2HTML running perfectly at the end of last week. Monday morning, I come to work and it's not finding feeds, giving me an error message of:

Quote:
Unable to open RSS Feed http://host4.evanced.info/durhamcounty/evanced/eventsxml.asp?ag=&et=Children&lib=ALL&nd=1&feedtitle=Durham+County+Library+%2D+All+Branches&dm=rss2&LangType=0 with error HTTP ERROR: , exiting



I am using the following code:

Code:
? ? ? $XMLFILE = "http://host4.evanced.info/durhamcounty/evanced/eventsxml.asp?ag=&et=Children&lib=ALL&nd=1&feedtitle=Durham+County+Library+%2D+All+Branches&dm=rss2&LangType=0";
? $TEMPLATE = "../calendar/template.html";
? include("rss2html.php");
? ?>


The feeds themselves are fine. I can open them up in a feed reader.

Does anyone have any idea why it would suddenly stop working? There was no code changes from the last time it was working to when it stopped.

Thanks in advance.[/quote][/code]
View user's profile
Tech Support



Joined: 27 Aug 2004
Posts: 2694

PostPosted: Tue Oct 02, 2012 11:58 am Reply with quoteBack to top

The trouble you're running in to is that the link to the feed has changed. Currently, you're referencing:
http://host4.evanced.info/durhamcounty/evanced/eventsxml.asp?ag=&et=Children&lib=ALL&nd=1&feedtitle=Durham+County+Library+%2D+All+Branches&dm=rss2&LangType=0

but when if you open that in a feed reader or browser, it redirects to:
http://host4.evanced.info/durhamcounty/evanced/eventsxml.asp?ag=&et=Children&lib=ALL&nd=1&feedtitle=Durham+County+Library+-+All+Branches&dm=rss2&LangType=0

As innocuous a change as it may be, this bit of the link is different: Library+%2D+ has changed to Library+-+. Try updating the script with the redirected link and let's see if the error still shows up.

_________________
Create RSS Feeds
Audio Recording and Editing
View user's profile
meccub



Joined: 02 Oct 2012
Posts: 8

PostPosted: Tue Oct 02, 2012 12:21 pm Reply with quoteBack to top

Thanks so much for the reply. Unfortunately, that didn't do the trick.

The only weird thing I noticed is that when I copy/past the URL to Firefox it changes it from (which gives a 404 error):

http://host4.evanced.info/durhamcounty/evanced/eventsxml.asp?ag=&et=Children&lib=ALL&nd=1&feedtitle=Durham+County+Library+-+All+Branches&dm=rss2&LangType=0

to

http://hohost4.evanced.info/durhamcounty/evanced/eventsxml.asp?ag=&et=Children&lib=ALL&nd=1&feedtitle=Durham+County+Library+-+All+Branches&dm=rss2&LangType=0

I thought it may be some bizarre copy/paste thing, but trying many times results in the same thing. It doesn't do this in Chrome or IE. (This probably has nothing to do with the problem, but thought I'd mention it.)

Here is one of the pages that contains feeds, if it helps at all: http://www.durhamcountylibrary.org/calendar/index.php.

Thanks again.
View user's profile
Tech Support



Joined: 27 Aug 2004
Posts: 2694

PostPosted: Tue Oct 02, 2012 1:00 pm Reply with quoteBack to top

Can you post the link to the site that's giving you the error itself?

_________________
Create RSS Feeds
Audio Recording and Editing
View user's profile
meccub



Joined: 02 Oct 2012
Posts: 8

PostPosted: Tue Oct 02, 2012 1:08 pm Reply with quoteBack to top

I'm planning on embedding the feeds on a number of pages. This is the one I've been troubleshooting for the past two days:

http://www.durhamcountylibrary.org/calendar/index.php

The template file lives here:

http://www.durhamcountylibrary.org/calendar/template.html

The RSS feeds come from here (I use the "Search Slider" function to select the criteria I want to display, then copy the RSS link from the top of the filtered results page):

http://host4.evanced.info/durhamcounty/evanced/eventcalendar.asp?EventType=ALL&Lib=ALL

Is that what you needed?
View user's profile
Tech Support



Joined: 27 Aug 2004
Posts: 2694

PostPosted: Tue Oct 02, 2012 1:11 pm Reply with quoteBack to top

Thanks, that's what I needed. Now, I went to http://www.durhamcountylibrary.org/calendar/index.php but I'm not seeing any errors on the page?

_________________
Create RSS Feeds
Audio Recording and Editing
View user's profile
meccub



Joined: 02 Oct 2012
Posts: 8

PostPosted: Tue Oct 02, 2012 1:13 pm Reply with quoteBack to top

It takes about 30 seconds before it times-out and displays the RSS2PHP error.
View user's profile
Tech Support



Joined: 27 Aug 2004
Posts: 2694

PostPosted: Tue Oct 02, 2012 1:59 pm Reply with quoteBack to top

Okay, this is... a little strange.

You're most likely getting the error because your webserver can't get to the RSS feed. What makes this really strange is that I can get to the feed, you can get to the feed but for some reason the webserver can't.

Do you have a way to try to read the feed manually while logged into the server? Basically, remote in to your web server and try to open the feed directly from the web server's browser or a feed reader on the server and see if you get that same error.

_________________
Create RSS Feeds
Audio Recording and Editing
View user's profile
meccub



Joined: 02 Oct 2012
Posts: 8

PostPosted: Tue Oct 02, 2012 3:30 pm Reply with quoteBack to top

Our site is on the county's web server, and, sadly, I don't have access anything except for FTP.
View user's profile
Tech Support



Joined: 27 Aug 2004
Posts: 2694

PostPosted: Tue Oct 02, 2012 6:31 pm Reply with quoteBack to top

Try having one of the County techs view the feed from the server. Basically, it looks like something is preventing the server (but JUST the server) from viewing the feed and that's causing the error.

_________________
Create RSS Feeds
Audio Recording and Editing
View user's profile
meccub



Joined: 02 Oct 2012
Posts: 8

PostPosted: Wed Oct 03, 2012 7:45 am Reply with quoteBack to top

I'm working with our IT folks to see if we can figure it out. The county blocks a lot of web content, so I'm wondering if there was something with those feeds that triggered a block. Although I'm not sure that would affect the web servers, but who knows.

I'll let you know if we find a solution.

Thanks again for all your help. I appreciate it.
View user's profile
meccub



Joined: 02 Oct 2012
Posts: 8

PostPosted: Fri Oct 05, 2012 1:22 pm Reply with quoteBack to top

Update: Still not working, but I can eliminate it being because the domain is blocked...it's not.

Also discovered that no RSS feeds are working with RSS2HTML. Just for fun, I inserted a New York Times feed and I got the same error message on the page itself and the buildURL tool.

I'm stumped. I have no idea what could have happened over the weekend, that caused it to stop working.
View user's profile
Tech Support



Joined: 27 Aug 2004
Posts: 2694

PostPosted: Fri Oct 05, 2012 1:48 pm Reply with quoteBack to top

Something had to have changed on the web server either where it concerns PHP or where it concerns the specific rss2html script. I loaded up a test copy of the script on our site and am using your template and your feed and am not getting an error. Have a look:

http://www.feedforall.com/demo/rss2html.php?XMLFILE=http://host4.evanced.info/durhamcounty/evanced/eventsxml.asp?ag=&et=Children&lib=ALL&nd=1&feedtitle=Durham+County+Library+-+All+Branches&dm=rss2&LangType=0&TEMPLATE=http://www.durhamcountylibrary.org/calendar/template.html

_________________
Create RSS Feeds
Audio Recording and Editing
View user's profile
meccub



Joined: 02 Oct 2012
Posts: 8

PostPosted: Fri Oct 05, 2012 1:50 pm Reply with quoteBack to top

Yeah, it has to have something to do with PHP on the server. I just tried adding a feed via JavaScript and that worked.

I also tried a different PHP script and it had the same problem as RSS2HTML does.

Thanks for the help. I'm going to keep digging.
View user's profile
Display posts from previous:?? ? ?
Post new topicReply to topic


?Jump to:? ?



View next topic
View previous topic


Powered by phpBB ? 2001, 2002 phpBB Group :: FI Theme