Newsfeeds don't work in 1.6

The support for Joomla 2.5 ended on December 31, 2014. Possible bugs in Joomla 2.5 will not be patched anymore. This forum has been closed. Please update your website to Joomla 3.x

Moderators: ooffick, dam-man

Forum rules
Please use the official Bug Tracker to report a bug: http://issues.joomla.org
jorhett
Joomla! Apprentice
Joomla! Apprentice
Posts: 42
Joined: Mon Apr 23, 2007 6:48 pm
Location: San Jose, CA
Contact:

Newsfeeds don't work in 1.6

Postby jorhett » Mon Nov 22, 2010 10:33 am

No newsfeeds are working, not even ones which work fine in 1.5. This may obviously be a local system problem but below is the only log message I have to work with. Is there any way to debug what simplepie is doing?

[Mon Nov 22 01:44:58 2010] [error] [client 99.124.207.89] PHP Notice: The data could not be converted to UTF-8 in /site/libraries/simplepie/simplepie.php on line 1801, referer: http://www.fastlizardracing.com/index.p ... Itemid=103
[Mon Nov 22 01:51:07 2010] [error] [client 99.124.207.89] PHP Notice: The data could not be converted to UTF-8 in /site/libraries/simplepie/simplepie.php on line 1801, referer: http://www.fastlizardracing.com/index.p ... Itemid=103
[Mon Nov 22 02:09:56 2010] [error] [client 99.124.207.89] PHP Notice: The data could not be converted to UTF-8 in /site/libraries/simplepie/simplepie.php on line 1801, referer: http://www.fastlizardracing.com/guides.html
Jo Rhett
geek, rambler, racer

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7985
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: Newsfeeds don't work in 1.6

Postby mcsmom » Tue Nov 23, 2010 3:19 am

Please explain step by step what you are doing.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

jorhett
Joomla! Apprentice
Joomla! Apprentice
Posts: 42
Joined: Mon Apr 23, 2007 6:48 pm
Location: San Jose, CA
Contact:

Re: Newsfeeds don't work in 1.6

Postby jorhett » Tue Nov 23, 2010 3:31 am

Login to /administrator on a fresh 1.6 installation
Pull down on Components -> Newsfeeds -> Feeds
Click "Create"
Enter a working feed address that works fine in Joomla 1.5 (in this case http://jorhett.livejournal.com/data/atom )
Enter a name for it.
Click Save
Create a menu item pointing at this feed

Go to main website (not in administrator)
Click menu link
Observe text on screen: "Error loading feed data" and "Error. Feed could not be retrieved."

Look in webserver error log, see messages I quoted above to start this thread: "PHP Notice: The data could not be converted to UTF-8 in /site/libraries/simplepie/simplepie.php on line 1801"

Three obvious followups:
1. The error message is wrong because the data returned is in UTF-8 form.

2. It's not just livejournal, you can pick any valid feed URL and get the same response

3. Could it be a local system issue: sure, but it works in Joomla 1.5 and in Wordpress and in a half-dozen other things that use simplepie so it's something specific to either Joomla 1.6 or the version of simplepie included here.
Jo Rhett
geek, rambler, racer

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7985
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: Newsfeeds don't work in 1.6

Postby mcsmom » Tue Nov 23, 2010 9:47 am

Are the sample data feeds working ok?
I entered your link and the feed rendered without a problem.
So it seems like a local issue but what?
Can you please paste your basic environment information? (you can get it from the site info page).
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

jorhett
Joomla! Apprentice
Joomla! Apprentice
Posts: 42
Joined: Mon Apr 23, 2007 6:48 pm
Location: San Jose, CA
Contact:

Re: Newsfeeds don't work in 1.6

Postby jorhett » Tue Nov 23, 2010 5:54 pm

mcsmom wrote:Can you please paste your basic environment information? (you can get it from the site info page).


I am assuming you meant the System Information page under the Site pulldown?

PHP Built On: FreeBSD triceratops.netconsonance.com 6.3-RELEASE-p13 FreeBSD 6.3-RELEASE-p13 #0: Thu Oct 1 22:14:44 UTC 2009 [email protected] :/usr/obj/usr/src/sys/GENERIC i386
Database Version: 5.1.35
Database Collation: utf8_general_ci
PHP Version: 5.3.3
Web Server: Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 OpenSSL/0.9.7e-p1
WebServer to PHP Interface: cgi-fcgi
Joomla! Version: Joomla! 1.6.0 Beta14 [ Onward ] 15-Nov-2010 23:00 GMT
User Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; en-us) AppleWebKit/533.18.1 (KHTML, like Gecko) Version/5.0.2 Safari/533.18.5

Safe Mode: Off
Open basedir: None
Display Errors: On
Short Open Tags: Off
File Uploads: On
Magic Quotes: Off
Register Globals: Off
Output Buffering: Off
Session Save Path: /var/tmp
Session Auto Start: 0
XML Enabled: Yes
Zlib Enabled: Yes
Disabled Functions: None
Mbstring Enabled: No
Iconv Available: No

