I'm not a big fan of Drupal, but every now-and-then a client is a fan and requires the usage of Drupal. So, I've created this to keep track and share all the ridiculous Drupal finding that I come across.
ConfigurationsManually setting the website into maintenance mode by putting the following in sites/default/settings.php:
$conf['maintenance_mode'] = TRUE;
Whether attempting to use Drush to debug through command line or accessing the admin panel. if you receive either of the following:
Drush command terminated abnormally due to an unrecoverable error. [error] Error: Class 'RulesEventHandlerEntityBundle' not found in ...
Got error 'PHP message: PHP Fatal error: Class 'RulesEventHandlerEntityBundle' not found in /var/www/vhosts/lola.lu/rak.lola.lu/sites/all/modules/rules/modules/node.rules.inc on line 147
$update_free_access = TRUE;
Don't forget to update $update_free_access back to FALSE !
drush dl registry_rebuild drush up rules drush updatedb drush rr drush cc all