drupal 6.x

Drupal Cron Run Failing and Timing Out

So I was trying to manually run cron.php on a drupal site, and it was timing out because the cron job couldn't finish. The cron job is quite intense, and I'm sure it isn't finishing because I am trying to run it during the day on a busy site. So in order to tell Drupal to forget about your last cron attempt:

  1. go into your drupal database
  2. go into the 'variable' table
  3. sort by the 'name' column ascending order
  4. look for any variable names beginning with 'cron_' and delete them

Here are some MySQL queries that should get the job done:

List of United States and Abbreviations in Various Code Forms

PHP

From abbreviation to name...

Drupal - Fatal error: Allowed memory size exhausted

Drupal can be a memory hog, it's very hungry. Occassionally you may run out of memory when trying to enable a module or some other feature. If this happens, you'll probably see a message similar to the following

Fatal error: Allowed memory size of # bytes exhausted (tried to allocate # bytes) in includes/database.mysqli.inc

To fix this problem, I opened my sites/default/settings.php and added the following php ini setting:

Pages

Subscribe to RSS - drupal 6.x