Closed (won't fix)
Project:
FeedAPI
Version:
5.x-1.x-dev
Component:
Code feedapi (core module)
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jan 2008 at 19:57 UTC
Updated:
19 Oct 2009 at 22:29 UTC
Error:
White screen when refreshing feed.
Module:
parser_simplepie
PHP Versions
PHP 5.2.4
PHP 5.2.2
Platforms
Mac OS X (standard configuration with mysql 5)
Windows XP (xampp package)
Error does NOT occur with
on Windows XP with PHP 4.4.7
I could trace the error once to the preg_replace_callback() call in
normalize_url()
The error does not occur if in parser_simplepie.module I return "XML feed" instead of testing compatibilty. (add return "XML feed"; right after case 'compatible': in parser_simplepie_feedapi_feed() hook implementation.
Comments
Comment #1
alex_b commented"I could trace the error once to the preg_replace_callback() call in
normalize_url()"
...
in SimplePie_Misc, simplepie.inc.
This might be an error that needs to be fixed in simplepie .
Comment #2
alex_b commentedZend seems to be involved in this: the apache error log logs a
error when the white screen comes up.
Comment #3
jbowman commentedare you using php 5.2.x? I believe there are some problems associated with the upgrade from 5.1 to 5.2. I believe str_ireplace was one of the functions notorious for kicking off this bug.
Comment #4
Rob T commentedThis error happens for me as well (php 5.2.4, drupal 5.5). I ended up uninstalling and then installing my older copy of FeedAPI beta1, which worked just as it does on another site of mine.
Comment #5
jose reyero commentedSame problem here,
I'm using PHP 5.2.3 / SimplePie 1.1 / Apache 2.2.5 / Ubuntu Gutsy
Blank page and this error in Apache logs
[Mon Jan 07 19:36:55 2008] [notice] child pid 24255 exit signal Segmentation fault (11)
Comment #6
jose reyero commentedI've just tried the latest devel version of SimplePie and the issue seems to be fixed. It's working for me.
Comment #7
Ian Ward commentedSame problem. On my PHP 5.2.4 Apache 2 with Simplepie 1.0.1 I had no issues. Then I moved to 5.2.5 Apache 2 and I got the white screen on refresh. The following page returned "Could not refresh feed." When I switched to the devel version of Simplepie as did Jose, it fixed the issue and aggregated fine. I did not see a seg fault in my logs though.
Comment #8
alex_b commentedI can confirm this problem also with
SimplePie 1.1
(Apache 2, PHP 5.2.4)
I can also confirm Jose's experience that the latest development version of SimplePie (I grabbed the latest tarball) fixes the issue.
Comment #9
alex_b commentedI push this to won't fix as this is obviously a simplepie issue.
Comment #10
alex_b commentedFor the time being I added a stop gap to this issue which "fixes" the whitescreen issue for most people, but removes feed type detection:
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/feedapi/par...
While this is clearly no solution, this will remove a stumble stone for beginners, while it is an easy thing for advanced developers to remove those two lines in their installation.
Once simplepie 1.2 rolls out, we can remove those two ugly lines (Task http://drupal.org/node/210385)
Alex
Comment #11
bertboerland commented1.2 is out for a long time now. is there a status update?
Comment #12
alex_b commentedI can't tell you OTOH. If you're experiencing WSODs however, make sure it's not because of hitting the PHP memory limit.