TinyPortal

Development => Support => Topic started by: astrod00d on March 22, 2012, 01:53:33 AM

Title: RSS feed blocks not showing feeds
Post by: astrod00d on March 22, 2012, 01:53:33 AM
Link to my site: http://www.signetofthelion.com
SMF version: SMF 2.0.2
TP version: TP 1.106
Default Forum Language: English
Theme name and version: Nocturno by Crip
Browser Name and Version: Firefox 11
Mods installed: Just SMF and TinyPortal
Related Error messages: See below

Not too long ago I noticed that the RSS feed blocks I had on my frontpage no longer populate.  I've tested the feeds elsewhere and they work fine.  Below are some examples of the errors I'm seeing in the log.  I've been able to get the feeds working with the Feed2JS code generator but I'd rather not have to use it.  Any ideas?

http://signetofthelion.com/index.php?
2: fclose(): supplied argument is not a valid stream resource
File: /homepages/36/d145176973/htdocs/signetofthelion/Sources/TPSubs.php
Line: 2167

http://signetofthelion.com/index.php?
2: fread(): supplied argument is not a valid stream resource
File: /homepages/36/d145176973/htdocs/signetofthelion/Sources/TPSubs.php
Line: 2158

http://signetofthelion.com/index.php?
2: fopen(http://www.guildwars2.com/en/rss.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: no suitable wrapper could be found
File: /homepages/36/d145176973/htdocs/signetofthelion/Sources/TPSubs.php
Line: 2154

http://signetofthelion.com/index.php?
2: fopen() [<a href='function.fopen'>function.fopen</a>]: URL file-access is disabled in the server configuration
File: /homepages/36/d145176973/htdocs/signetofthelion/Sources/TPSubs.php
Line: 2154
Title: Re: RSS feed blocks not showing feeds
Post by: lurkalot on March 22, 2012, 08:03:53 AM
I'm betting your host has upgraded the php version on the server at some point.  Might be worth checking with them.
Title: Re: RSS feed blocks not showing feeds
Post by: G6Cad on March 22, 2012, 08:18:45 AM
More like the host closed the options of streaming things to and from the server, it seems like it´s blocking the sourse ( f:open faild to open stream )
Title: Re: RSS feed blocks not showing feeds
Post by: ZarPrime on March 22, 2012, 09:14:55 AM
Hello astrod00d,

Welcome to TinyPortal.

G6Cad is correct.  Check with your host to find out if your server or your php.ini file sets the "Allow_url_fopen" And "Allow_url_include" PHP Directives to "OFF".  RSS Feeds will only work correctly if those are turned "ON".

ZarPrime
Title: Re: RSS feed blocks not showing feeds
Post by: lurkalot on March 22, 2012, 09:19:06 AM
I believed those were set to off by default after a php upgrade.  and as the feeds mysteriously stopped working.

Hence my reply above.  I stand corrected.  :uglystupid2:
Title: Re: RSS feed blocks not showing feeds
Post by: ZarPrime on March 22, 2012, 09:23:21 AM
Yep, could very well be the reason. ;)

ZarPrime
Title: Re: RSS feed blocks not showing feeds
Post by: astrod00d on March 22, 2012, 01:03:56 PM
Thanks for the replies.  I'll check with the webhost and let you know if I'm successful.