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
Comment #1
gpk commentedActually 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).
Comment #2
dpearcefl commentedClosing for lack of response.
Comment #3
graham leach commentedThis 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.
Comment #4
pasqualleseems like a different issue.
Try the suggestions related to the search module from these answers https://www.drupal.org/node/123269
Comment #5
jkingsnorth commentedClosing this as there has been no response, but please reopen the issue if you still require assistance.