0

When running the cron by visiting or curling the URL:

A session is active. You cannot change the session module's ini settings at this time in drupal_environment_initialize()

Any advice? I'm suspicious of my permission settings.

I have a specially created cron user, who has admin permission.

Drupal 7.56 v.4.7.22

1 Answer 1

1

this is not a direct answer to your question, but you should run the cron from the cli - eg. using drush on drupal -. it bypasses all the problems and limitations of a webserver, eg timeout or memory...

as for your message, i have the same configuration and i do not experience the problem. did you change something on how the session is managed on drupal?

3
  • Thanks for the response, I'll give it a go and let you know how I get on.
    – JohnFF
    Commented Jul 18, 2017 at 22:46
  • Fixed up some permission issues (indicated by drush) and then it fixed up. Thanks for the assist.
    – JohnFF
    Commented Jul 19, 2017 at 0:45
  • For anyone looking, my command is 00 * * * * cd /var/www/drupal && /usr/local/bin/drush --quiet civicrm-api -u 1 job.execute
    – JohnFF
    Commented Jul 19, 2017 at 22:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.