TinyPortal

Development => Support => Topic started by: feline on December 12, 2005, 06:58:48 PM

Title: RSS Feed ..
Post by: feline on December 12, 2005, 06:58:48 PM
Hi all,

i have added a rss-feed in TP ..
When I using php 4xx it will work .. with php 5xx not !

Help me out here ;-)

Fel
Title: Re: RSS Feed ..
Post by: bloc on December 12, 2005, 07:25:16 PM
It might have to do with other reported posts here - about globals changing in php 5. I haven't quite figured it out why and how yet.
Title: Re: RSS Feed ..
Post by: Ray on December 12, 2005, 07:37:51 PM
Found this

QuoteHowever, today when I ran PHP 5.0-dev to see how my script working, I
found the $HTTP_SERVER_VAR['something'] did not working at all whereas
$_SERVER['something'] wroks fine.

ALSO

QuoteSummary  $HTTP_SERVER_VAR no longer works with php 5.04. 
Description  The following line

$opts['language'] = $_HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE'];

that is generated by phpMyEdit setup does not work with php 5.04 on Fedora 4. I read on the net that $_HTTP_SERVER_VARS is deprecated. I appears that they have stopped supporting it. 
Steps To Reproduce  Use any file created by phpMyEdit.setup.class 
Additional Information / Solution  Use $_SERVER['HTTP_ACCEPT_LANGUAGE'] instead. 
Attached Files   

Hope this helps
Title: Re: RSS Feed ..
Post by: feline on December 12, 2005, 08:35:06 PM
Thanks Ray,

but .. I think that is a problem of my hosting.
I have found this in errorlog ..


fopen(http://www.tagesschau.de/newsticker.rdf) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: no suitable wrapper could be found

fopen() [<a href='function.fopen'>function.fopen</a>]: URL file-access is disabled in the server configuration


I have contacted my hosting ...

Fel