How to fix redirects after running cron.php

Tags: 

Problem:
When running cron.php (with browser or from the Reports page) you getting redirects to some pages

Fix:
Looks like there are some drupal_goto exists in hooks. In my case the problem was in the custom module in hook_nodeapi.

So remember, If you use Apache Solr integration module (or other module, which runs miscellaneous hooks on cron), it will run through the hook_nodeapi('view') on cron to index content, and if you have drupal_goto there, then you're busted.

Trackback URL for this post:

http://alexisyes.com/trackback/56

No comments

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.