Posted by netdesignate on December 2, 2012 at 9:55pm
I upgraded Drupal from 6.x to 7.x some tiume ago, and have been grappling with this issue for some time:
don@etiikka:$ sudo drush @jbt cron
PHP Fatal error: Call to undefined function db_result() in /var/www/XXX.com/modules/php/php.module(80) : eval()'d code on line 2
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Call to undefined function db_result() in /var/www/XXX.com/modules/php/php.module(80) : eval()'d code, line 2 I have tried disabling any key modules (twitter & OAuth seemed the most likely candidates, so I completely removed them - no change, then re-installed) but the issue remains. Have cleared cache repeatedly after any change, & I continue to get the error.
I also did a reset of the file ownership settings etc. checked everything I can think of.
Also reset the settings on .htaccess
The "Status Report" is all green except for Cron failing.
Does anyone have any bright ideas ?
Comments
Update: I installed
Update: I installed "elysia-cron" and now cron runs without errors.
I would still like to know why the default cron fails, but at least it is resolved...
Webmaster, cityethics.org, jaxbeachtech.com
It looks like some PHP code
It looks like some PHP code you inserted into a node using the PHP input filter was the culprit. Cron runs as an anonymous user, so maybe it was a permissions issue.
Jaypan We build websites