RSS parsing failing on valid feed

Once you've installed phpList Version 2... ask questions here!
Forum rules
Please help the volunteers to help you by supplying the version of phpList you are using, browser & version and if possible, a link to your phpList installation. This is for Version 2 of phpList (the orange one).

RSS parsing failing on valid feed

Postby Guest » 7:49pm, Tue 12 Aug, 2008

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.
Guest
 

Postby J_S » 7:30pm, Wed 13 Aug, 2008

J_S
Admin
 
Posts: 674
Joined: 10:18pm, Fri 11 Apr, 2003

Postby Guest » 10:23pm, Wed 13 Aug, 2008

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.. :?
Guest
 

Postby egruber » 3:23pm, Tue 26 Aug, 2008

Did you ever get a solution? I'm trying to get RSS to work on a list to no avail.
egruber
phpLister
 
Posts: 8
Joined: 7:04pm, Tue 21 Aug, 2007

Postby Guest » 2:45pm, Tue 02 Sep, 2008

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
Guest
 

Postby kerberos » 1:13pm, Tue 14 Oct, 2008

It may be that the cache folder ("tmp" by default) is not writable.
kerberos
PL Geek
 
Posts: 67
Joined: 9:54pm, Tue 12 Sep, 2006

Postby paperclip » 5:13pm, Fri 06 Mar, 2009

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?
paperclip
phpList newbie
 
Posts: 2
Joined: 5:09pm, Fri 06 Mar, 2009

Re: RSS parsing failing on valid feed

Postby yeahdisk » 6:46pm, Mon 15 Jun, 2009

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).
yeahdisk
phpLister
 
Posts: 7
Joined: 8:40pm, Sun 14 Jun, 2009

Re: RSS parsing failing on valid feed

Postby zolipodz » 9:21pm, Wed 01 Jul, 2009

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.
zolipodz
phpList newbie
 
Posts: 1
Joined: 8:58pm, Wed 01 Jul, 2009

Re: RSS parsing failing on valid feed

Postby Slimey » 5:34pm, Thu 02 Jul, 2009

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
Slimey
PL Nut
 
Posts: 25
Joined: 7:25pm, Wed 20 Jun, 2007

Re: RSS parsing failing on valid feed

Postby mrmckoy » 9:13pm, Sun 09 Sep, 2012

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.
mrmckoy
PL Master
 
Posts: 169
Joined: 7:10am, Sat 24 Nov, 2007
Location: Atlanta, GA

Re: RSS parsing failing on valid feed

Postby tristanboyd » 2:30pm, Fri 14 Dec, 2012

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 :-)
tristanboyd
phpList newbie
 
Posts: 1
Joined: 2:25pm, Fri 14 Dec, 2012

Re: RSS parsing failing on valid feed

Postby mrmckoy » 4:38pm, Fri 14 Dec, 2012

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.
mrmckoy
PL Master
 
Posts: 169
Joined: 7:10am, Sat 24 Nov, 2007
Location: Atlanta, GA

Upload Phplist in ASCII format to eliminate random errors

Postby mrmckoy » 11:04pm, Thu 23 Apr, 2015

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.
mrmckoy
PL Master
 
Posts: 169
Joined: 7:10am, Sat 24 Nov, 2007
Location: Atlanta, GA


Return to Question & Problems - after installing

Who is online

Users browsing this forum: No registered users and 2 guests