Internet Marketing Strategies and Drupal Tips

Dec 13 2013

Git for Grown-ups

Emma Jane Westby has written a good tutorial on Git, the version control system. It goes into the "why" of Git, not just the commands you need to know to use Git. It's easy to read and appeals to adults method of learning.
Jul 4 2013

Learn to Streamline your CSS code with Sass

I’m learning to use Sass. It stands for Syntactically Awesome Style Sheets. It’s a great way to organize and streamline your CSS code.

Here are some resources to get you started:

1.    Basic Introduction to Sass
This article gives a very good overview of what Sass code looks like.

2.    Installing Sass on Windows
This is a great tutorial on how to install Sass on Windows. This also works on Windows 8

Jun 5 2013

Site Down with General Error: 2006 MySQL server has gone away

I recently got this error message while working on a Drupal 7.22 website. See screenshot.

Sometimes it's hard to find the sollution to this problem. The error message is so wordy and goes on for several lines. When searching Google for a solution, what search phrase do you use? Do you search for "Uncaught Exception in Shutdown Function" or "General Error: 2006 MySQL server has gone away"?

Here are some solutions to this problem.
1. Press F5 on your browser to refresh the screen. For some people, this simple step solved the problem.

2. Edit your my.ini configuration file to increase max allowed packet size.

May 19 2013

Drupalcon Portland May 20-23, 2013

DrupalCon Portland coming up soon! DrupalCon is short for Drupal Conference. It's an international event with over 3000 expected to attend. See

I’m looking forward to keynote by founder Dries on the State of Drupal 8. Dries will present his State of Drupal keynote, revealing the current state of Drupal 8 between Feature Freeze and Code Freeze, also giving a glimpse of what's beyond Drupal 8 after we have a successful release. Here’s a list of the keynote speakers:

May 17 2013

Seascape Web Design is Now Seascape Web Interactive

Seascape Web Design is in the process of rebranding. What do you think of our new logo?
According to Wikipedia,
“Interaction design is about shaping digital things for people’s use.  It is also defined as the practice of      designing interactive digital products, systems, and services.”
Here at SeascapeWeb, we believe the word “interactive” more accurately describes what we love to do. Hence, the name change.
We will continue to provide top-notch web design and development services to business owners, entrepreneurs and non-profits. We look forward to working with you.
Sorry, we’re busy right now. We’re currently unavailable to take on any new work until June 1st.
Feb 25 2013

Surrey Drupal Meetup: Mar. 14, 2013: Mapping in Drupal 7 with Open Layers

Join us on March 14, 2013 at 6:30 pm for Mapping in Drupal 7 - Using OpenLayers

Our next meetup is Thursday, March 14, 2013. We are back to our regular meetup date.

We are excited to have a guest speaker, Renee Stephen of at our next Drupal meetup. Renee will be presenting on:

- Create interesting, attractive location-based maps
- configure a map to use different layers or tilesets (even add your own!)

Feb 25 2013

How to setup multi-sites for Drupal 6 and Drupal 7

Setting up a multi-site for Drupal can be beneficial in several ways. Multiple Drupal sites are sharing the same codebase. This makes updating Drupal modules simpler since you only need to do it once for all the sites in the multi-site installation. Each site has its own database, theme and unique modules. Here is a tutorial on how I set up a multi-site installation for Drupal 6. The procedure is much the same for Drupal 7. I’m using a managed VPS with LAMP stack, cPanel and WHM. (Web Hosting Manager) Also: CentOs 4.7/Apache 2.x/mySQL 5.0/PHP 5.2
Feb 13 2013 : Handy tool – Beware of errors

I was excited to learn about this website, It generates a Drush Make file which is a script for Drush, the Drupal Shell. It allows Drupal developers to download and install Drupal core and contributed modules using command line.

I recently used to generate a simple Drush make file to build a simple blog site. But it wouldn’t work due to the following errors:

1.    Error message: could not locate drupal version 7

Feb 13 2013

Surrey Drupal Meetup - Feb. 13, 2013: What’s New in Drupal 8?

Our speaker tonight is not able to make it due to illness. We will be watching a video presentation on "What's New in Drupal 8" by Chris Weber of He gave this presentation to his Drupal User group.

While I was searching the Internet for a good video to show tonight, I did some research on the new features in Drupal 8. The following article outlines what I found. Credits:

Drupal 8 has been in development since March 2011 and is now in Feature Freeze. This means that no new features will be added to Drupal 8. Drupal 8 is planned to be released in Sept. 2013. Here is a brief description of the new changes in Drupal 8:

Theming Changes
-    Drupal 7 uses PHPTemplate to produce themes
-    Drupal 8 will be using the Twig framework theming engine
-    Twig will simplify theming by using better code. See Jen Lampton’s talk at DrupalCon Sydney –
-    Twig allows templates to be compiled down to PHP code which is stored in RAM for superior performance as it reduces disk access

Feb 12 2013

Drush Make is now working on Vagrant/DLAMP server on Windows 8

I recently purchased a new Samsung laptop with Windows 8. The 16 GB SSD drive makes it quick to start up and the 8 GB of RAM makes all my software run smoothly. I haven't used many of the Apps; I click on a square and the familiar desktop appears.

I recently installed a Vagrant server using a chef script written by Jeff Eaton of Lullabot. It works great on my Windows 7 laptop. See my blog post: Installing Vagrant DLAMP server on Windows 7 PC

I installed the Vagrant/DLAMP server on my Windows 8 laptop last evening. I needed to do a Google search to find the Windows command line. (Press Windows button then R and type cmd). Windows 8 blocks even administrators from editing the hosts file. I did a search for Notepad and clicked 'Run as administrator' and I was able to edit the hosts file.

The Vagrant/DLAMP server comes with Drush installed. I used the command 'drush dl' to download Drupal 7.19. I installed Drupal and it works well.

I went to and created a drush make file. I tried to run it on my new Vagrant/DLAMP server but it didn't work. I need help to troubleshoot this problem. Perhaps it's a path problem.

Update: Turns out the Drush make file generated by had several errors in it. See upcoming blog post for the details. The Vagrant/DLAMP server including Drush make does work well on Windows 8 PCs.