Closed (fixed)
Project:
FeedAPI
Version:
6.x-1.6
Component:
Code parser_common
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Oct 2008 at 11:43 UTC
Updated:
25 May 2009 at 07:44 UTC
Jump to comment: Most recent file
Comments
Comment #1
peter.walter commentedChange was also added to PHP5.1.5 (http://www.php.net/ChangeLog-5.php#5.1.5)
Comment #2
aron novakAs a workaround i suggest you to disable cURL support. You can do that by editing parser_common_syndication.module, line 145 and instead of :
$curl = function_exists('curl_init');replace it to:
$curl = FALSE;Comment #3
tingtong commentedI set according to your suggestion and the warning error disappear. What is the disadvantage of setting it "FALSE"? I have no idea what is it.
Comment #4
aron novakI committed a fix. In safe mode, common syndication parser uses drupal_http_request.
Comment #5
niklp commentedYAY! And here was me making a note of the hack :)
Thanks Aron, nice one!
Comment #7
niklp commentedI still get this bug even with feedapi 1.x from today :(
Is there a check in place for safemode now - and if so, does that mean it's open_basedir that's causing this to bork on my setup?
Doesn't the check work for both...? :/
I'm a little confused.
Comment #8
aron novakCan you attach the content of 'admin/reports/status/php' ?
Comment #9
icecreamyou commentedI have the same error. safe_mode is off. PHP 5.2.8, MySQL 5.0.
Comment #10
icecreamyou commentedComment #11
virtualdrupal commentedI'm having the same issue trying both the 6.x-1.6 and the dev right now
Comment #12
j4 commentedI am also getting the same problem :-(. Is there a fix?
Thank you
Comment #13
aron novakToday i committed a fix. The next daily dev package will contain it. Please test it if it helps.
Comment #14
icecreamyou commentedSeems to have worked for me. Thanks.
Comment #15
j4 commentedSorry to appear dumb, but where do i find the version with the fix. Also i see that pormanscron should not be switched on with feedapi. Any explanations for what happens if both are on. Thanks for looking into this.
Warm regards
Jaya
Comment #16
aron novak1) http://ftp.drupal.org/files/projects/feedapi-6.x-1.x-dev.tar.gz
2) Poormanscron does not follow the way how Drupal normal cron run works. This is the problem: http://drupal.org/node/119094
Comment #17
j4 commentedHi Thank you. Did download and use the new feedapi. Now the items are pulled in but I am still getting the warning
warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/idein7/public_html/thebrandyou.com/modules/feedapi/parser_common_syndication/parser_common_syndication.module on line 177.
And the feed items are not visible in the feed page but are visible when i go to admin/content. Could you please tell me where i am going wrong?
Thanks once again
Jaya
Comment #19
drupallogic commentedI also get this error. strange thing is some of my Drupal sites are giving this error some not. they are all under the same account though. really strange. hope someone fixes this.