Drupal
warning: preg_match() expects parameter 2 to be string, array given in bootstrap.inc
After an upgrade of module Internationalization (i18n), I was getting the following message on a multi-language installation (Drupal 6.16):
warning: preg_match() expects parameter 2 to be string, array given in includes/bootstrap.inc on line 777.
I did not had this problem, when I was logged in or …
warning: preg_match() expects parameter 2 to be string, array given in includes/bootstrap.inc

Na een upgrade van de module Internationalisering (i18n), ik kreeg het volgende bericht op een multi-taal, installatie (Drupal 6.16): warning: preg_match() expects parameter 2 to be string, array given in includes/bootstrap.inc on line 777.
Ik kreeg de melding alleen als ik niet was ingelogd en de …
Collapse text in content
To show and hide contents in Drupal we can use the javascript library in the core and obtain the same effect that we get by default in the collapsible fields of Drupal forms. All is needed is to invoke the script collapse.js in the body of the content (node or block) we are creating: \
<script …
Drupal: Het optimaliseren van de website snelheid

Er zijn verschillende manieren om je Drupal website snelheid te optimaliseren:
- Activeren Drupal caches
- Dagelijks automatische optimalisatie van de database tabellen
Voordat je begint
Voordat je begint om je website te optimaliseren, is het goed om eerst de huidige snelheid te meten. Dit kan …
Installeren van Drupal 6

Voordat je gaat installeren
De aanbevolen omgeving voor Drupal 6 is:
- Appache 1.3 of 2.X gehost op UNIX / Linux
- MySQL 4.1 of 5.0
- Ten minste 3 MB schijfruimte
Meer informatie over de eisen kun je hier vinden: drupal.org/requirements
Deze installatie beschrijving is geschreven om Drupal 6 …
Using Google Analytics on multi-site Drupal
Currently I am using Google Analytics on this website. Google Analytics is a pretty advanced solution for monitoring the website visits.
When activating the Google Analytics account, you will get the advice to copy/paste some PHP code into your site. It is not necessary to do that, you can use the …
Configuration of Ticket Tracking System in Drupal
I wanted to have an issue database for managing projects and I found a comparison of this kind of systems: groups.drupal.org/node/17948
I tried the modules:
In my opinion these 4 modules were the best in the list. The …
Automatic translating content in Drupal by using Google Translate
To translate content on your website, it is possible to use Google Translate. There are 2 ways to do this:
- Translating the website on the client side (in Drupal by using the module GTranslate). The website will be readable in more than 50 languages.
- Translating the content for every language used …
Page not found from Locale javascript translation files
Since I changed some Locale settings, I was getting the following ‘page not found’ warning in my log entries:
| Type | page not found |
| Location | /sites/default/files/languages/nl_b9a0d0f79075a0e581d6f0700086988b.js?3 |
| Referrer … |