Icy Phoenix

     
 

RSS Not Working

RSS Not Working

Article
Reply with quote    Download Post  
Post 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.



 
Riwer - View user's profile Send private message  
Riwer [ Tue 26 Jan, 2010 14:01 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


RSS Not Working

Comments
Reply with quote    Download Post  
Post Re: RSS Not Working 
 
I aplied the 1.3.0.53a patch (with the new rss.php file)
and nothing,  same error......



 
Riwer - View user's profile Send private message  
Riwer [ Wed 27 Jan, 2010 14:14 ]
Reply with quote    Download Post  
Post Re: RSS Not Working 
 
Riwer wrote: [View Post]



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



Where ?????



 
spydie - View user's profile Send private message  
spydie [ Wed 27 Jan, 2010 15:02 ]
Reply with quote    Download Post  
Post 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



 
Riwer - View user's profile Send private message  
Riwer [ Wed 27 Jan, 2010 17:10 ]
Reply with quote    Download Post  
Post Re: RSS Not Working 
 
try playing with this:

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



 
spydie - View user's profile Send private message  
spydie [ Wed 27 Jan, 2010 17:32 ]
Reply with quote    Download Post  
Post Re: RSS Not Working 
 
not working for me ._.

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



 
Riwer - View user's profile Send private message  
Riwer [ Wed 27 Jan, 2010 17:50 ]
Reply with quote    Download Post  
Post Re: RSS Not Working 
 
anybody can help me? ._.



 
Riwer - View user's profile Send private message  
Riwer [ Sat 30 Jan, 2010 00:53 ]
Reply with quote    Download Post  
Post 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';




 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Sat 30 Jan, 2010 09:27 ]
Reply with quote    Download Post  
Post 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?



 
Riwer - View user's profile Send private message  
Riwer [ Sun 31 Jan, 2010 00:49 ]
Reply with quote    Download Post  
Post Re: RSS Not Working 
 
any idea?



 
Riwer - View user's profile Send private message  
Riwer [ Sun 07 Feb, 2010 16:22 ]
Reply with quote    Download Post  
Post Re: RSS Not Working 
 
Unfortunately no idea yet...



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Mon 15 Feb, 2010 15:32 ]
Reply with quote    Download Post  
Post Re: RSS Not Working 
 
BTW

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



 
spydie - View user's profile Send private message  
spydie [ Mon 15 Feb, 2010 15:57 ]
Reply with quote    Download Post  
Post 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



 
Danielc - View user's profile Send private message  
Danielc [ Tue 16 Feb, 2010 02:11 ]
Reply with quote    Download Post  
Post Re: RSS Not Working 
 
Please, no ideas??



 
Danielc - View user's profile Send private message  
Danielc [ Sat 20 Feb, 2010 15:39 ]
Reply with quote    Download Post  
Post 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



 
Danielc - View user's profile Send private message  
Danielc [ Tue 23 Feb, 2010 02:57 ]
Display posts from previous:    

HideWas this topic useful?

Post new topic  Reply to topic  Page 1 of 3
Goto page 1, 2, 3  Next
 




 

 

cron