Yearly Archives: 2014


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 […]


Custom rss for wordpress

1. make feeds refresh (otherwise it seems cached); in wp-content/themes/ready-review/functions.php, add at the end: add_filter( ‘wp_feed_cache_transient_lifetime’, create_function(‘$a’, ‘return 1;’) ); //1 is timeout value   2. edit wp-includes/feed-rss2.php Go to where it has the description tag and make changes accordingly.  Make sure in wp-admin -> settings -> reading -> For each article in a feed, show, you […]


alt + tab application window switcher (e.g. no grouping of windows) in ubuntu

sudo apt-get install compizconfig-settings-manager sudo apt-get install compiz-plugins Open compizconfig-settings-manager with alt-F2, type ccsm. Scroll down to “Ubuntu Unity Plugin”. Choose the tab “Switcher”. Disable the alt-tab and shift-alt-tab key bindings. (“Key to start the switcher” and “Key to switch to the previous window in the Switcher”. Click the “Back” button. Scroll down to the […]


windows 7 permission issues

If your permissions in windows 7 get messed up, you can: 1. take ownership of all files, recurse, specify default answer to whether or not take ownership to y takeown /f . /r /d y 2. give everyone read permission icacls . /grant:r everyone:r /t /c /q 3. grant and replace existing permissions and give […]