dbtype mysql
host xxxxxx
user xxxxxx
password xxxxxx
db xxxxxx
dbprefix jos_
ftp_host 127.0.0.1
ftp_port 21
ftp_user xxxxxx
ftp_pass xxxxxx
ftp_root
ftp_enable 0
tmp_path /site/fastlizardracing/tmp
log_path /site/fastlizardracing/logs
mailer sendmail
mailfrom [email protected]
fromname Fast Lizard Racing
sendmail /usr/sbin/sendmail
smtpauth 0
smtpsecure none
smtpport 587
smtpuser xxxxxx
smtppass xxxxxx
smtphost localhost
debug 0
caching 0
cachetime 15
language en-GB
secret xxxxxxxxxx
editor tinymce
offset America/Los_Angeles
lifetime 15
offline 0
offline_message This site is down for maintenance.<br /> Please check back again soon.
sitename Fast Lizard Racing
list_limit 20
access 1
debug_lang 0
live_site
gzip 0
error_reporting -1
helpurl http://help.joomla.org/proxy/index.php? ... eyref=Help {major}{minor}:{keyref}
xmlrpc_server 0
offset_user UTC
cache_handler file
MetaDesc
MetaKeys
MetaTitle 1
MetaAuthor 1
sef 1
sef_rewrite 1
sef_suffix 1
unicodeslugs 0
feed_limit 10
session_handler database
MetaRights
sitename_pagetitles 1
force_ssl 0
feed_email author
cookie_domain
cookie_path

administrator/components Writable
administrator/language Writable
administrator/language/en-GB Writable
administrator/language/overrides Writable
administrator/language/xx-XX Writable
administrator/modules Writable
administrator/templates Writable
components Writable
images Writable
images/banners Writable
language Writable
language/en-GB Writable
language/overrides Writable
language/xx-XX Writable
media Writable
modules Writable
plugins Writable
plugins/content Writable
plugins/editors Writable
plugins/editors-xtd Writable
plugins/search Writable
plugins/system Writable
plugins/user Writable
cache (Cache Directory) Writable
administrator/cache (Cache Directory) Writable
/u/jrhett/www/fastlizardracing/logs (Log directory) Writable
/u/jrhett/www/fastlizardracing/tmp (Temp directory) Writable

administrator/components Writable
administrator/language Writable
administrator/language/en-GB Writable
administrator/language/overrides Writable
administrator/language/xx-XX Writable
administrator/modules Writable
administrator/templates Writable
components Writable
images Writable
images/banners Writable
language Writable
language/en-GB Writable
language/overrides Writable
language/xx-XX Writable
media Writable
modules Writable
plugins Writable
plugins/content Writable
plugins/editors Writable
plugins/editors-xtd Writable
plugins/search Writable
plugins/system Writable
plugins/user Writable
cache (Cache Directory) Writable
administrator/cache (Cache Directory) Writable
/u/jrhett/www/fastlizardracing/logs (Log directory) Writable
/u/jrhett/www/fastlizardracing/tmp (Temp directory) Writable

SimpleXML

Simplexml support enabled
Revision $Revision: 299424 $
Schema support enabled
Jo Rhett
geek, rambler, racer

jorhett
Joomla! Apprentice
Joomla! Apprentice
Posts: 42
Joined: Mon Apr 23, 2007 6:48 pm
Location: San Jose, CA
Contact:

Re: Newsfeeds don't work in 1.6

Postby jorhett » Wed Mar 23, 2011 5:57 am

No reply on this problem?
Jo Rhett
geek, rambler, racer

jorhett
Joomla! Apprentice
Joomla! Apprentice
Posts: 42
Joined: Mon Apr 23, 2007 6:48 pm
Location: San Jose, CA
Contact:

Re: Newsfeeds don't work in 1.6

Postby jorhett » Wed Mar 23, 2011 7:04 am

If anyone else finds this, ensure that the PHP5 iconv extension is installed and enabled. That was it.
Jo Rhett
geek, rambler, racer

toibantang
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Mar 28, 2012 7:43 am

Re: Newsfeeds don't work in 1.6

Postby toibantang » Wed Mar 28, 2012 7:57 am

jorhett wrote:Login to /administrator on a fresh 1.6 installation
Pull down on Components -> Newsfeeds -> Feeds
Click "Create"
Enter a working feed address that works fine in Joomla 1.5 (in this case http://jorhett.livejournal.com/data/atom )
Enter a name for it.
Click Save
Create a menu item pointing at this feed

Go to main website (not in administrator)
Click menu link
Observe text on screen: "Error loading feed data" and "Error. Feed could not be retrieved."

Look in webserver error log, see messages I quoted above to start this thread: "PHP Notice: The data could not be converted to UTF-8 in /site/libraries/simplepie/simplepie.php on line 1801"

Three obvious followups:
1. The error message is wrong because the data returned is in UTF-8 form.

2. It's not just livejournal, you can pick any valid feed URL and get the same response

3. Could it be a local system issue: sure, but it works in Joomla 1.5 and in Wordpress and in a half-dozen other things that use simplepie so it's something specific to either Joomla 1.6 or the version of simplepie included here.



I'm having this problem. Would you mind if you tell me the rosolution for it.
Thank so much!

Spitz
Joomla! Apprentice
Joomla! Apprentice
Posts: 36
Joined: Thu Apr 02, 2009 4:47 pm

Re: Newsfeeds don't work in 1.6

Postby Spitz » Mon Apr 02, 2012 6:35 am

Hi Jorhett,
the solution can be applied for this problem too?
viewtopic.php?f=627&t=621280

Spitz
Joomla! Apprentice
Joomla! Apprentice
Posts: 36
Joined: Thu Apr 02, 2009 4:47 pm

Re: Newsfeeds don't work in 1.6

Postby Spitz » Wed Apr 04, 2012 8:27 am

Feed's caching problem still persist.
I saw Jorhett's suggestion for resolution (iconv enabled) but this don't apply for me. The iconv is enabled. Still I have this caching problems. Can anyone tell me if it is a bug that is going to be solved, or if it is just for few of us ( viewtopic.php?f=627&t=621280 ), how can it be solved?


Return to “Joomla! 2.5 Bug Reporting”

Who is online

Users browsing this forum: No registered users and 4 guests