Drupal: execution order of modules

Ever wondered which module gets executed first? By default, every module has a weight of zero. If you want a module or its hooks to be executed first, you have…

Read more »

Drupal: user suddenly logged out

In case you’ve installed Varnish but not Pressflow (for Drupal 6), following scenario may happen: User A logs is, gets sessionid A User A changes something and loads a new…

Read more »

Mollom (Drupal) returns 401: unauthorized

This one gave me headache: the Mollom module in Drupal 6 returned a 401: unauthorized. However: there was no firewall, no incorrect key, and I really got a response back…

Read more »

bambooinvoice on nginx

Bambooinvoice is supposed to work with Apache, althoug it can also run on nginx. These are the rewriterules: location @rewrite { rewrite ^/index.php/(.*)$ /index.php?$1; }

Read more »

How to install XHProf (for Drupal)

Key manual: http://techportal.ibuildings.com/2009/12/01/profiling-with-xhprof/ Install XHProf I made sure xhprof-0.9.2 was installed inside the www-directory of the webserver. wget http://pecl.php.net/get/xhprof-0.9.2.tgz tar xvf xhprof-0.9.2.tgz cd ./xhprof-0.9.2/extension/ phpize ./configure –with-php-config=/usr/local/bin/php-config sudo make sudo…

Read more »

How to speed up Drupal

Let’s face it: Drupal can be a snail. When you attract lots of visitors, or have a lot of content, you performance will go down. To speed up Drupal, you…

Read more »

Install Varnish (with Drupal and Nginx)

This articles covers the installation and configuration of Nginx+Varnish+Drupal6(Pressflow) and also about the Purge module. This article assumes: you are no Drupal newbie you know about the default Drupal caching…

Read more »

Change cron settings through a terminal

Making changes to cron in a terminal is a rather dodgy process (if you’re used to Windows). 1) Log on to the server, type: crontab-e You’ll notice it’s a read…

Read more »

Eclipse “drupal settings”

When you want to manage a Drupal website with Eclipse, you might want to alter these settings: Window- > preferences (not tools->preferences) General -> content types -> php content type…

Read more »

Change location Firefox

To change the location of your Firefox-profile folder (or to move it to another computer): Copy the folder of your profile to the new location (the folder mostly has a…

Read more »