FeedAPI doesnt woks after drupal 6.14 upgrade. Aggregator module works fine, but feedapi doesnt find new items when cron runs. Feeds only refresh manually. Thanks for any help.

Comments

Title:FeedAPI doesnt woks after drupal 6.14 upgradeFeedAPI doesnt update on cron run after drupal 6.14 upgrade

I can confirm that this is a problem.

Priority:Normal» Critical

This is caused by a change in 6.14 to common.inc which clears out the max_execution_time setting of PHP when running cron:

function drupal_cron_run() {
  // Try to allocate enough time to run all the hook_cron implementations.
  if (function_exists('set_time_limit')) {
    @set_time_limit($time_limit);
  }

This is meant to make the cron max exec time unlimited, but feedapi (and other modules) that attempt calculations based on max_execution_time in order to limit their cron time usage more or less barf. For example, this change causes feedapi_cron_time() to always return 0, meaning that feedapi will no longer run.

It's not clear what the right solution is here and it is somewhat disconcerting given that several other modules make use of this PHP setting for calculations.

Status:Active» Fixed

In -dev, it's already fixed. However this change in core is painful.

$max_exec_time = ini_get('max_execution_time') == 0 ? 120 : ini_get('max_execution_time');

For the record, the issue for the fix in #3 is here: #350788-33: Feeds not refreshing on cron - until a FeedAPI 1.9 beta 1 is out, please apply the patch from there.

Haven't updated to 6.14 yet and need to make sure I'm clear on what to do.
I gather that 6.14 will break FeedAPI updating, but the patch to fix that is here: http://drupal.org/node/350788#comment-1971190?

Or can I just as easily install the latest FeedAPI dev and fix it that way?

No need to patch if you install the beta.
See: http://drupal.org/node/581484

Any other issues involved with this beta?

Only to note - the patch for this core bug can be found at #193383: set_time_limit: Centralize calls and prevent warnings and errors or now in D6-DEV.

Subscribing.

Upgrading to FeedAPI 1.9 beta worked for me too...

But where is "Promoted items" parameter in feedAPI 6.x-1.9 content types configuration?
Now the cron runs but new feed items aren't published in fronpage.
Thanks

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Priority:Critical» Normal
Status:Closed (fixed)» Active

Sorry I don't know if it's bad etiquette to open something that's already been closed, but this was the first thing that came up in my search.

I'm up to date on all of my modules and core 6.14. My feedAPI version is 6.x-1.9-beta2.

I'm also experiencing the problem of my RSS feed of images from a Flickr group that's not updating. The core aggregator has no issue, but I have to refresh manually to receive the new images.

Excellent module overall, just curious as to what to do about this. Thank you.

Same issue here. Drupal 6.14 and FEEDAPI 1.9 beta 2
Only manual, new feeds are added.
Cron does not seem to work.

subscribe

Version:6.x-1.8» 6.x-1.9-beta3

How to apply the patch ?

Ether, there is a handbook section on applying patches.

For what it's worth, I was still having a problem after updating to 6.x-1.9-beta3. I applied the patch linked to from comment #15 and that fixed the issue for me.

Or you can upgrade to the 6.15 release....the patch is rolled into that one for you: http://drupal.org/node/661600

Status:Active» Closed (fixed)

Between this been mostly dealt with in feedapi and the fix in core I think this really is closed now.

Same problem. Subscribe.