After updating from 6.15 to 6.16....

Now, I am not able to run cron, when I tried to run cron manually, it displays contact page information(without theme) with the following error in last line:

Call to undefined function contact_site_page() in /home/user/public_html/includes/common.inc(1695) : eval()'d code on line 17

Error log says:
Cron run exceeded the time limit and was aborted.

I am using the php script in contact page

<?php
  require_once drupal_get_path('module', 'contact') .'/contact.pages.inc';
  print drupal_get_form('contact_mail_page');
?>

I removed the code & disabled the contact module, then tried again, same error appears

I also tried many times by removing code and clearing catches, but still the same error appears

Finally, I disabled the search and search404 plugins, again tried to run the cron no error displayed.

If I enabled the search module, not able to run cron..

Is there any solution to solve this?

Comments

gpk’s picture

Category: bug » support

Actually others are having a similar problem. Try some of the suggestions at the end of this thread #361171: How to debug cron stoppage problems with bad PHP content (though a user there appears to have had finger trouble in putting the debugging line into the file).

dpearcefl’s picture

Status: Active » Closed (cannot reproduce)

Closing for lack of response.

graham leach’s picture

Version: 6.16 » 6.32
Issue summary: View changes
Status: Closed (cannot reproduce) » Active

This issue still exists on my system

When I have SEARCH installed on my system (until today, 6.32) it gave me this message when I ran cron:

Cron run exceeded the time limit and was aborted.

Disable search and it goes away.

What troubleshooting information do you need to address this? I'm happy to provide it.

UPDATE:

I gave up on this and installed google site search on my site instead.
It works fine...but I do wish this feature worked properly.

pasqualle’s picture

Status: Active » Postponed (maintainer needs more info)

seems like a different issue.
Try the suggestions related to the search module from these answers https://www.drupal.org/node/123269

jkingsnorth’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Closing this as there has been no response, but please reopen the issue if you still require assistance.