An error occurred. http://www.mysite.com/mysite/update.php?id=67&op=do
Fatal error: Call to undefined function feeds_reschedule() in /home/autop5/public_html/subdomain/sites/all/modules/feeds/feeds.install on line 557

This occurs after running update php on newest feeds version.

When I proceed to error page, I get this:
user warning: Unknown table 'feeds_schedule' query: DROP TABLE feeds_schedule in /home/autop5/public_html/mysite/includes/database.mysql-common.inc on line 261.

The update process was aborted prematurely while running update #6012 in feeds.module. All errors have been logged.

Files: 

Comments

alex_b’s picture

Title: Error message » undefined feeds_reschedule() when upgrading
Status: Active » Postponed (maintainer needs more info)

What version do you upgrade from?

The situation looks very strange. It's almost like you're upgrading on a site that has a Feeds beta 7 schema, a beta 7 .install file, and a beta 5 .module file..

Please make sure that prior to upgrading you've replaced (i. e. removed old directory, moved new directory in place), not overwritten your existing feeds directory.

apmsooner’s picture

I upgraded from beta 5 and did all of the following. Maybe an isolated issue so I just uninstalled and deleted all the old files to get a completely fresh beta 7 install and everything is good now. Thanks.

Irous’s picture

Same thing happened to me, same error. Updating from beta 5.

The update process was aborted prematurely while running update #6012 in feeds.module. All errors have been logged. You may need to check the watchdog database table manually.

An error occurred. http://www.mysite.com/update.php?id=151&op=do
Fatal error: Call to undefined function feeds_reschedule() in /var/www/vhosts/mysite.com/httpdocs/sites/all/modules/feeds/feeds.install on line 557

Logged error:
Unknown table 'mysite_feeds_schedule' query: DROP TABLE mysite_feeds_schedule in /var/www/vhosts/mysite.com/httpdocs/includes/database.mysql-common.inc on line 261.

alex_b’s picture

Status: Postponed (maintainer needs more info) » Needs review
FileSize
1.65 KB

Please apply this patch and let me know whether this works. Relying on the module's API function again turns out to be not advisable. I may commit this patch rather sooner than later.

alex_b’s picture

Title: undefined feeds_reschedule() when upgrading » undefined feeds_reschedule() when upgrading (feeds not updating on cron)
Priority: Normal » Critical

This issue is critical, overlapping bug reports at the end of the thread here: #705444: Feed Nodes don't import on Cron with Feeds Beta7 + Job Scheduler

alex_b’s picture

FileSize
2.29 KB

Improved patch, will reschedule feeds for all versions, also from beta7.

Testing now and committing soon.

alex_b’s picture

Title: undefined feeds_reschedule() when upgrading (feeds not updating on cron) » Fix undefined feeds_reschedule() when upgrading (feeds not updating on cron)
Version: 6.x-1.0-beta7 » 6.x-1.x-dev
Status: Needs review » Fixed

This is committed now. Thank you for reporting.

http://drupal.org/cvs?commit=427334

Status: Fixed » Closed (fixed)

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