Closed (fixed)
Project:
FeedAPI
Version:
6.x-1.6
Component:
Code parser_common
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 May 2009 at 13:46 UTC
Updated:
21 Jun 2009 at 12:40 UTC
warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/egazetec/public_html/sites/all/modules/feedapi/parser_common_syndication/parser_common_syndication.module on line 177.
this is the error I get when I create or refresh a feed. How can I correct this ?
Comments
Comment #1
alex_b commentedLooks like curl is available but PHP is running in safe_mode. Should we fall back to drupal_http_request if PHP is in safe_mode? I also wonder whether this issue affects 1.x as well.
Could you try the developer snapshot of FeedAPI and see whether the bug persists? Keep in mind to back up before that and don't use the developer snapshot in production, it is too buggy at this point.
Comment #2
drupallogic commentedI just updated to 1.7-beta1. Errors are gone.
But I realize that "Promoted items: " is also gone. This is very disappointing.
Comment #3
aron novakWell, "promoted item" setting was the source of the most annoying problems and complainments: http://drupal.org/node/246604
Comment #4
drupallogic commentedI'm very upset as "promoted item" is cruical for me. I have several feeds and one of them has allways the coming day's dates. so this feed's news allways stay at top and no other feed can be seen on the front page. I was setting this feed's feed's promoted item to 0 so it was never going to front page. Can't you add it as an option to next release ???
well there is something strange with FeedAPI 1.6 actually. I have some old sites without this "CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode" error which I use FeedAPI 1.6. there is something strange but I couldn't figure out.