CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Civimail cron broken after upgrade to 3.2
Pages: [1]

Author Topic: Civimail cron broken after upgrade to 3.2  (Read 1070 times)

glendaviesnz

  • Guest
Civimail cron broken after upgrade to 3.2
August 08, 2010, 05:59:51 pm
Hi
On our drupal integrated civicrm install the civimail cron jobs stopped working after we upgraded to 3.2 on Friday. When we try running
/sites/all/modules/civicrm/bin/civimail.cronjob.php?
or
/sites/all/modules/civicrm/bin/CiviMailProcessor.php

from web browser  or wget, we get redirected back to

/sites/all/modules/civicrm/bin/

with an access denied message. We are passing in the username and password and key, eg.
?name=adminuser&pass=topsecret&key=blahblahblah'

I have tried debugging and it seems to accept username, password and key ok, but appears to be failling when the user authentication part goes through to the drupal user_module_invoke function.

Any ideas anyone?

Glen

glendaviesnz

  • Guest
Re: Civimail cron broken after upgrade to 3.2
August 08, 2010, 07:28:41 pm
Ok - after a bit more debugging on user_module_invoke have discovered it was due to another drupal module "Login destination" which was causing the civimail cronjob to redirect after the drupal authentication process had completed. Have disabled this module and we are back in business. Civicrm was playing nicely with the module before the upgrade, but obviously something changed in 3.2 that broke - not a major at this stage as we can live without that module.

Glen

grahamgilchrist

  • I post occasionally
  • **
  • Posts: 70
  • Karma: 3
Re: Civimail cron broken after upgrade to 3.2
October 13, 2010, 07:18:52 am
Same here.
CiviMail cron was working fine on 3.1.3 but now doesn't work on 3.2.3

We don't have the Login Destination module but do have some custom modules that do stuff with the user object on login. Unfortunately these are business critical modules which we can't disable. Do you think this could be interfering?

I found it does run when I comment out the line:
CRM_Utils_System::loadBootStrap(  );
in civimail.cronjob.php

This issue may be related to these:

http://forum.civicrm.org/index.php/topic,15472.0.html
http://issues.civicrm.org/jira/browse/CRM-6691

karunadave

  • I post occasionally
  • **
  • Posts: 50
  • Karma: 0
    • Karuna Dev
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 6.30 or Drupal 7.26 Drush 6.2.0
  • MySQL version: 5.5.35-cll - MySQL Community Server (GPL)
  • PHP version: 5.3.21
Re: Civimail cron broken after upgrade to 3.2
October 17, 2010, 09:58:14 am
I have had similar trouble.  After reading several forum post on the 3.2.3 issue, I have tried making the Drupal account referenced in the civimail.cronjob.php?name=<account> a Drupal site administrator.  Now it works.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Civimail cron broken after upgrade to 3.2

This forum was archived on 2017-11-26.