[support] Corrupt Registry Issue

Gibbs linux at danielgibbs.net
Sun Sep 1 19:03:17 UTC 2013


Hi,

I am having issues with the Drupal registry becoming corrupt. I installed
7.23 as usual (I have Drupal outside the document root and symlink the
necessary directories).

Whenever the cache is flushed or a module is enabled I get this error (or
similar):

Fatal error: Class 'DrupalDefaultEntityController' not found in

/home/user/site.co.uk/drupal/modules/comment/comment.module on line 1694


When this happens I use a module called registry rebuild and visit
www.site.co.uk/sites/all/modules/registry_rebuild/registry_rebuild.php.
This outputs:

DRUPAL_ROOT is /home/user/site.co.uk/drupal.

Bootstrapping to DRUPAL_BOOTSTRAP_SESSION

Bootstrap caches have been cleared in DRUPAL_BOOTSTRAP_SESSION

Doing registry_rebuild() in DRUPAL_BOOTSTRAP_SESSION

Bootstrapping to DRUPAL_BOOTSTRAP_FULL

Doing registry_rebuild() in DRUPAL_BOOTSTRAP_FULL

Flushing all caches

There were 102 files in the registry before and 171 files now.

If you don't see any crazy fatal errors, your registry has been rebuilt.


That works! However it doesn't fix the problem. Whenever a module is
enabled or the cache is flushed the problem repeats itself.

Does anyone have any ideas or pointers on how to resolve this? I have
downloaded Drupal again and overwritten the files but the problem
persists.

Cheers!

Gibbs


More information about the support mailing list