Page 1 of 1

RSS parsing failing on valid feed

PostPosted: 7:49pm, Tue 12 Aug, 2008
by Guest
I looked high and low, but could not find a solution.

Parsing a feed from my site's forums keeps failing. I thought maybe it was my forum, so I decided to test it and use a feed from CNN. That failed as well.

I see a lot of questions going unanswered here, but here's hoping.

I've set up the config.php file up correctly, so it's not that.

Here's the error that's being e-mailed to me:
http://www.hitechnotic.com/external.php?type=RSS2 failed
The specified file could not be opened.

PostPosted: 7:30pm, Wed 13 Aug, 2008
by J_S

PostPosted: 10:23pm, Wed 13 Aug, 2008
by Guest
Yes, I've read the documentation. :)

I don't think the error is in my feeds, but perhaps with my PHP installation? I'm using PHP 5, btw.

Media Temple is my host, and they referred me to this software, so I really doubt my host would refer me to software that doesn't work with their hosting packages.

This leaves only phplist.. :?

PostPosted: 3:23pm, Tue 26 Aug, 2008
by egruber
Did you ever get a solution? I'm trying to get RSS to work on a list to no avail.

PostPosted: 2:45pm, Tue 02 Sep, 2008
by Guest
Hi Guys,

Thanks for PhpList this is a great tool.

Unfortunatly I have the same issue described here... I just cannot add RSS content into the lists.

I associated valid RSS feed to my lists, but on the main page, when I click on "getrss" I have the following error message:
Parsing URL-OF-MY-FEED*..
..failed


still on the main page, when I click on "view rss" I always have
0 RSS Items


Here is the message in the EventLog:
691 del getrss 2008-09-02 16:43:26 Parsing URL-OF-MY-FEED* failed


No other error message in the PHP Error Log
I make clear that no firewall / proxy blocks the traffic between my webserver and the RSS feed.

Any idea for this issue ? It's a real pity as RSS feeds are very common and popular, and are one of the main gift brought by Web 2.0

Peavy 8)

* Consider URL-OF-MY-FEED with a valid RSS URL

PostPosted: 1:13pm, Tue 14 Oct, 2008
by kerberos
It may be that the cache folder ("tmp" by default) is not writable.

PostPosted: 5:13pm, Fri 06 Mar, 2009
by paperclip
I'm struggling with the same problem at the moment.

I create a 'tmp' folder in the lists directory: mywebsite_com/lists/tmp

I have given it full permissions access (CHMOD: 777).

Any further ideas?

Re: RSS parsing failing on valid feed

PostPosted: 6:46pm, Mon 15 Jun, 2009
by yeahdisk
I'm having the same problem

my feed: http://news.google.co.uk/news?um=1&ned= ... output=rss

I have created a /lists/tmp (and also a /tmp in my root just in case) and set them to full access rights (777).

Please can anyone help!!? I've read all the documentation and I'm no closer to a solution?

(btw I only installed PHPlist yesterday so am new to it).

Re: RSS parsing failing on valid feed

PostPosted: 9:21pm, Wed 01 Jul, 2009
by zolipodz
In case anyone is still struggling with this... Here's how I fixed this problem:

The onyxrss rss parser could not write to the designated cache path. By default phplist configures this to be the /tmp directory in config.php. My /tmp folder was not writable, so I changed the path to a newly created directory under my public_html. For example, your_site_docroot/tmp. After doing this, everything downloaded perfectly... It's generally recommended to not designate a public folder for a temporary directory, but if you are unable to change the access to the default directory (e.g. open_basedir prevents it), then this should solve your problem.

Also, make sure that your PHP configuration has allow_url_fopen option set to "on." Otherwise the rss parser is unable to manipulate your feed sources. You can override your default php.ini settings, by creating a custom version.

Re: RSS parsing failing on valid feed

PostPosted: 5:34pm, Thu 02 Jul, 2009
by Slimey
zolipodz wrote:In case anyone is still struggling with this... Here's how I fixed this problem:

The onyxrss rss parser could not write to the designated cache path. By default phplist configures this to be the /tmp directory in config.php. My /tmp folder was not writable, so I changed the path to a newly created directory under my public_html. For example, your_site_docroot/tmp. After doing this, everything downloaded perfectly... It's generally recommended to not designate a public folder for a temporary directory, but if you are unable to change the access to the default directory (e.g. open_basedir prevents it), then this should solve your problem.

Also, make sure that your PHP configuration has allow_url_fopen option set to "on." Otherwise the rss parser is unable to manipulate your feed sources. You can override your default php.ini settings, by creating a custom version.


now you have create a writable folder on your that is accessible to anyone. putting the folder underneath the public_html folder would be better

Re: RSS parsing failing on valid feed

PostPosted: 9:13pm, Sun 09 Sep, 2012
by mrmckoy
Hey all,

I started a new thread where I am having this same problem. viewtopic.php?f=17&t=38249

Please if its possible I could use some help. I've tried changing the '/tmp/' directory and that didn't work. of course its possible I did this wrong so I'd like so get someone to take a look at this for me.

Re: RSS parsing failing on valid feed

PostPosted: 2:30pm, Fri 14 Dec, 2012
by tristanboyd
I just solved this problem with the help of my great webhosting support team (hostdime.com) - sorry for the plug, but they deserve it. i already had it working on another server, (different host) so I was pretty sure it was a server side issue.

Once we went through it with a couple of tech heads they did this:

"I was able to resolve the RSS issue by placing a local php.ini to enable allow_url_fopen for the domain."

And now it works :-)

Re: RSS parsing failing on valid feed

PostPosted: 4:38pm, Fri 14 Dec, 2012
by mrmckoy
My issue was related to bad characters in the RSS feed. I fixed this by using Yahoo Pipes to strip the HTML out of the feed. You can also use Google's Feedburner to clean up your feeds.

I recommend everyone try this if they get RSS import errors.

Upload Phplist in ASCII format to eliminate random errors

PostPosted: 11:04pm, Thu 23 Apr, 2015
by mrmckoy
Also everyone... sometimes when you FTP extra characters are added to the code. This doesn't stop phplist from working but technologies like RSS confirm to strict standards.

In this situation the first good troubleshooting step is to re-upload your phplist installation in ASCII form via FTP. ASCII, for whatever reason, doesn't add extra characters to some files.