Recently I was trying to get the Node.js integration module running on my localhost with drupal running under a sub-directory and running into a few issues. The main item being that the configuration... Read more
CrossFit Pandemic
Just launched the latest website designed and developed by me! This was made for a local CrossFit gym, CrossFit Pandemic. They are great people and a great gym to get intense workouts. Check out the site and... Read more
The features module is a great module for maintaining multiple instances of a Drupal site (e.g., dev, test, prod). Whenever I added a new context , view or content type to the site and wanted to... Read more
Drush Logo
Ever needed to just clear a single page from the Drupal cache on a live, heavily trafficked site? Enjoy! drush sqlq "DELETE FROM cache_page WHERE cid = 'http://example.com/'" Or if you're using aliases: drush @your_alias sqlq... Read more
By far the best tutorial out there; quick and to the point.
http://toroid.org/ams/git-website-howto
I wanted to write a quick script that would send an email reminding me of how much time was left until a particular event. This is what I came up with! <?php
/**
 * Sends an email with a 'time left' reminder
 */ /**... Read more
Keys
I recently upgraded my hosting package with 1and1 and now able to use SSH to connect to my webserver! There were a few different places out there that I had to piece together in order to setup my SSH keys with the 1and1 server so I decided I would... Read more
Menu Icon
Recently, someone was asking me how to modify the items of a particular menu within a Drupal powered site. In particular, they wanted to modify all but the last menu item. This is where the Drupal API comes to the rescue with its... Read more
Front yard
Here are some pictures of the house...

Pages

Subscribe to Front page feed
| Gerrit Brands

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /homepages/29/d196880538/htdocs/drupal7/includes/common.inc:2681) in drupal_send_headers() (line 1212 of /homepages/29/d196880538/htdocs/drupal7/includes/bootstrap.inc).
  • PDOException: SQLSTATE[42000]: Syntax error or access violation: 1142 INSERT command denied to user 'dbo354826752'@'74.208.16.6' for table 'watchdog': INSERT INTO {watchdog} (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9); Array ( [:db_insert_placeholder_0] => 0 [:db_insert_placeholder_1] => cron [:db_insert_placeholder_2] => Attempting to re-run cron while it is already running. [:db_insert_placeholder_3] => a:0:{} [:db_insert_placeholder_4] => 4 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://gerritbrands.com/blog [:db_insert_placeholder_7] => [:db_insert_placeholder_8] => 23.20.130.128 [:db_insert_placeholder_9] => 1498435790 ) in dblog_watchdog() (line 154 of /homepages/29/d196880538/htdocs/drupal7/modules/dblog/dblog.module).

Error

The website encountered an unexpected error. Please try again later.