Designed to
delight
we design & develop
exceptional Drupal websites
The Beatles
 
Designed to
inform
we design & develop
exceptional Drupal websites
 
Designed to
unite
we design & develop
exceptional Drupal websites
SGI UK
 
Designed to
inform
we design & develop
exceptional Drupal websites
 
Designed to
delight
we design & develop
exceptional Drupal websites
 
Designed to
entice
we design & develop
exceptional Drupal websites
 
Designed to
engage
we design & develop
exceptional Drupal websites
 
Designed to
convert
we design & develop
exceptional Drupal websites
 
Designed to
motivate
we design & develop
exceptional Drupal websites
 
Designed to
delight
we design & develop
exceptional Drupal websites
 
Designed to
influence
we design & develop
exceptional Drupal websites
 
Designed to
delight
we design & develop
exceptional Drupal websites
 
Designed to
inform
we design & develop
exceptional Drupal websites
 
Designed to
convert
we design & develop
exceptional Drupal websites
Clovis Canopies
 
Designed to
network
we design & develop
exceptional Drupal websites
 
Designed to
motivate
we design & develop
exceptional Drupal websites
 

David's blog

Settings up Drush on a Windows PC

The problem with Drush on Windows

Windows just isn't geared up to work with Drush out the box for things like site alises, sql-sync, rsync etc.

The Solution

Site aliases

Site alias commands involving SSH will fail because drush will use single quotes rather than double quotes. To solve this, you just need to add a os setting to the drush alias file like this: -

site:
  os: Windows

That's it. Now when the command is concatenated, it will know you are using Windows and use the double-quotes.

Aptana Studio "Not Responding" at startup

So this is strictly Drupal, but it's a useful post which will hopefully help others who may have this problem.

I use PHPStore or Aptana Studio 3 for developing in Drupal. Aptana is a great IDE in my opinion. Occasionally it gets into a mess and hangs every time I launch it and Windows reports and Aptana Studio 3 is not responding - very annoying.

The simple fix is to remove the .markers file from the project which could be causing the issue. This file (as far as I know) contains break points, so you'd need to re-add them to your project.

Overriding PHP.ini settings in Drupal's settings.php file

Here are a couple of useful tips for making development and debugging easier. I've written this primarily as a note for myself but maybe it's prove useful to others as well.

To force PHP to display any errors in Drupal on screen instead of just 500 server error pages add these lines: -

ini_set('error_reporting', E_ALL);
ini_set('display_errors', 'stdout');

To up the memory limit add this line: -

ini_set('memory_limit', '64M');
Subscribe to RSS - David's blog