RSS Not Working


Goto page 1, 2, 3  Next

Subject: RSS Not Working
If I access to "rss.php" i get:


This page contains the following errors:

error on line 1 at column 62: XML declaration allowed only at the start of the document
error on line 1 at column 100: Encoding error
Below is a rendering of the page up to the first error.

Profile PM  
Subject: Re: RSS Not Working
I aplied the 1.3.0.53a patch (with the new rss.php file)
and nothing, same error......

Profile PM  
Subject: Re: RSS Not Working
Riwer wrote: [View Post]



Below is a rendering of the page up to the first error.



Where ?????

Subject: Re: RSS Not Working
Número de línea 1, columna 57:
<!-- template ./templates/default/rss_body.tpl start --><?xml version="1.0" encoding="iso-8859-1" ?>
--------------------------------------------------------^


this is the error x_x

"I reuploaded the file "rss_body.tpl" and nothing ._.


the error "in opera browser"

adf

Profile PM  
Subject: Re: RSS Not Working
try playing with this:

http://www.icyphoenix.com/show_post.php?p=45182

Subject: Re: RSS Not Working
not working for me ._.

isn't a encoding problem..... (i think)

Profile PM  
Subject: Re: RSS Not Working
anybody can help me? ._.

Profile PM  
Subject: Re: RSS Not Working
Try to change the encoding in lang_main_settings.php for your language.

Code: [Download] [Hide] [Select]
$lang['ENCODING'] = 'ISO-8859-1';
//$lang['ENCODING'] = 'UTF-8';
$lang['ENCODING_ALT'] = 'UTF-8';
$lang['DIRECTION'] = 'ltr';
$lang['HEADER_LANG'] = 'en-gb';
$lang['HEADER_XML_LANG'] = 'en-gb';

Subject: Re: RSS Not Working
Mighty Gorgon wrote: [View Post]
Try to change the encoding in lang_main_settings.php for your language.

Code: [Download] [Hide] [Select]
$lang['ENCODING'] = 'ISO-8859-1';
//$lang['ENCODING'] = 'UTF-8';
$lang['ENCODING_ALT'] = 'UTF-8';
$lang['DIRECTION'] = 'ltr';
$lang['HEADER_LANG'] = 'en-gb';
$lang['HEADER_XML_LANG'] = 'en-gb';



or


Code: [Download] [Hide] [Select]
//$lang['ENCODING'] = 'ISO-8859-1';
$lang['ENCODING'] = 'UTF-8';
$lang['ENCODING_ALT'] = 'UTF-8';
$lang['DIRECTION'] = 'ltr';
$lang['HEADER_LANG'] = 'en-gb';
$lang['HEADER_XML_LANG'] = 'en-gb';
[/quote]




or


Code: [Download] [Hide] [Select]
//$lang['ENCODING'] = 'ISO-8859-1';
//$lang['ENCODING'] = 'UTF-8';
//$lang['ENCODING_ALT'] = 'UTF-8';
$lang['DIRECTION'] = 'ltr';
$lang['HEADER_LANG'] = 'en-gb';
$lang['HEADER_XML_LANG'] = 'en-gb';
[/quote]





or


Code: [Download] [Hide] [Select]
$lang['ENCODING'] = 'ISO-8859-1';
$lang['ENCODING'] = 'UTF-8';
$lang['ENCODING_ALT'] = 'UTF-8';
$lang['DIRECTION'] = 'ltr';
$lang['HEADER_LANG'] = 'en-gb';
$lang['HEADER_XML_LANG'] = 'en-gb';
[/quote]



same error
the error isn't a code in wrong place?

Profile PM  
Subject: Re: RSS Not Working
any idea?

Profile PM  
Subject: Re: RSS Not Working
Unfortunately no idea yet... :sad:

Subject: Re: RSS Not Working
BTW

MG . Icy .com is throughing the same error then checking it through feed tester

Subject: Re: RSS Not Working
I discovered i have the same problem... My news rss is working fine, but my general RSS has an error in the encoding and doesn't show anything.. I tried the solutions you provided but they didn't work.. Also, i tried to check the rss related files, and the functions related to the encoding of them, but i didn't find anything strange..

No ideas?

Greetings

Subject: Re: RSS Not Working
Please, no ideas??

Subject: Re: RSS Not Working
Hello Everybody!!!.. I think i have solved it.. This is what i did:

Changes in rss.php:

FIND:

if(!strpos($useragent, 'MSIE'))
{
$encoding_charset = $lang['ENCODING'];
}
else
{
$encoding_charset = $lang['ENCODING_ALT'];
}

REPLACE WITH:

/*if(!strpos($useragent, 'MSIE'))
{
$encoding_charset = $lang['ENCODING'];
}
else
{
$encoding_charset = $lang['ENCODING_ALT'];
}*/
$encoding_charset = $lang['ENCODING'];

FIND

$topic_title = utf8_encode($topic_title);
$post_subject = utf8_encode($post_subject);
$message = utf8_encode($message);

REPLACE WITH:

/*$topic_title = utf8_encode($topic_title);
$post_subject = utf8_encode($post_subject);
$message = utf8_encode($message);*/

----


And it worked!!...

Greetings

Goto page 1, 2, 3  Next

Page 1 of 3


  
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

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.9027s (PHP: 2% SQL: 98%)
SQL queries: 15 - Debug Off - GZIP Enabled