Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post 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.
 




____________
Out of Order
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post 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: [Download] [Hide] [Select]
php_flag allow_url_fopen on


If it doesn't work, just do this
Open includes/xs_news.php
Find
Code: [Download] [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!
 




____________
Gabriel Anca
 
KasLimonSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 




____________
Out of Order
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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: [Download] [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.
 




____________
Gabriel Anca
 
KasLimonSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 




____________
Out of Order
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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: [Download] [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!
 




____________
Gabriel Anca
 
Last edited by KasLimon on Wed 11 Nov, 2009 23:14; edited 1 time in total 
KasLimonSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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?
 




____________
Out of Order
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: RSS Not Working 
 
Meanwhile you can try to create a php.ini in your root folder and paste this text:
Code: [Download] [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...
 




____________
Gabriel Anca
 
KasLimonSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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.
 




____________
Out of Order
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 




____________
Out of Order
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron