Category Archives : drupal


Drupal site not loading

Drupal site just sits there loading and eventually times out?  Check sites/default/settings.php.  In particular, you may be loading stuff that will slow you down/bring your site to a halt.  For instance, try commenting out: $conf[‘cache_backends‘][] = ‘sites/all/modules/memcache_storage/memcache_storage.inc‘; $conf[‘cache_default_class‘] = ‘MemcacheStorage‘; $conf[‘cache_class_cache_form‘] = ‘DrupalDatabaseCache‘; $conf[‘cache_backends‘][] = “sites/all/modules/memcache/memcache.inc“; $conf[‘cache_default_class‘] = ‘MemCacheDrupal‘; $conf[‘cache_class_cache_form‘] = ‘DrupalDatabaseCache‘; Or any one that […]


Upgrade drupal manually

To update drupal manually, download and unzip drush, then go into the directory where you unzipped, and run: ./drush pm-update projects drupal-7.33 -r  <path to your drupal installation>   I later had to rebuild content access permissions. With drush:   sudo ./drush php-eval ‘node_access_rebuild();’ -r<path to your drupal installation> -y -l http://<url> -v I had […]


mod_status results in 404 page not found in drupal

with default config, you get 404 when accessing http://localhost/server-status with mod_status enabled. Try adding:   RewriteCond %{REQUEST_URI} !=/server-status to .htaccess. i.e. only do the rewrite thing if request isn’t for server-status. so your .htaccess would look like this: # Pass all requests not referring directly to files in the filesystem to # index.php. Clean URLs […]


Drupal speed

Significant speedup:   APC <- alternative php cache view cache (under view’s configuration:   View content cache:  http://drupal.org/project/views_content_cache css/js aggregation: https://drupal.org/project/advagg   Other modules:  Boost, authcache   Configuration -> Development -> performance:  enable whatever cache checkbox you see. Disable developer module putting ?blah after css and javascript files, since this prevents caching.


Drupal slow

change /etc/hosts.  For every entry related to local host (INCLUDING ipv6 entries), map to localhost, e.g.: ::1     localhost #ip6-localhost ip6-loopback fe00::0 localhost #ip6-localnet ff00::0 localhost #ip6-mcastprefix ff02::1 localhost #ip6-allnodes ff02::2 localhost #ip6-allrouters