RSS Not Working »  Show posts from    to     

Icy Phoenix


Old Support Topics - RSS Not Working



spydie [ Mon 09 Nov, 2009 20:35 ]
Post subject: RSS Not Working
hi @ll

I changed hosting and from that moment on RSS feed stop working.

I´ve checked the server settings and all xml is present and enabled.

Incoming feeds got the message: Unable to open XML feed ( the feed adress is a valid one)
Outgoing feeds got this msg: no valid rss feed has been configured ( that worked aswell before. URL has been changed, so this is´nt the problem)

Got to say BTW that i downloaded the site fromn the all server and uploaded like it was ( only changed config) and updated the DB to new domain.

Same problem with a fresh install on the same server. And a friend of mine got an Icy site with the same hoster and the same problem

question. could it be a ht.access problem or a php.ini problem

I realy got no idea how to set up the php.ini file nor the access file.

Anybody can give a hand pls.


KasLimon [ Wed 11 Nov, 2009 09:49 ]
Post subject: Re: RSS Not Working
Hi,

The problem seems to be your hosting has disabled fopen PHP function for external websites. I had the same problem some weeks ago, and I could not resolve it.

So let's start trying... Add this line in the beginning of your .htaccess:
Code: [Hide] [Select]
php_flag allow_url_fopen on


If it doesn't work, just do this
Open includes/xs_news.php
Find
Code: [Hide] [Select]
if (($fp = @fopen($xml_feed, 'r')))

In that line, delete the @

Then, go to where RSS feeds should be displayed and just let me know the error that appears. (after pasting here the error unmake the change so the error will stop appearing )

Greets!


spydie [ Wed 11 Nov, 2009 10:01 ]
Post subject: Re: RSS Not Working
Spoiler: [ Show ]


that´s the message


Here´s a pic of the server config

php_info

It look´s like the server is loading my ini file but theres no changes

so probably i got something wrong in there


KasLimon [ Wed 11 Nov, 2009 10:48 ]
Post subject: Re: RSS Not Working
Have you tried htaccess fix?

If you haven't, please do it. If you had:

Try to add this to your htaccess instead of the line I told you before. Add it on the fist line:
Code: [Hide] [Select]
php_flag allow_url_include on


If this doesn't work just try to find allow_url_include in your php.ini file and replace off or 0 with on. The problem is that I really don't know where this file is located, and if you can modify it.


spydie [ Wed 11 Nov, 2009 12:17 ]
Post subject: Re: RSS Not Working
it seems that theres no way to access that ini file.

but the server reads the ini file located in my root.

so there must be a possibility to enable the functions via root ini file.

problem is , i don´t now anything about ini files.

and probably it want work if i use the ini file from mi local server


KasLimon [ Wed 11 Nov, 2009 19:49 ]
Post subject: Re: RSS Not Working
Ok, it seems you are not understanding me

.htaccess file is a way to configure a lot of things of a UNIX server. One of this things it can configure is PHP (overriding php.ini values). To configure a PHP setting you have to write php_flag, and then the setting you want to configure, followed by the value of the function.

So what I'm trying to say is that php.ini modification is inaccessible in most of the servers, but .htaccess file has the ability to modify some configurations if the UNIX server is configured to allow it.

Then, just open the file named .htaccess located in your forum root with a plain text editor such as Notepad, Wordpad or Dreamweaver and add a first line with this content:
Code: [Hide] [Select]
php_flag allow_url_include on


(Just an observation: putting a # before a line in htaccess makes the engine to ignore it, it is just as PHP's //)

Greets!


spydie [ Wed 11 Nov, 2009 21:25 ]
Post subject: Re: RSS Not Working
tried that.

not working

throughs an 500 error

could it be that the htaccess like it comes in Icy is incompatible with the Zend2 the server uses ?

Edit: nope thats crap. what i need is to enable the fopen. I allready send a msg to the hoster.

Or is there any chance to do an pseudo fopen?


KasLimon [ Wed 11 Nov, 2009 23:16 ]
Post subject: Re: RSS Not Working
Meanwhile you can try to create a php.ini in your root folder and paste this text:
Code: [Hide] [Select]
allow_url_include = On


But I think the solution will be to contact the hosting and see what they can do for you, because if htaccess doesn't work...


spydie [ Wed 11 Nov, 2009 23:39 ]
Post subject: Re: RSS Not Working
php.ini doesn´t work aswell.

tried anything now.

i think i´ll keep waiting for the hoster.

I´ve asked them to enable fopen and url_include.

so lets see how long they take to do it


But what really drives me crazy, is the point that my wife has got a WP site on the same server and feedburner and flicker rss are running without any problems.


spydie [ Fri 13 Nov, 2009 21:26 ]
Post subject: Re: [SOLVED] RSS Not Working
Problem fixed with ini file.

I probably did something wrong before. so i went to Lopalongs How To and just copied the ini code from were and created a new ini file for my server. It runs without problems now




Powered by Icy Phoenix