Tag Archives: Drupal

Switch over from Drupal to your new WordPress installation

This article is the last part of the migration/conversion/import of Drupal to Wordpress. In this article we are going to switch to the new Wordpress installation.

Before we are able to switch over to the new Wordpress installation, we need to do the following steps. The tools you need depends on your installation or hosting provider. You can use FTP, SSH, webbased filemanager etc.

Continue reading

Migrate/convert/import the Drupal 6 database to WordPress 3

This article contains all migration steps and the database conversion script.

Installation of Wordpress

  1. Download Wordpress and unzip this file on your webserver. Detailed instructions for installing Wordpress can be found here: Installing WordPress, install Wordpress first in the /wordpress directory.
  2. First create an empty database for Wordpress, to achieve this phpMyAdmin can be used
  3. Open the URL to your Wordpress installation and do the initial configuration.
  4. After the Wordpress installation, remove the post “Hello world” permanently, also remove the “About” demo page.

Continue reading

How to make Drupal functionality in WordPress

Finding solutions in Wordpress plugins for the “missing” functionality

I am using the following Wordpress plugins for replacing the Drupal functionality and modules.

Drupal content type: Book page

In the Drupal core the content type book page is available. It allows you to connect posts with each other, and it is easy to navigate through the next post in a book. Also easy to change the order of posts in a book. I found an even better solution in Wordpress, the Organize Series plugin. I like it a lot, because in every post the table of content is generated. I called it in my website “Guide” instead of series. It works very well and was available for the latest Wordpress version.

Continue reading

Why switching from Drupal to WordPress?

The reason

A few years ago I used Wordpress, but I missed more advanced functionality. In that time I did a comparison between Wordpress, Joomla and Drupal. You can read this here (in Dutch): De keuze tussen Wordpress, Drupal en Joomla.
In short my reasons to switch over to Drupal were that this is a more advanced CMS. For me more future proof. Things what I really liked in Drupal is the “book” functionality, to make a complete story from separate posts. And the possibility to make a multi-site, multi-language CMS.
I made it all with Drupal, but it is not easy to make and to maintain. On holidays I needed to update the plugins and core. It took me 6 hours to upload everything. The Wordpress sites are easier to update, because Wordpress is doing that on server side. I had the feeling that I had to simplify everything and standardise on Wordpress. I builded a testsite to test my current site functionality in Wordpress and I found out that the Wordpress solved a lot of my problems.

Continue reading

warning: htmlspecialchars() expects parameter 1 to be string, array given in includes/bootstrap.inc on line 857

After the from Drupal 6.17 to 6.19, I was getting the following message on a multi-language installation:

warning: htmlspecialchars() expects parameter 1 to be string, array given in includes/bootstrap.inc on line 857.

This is nearly the same problem as described in post.

Also this problem, was only when I was logged in or switched to the default language.
The problem appears when not logged in and the language was set to the non-default language.

Continue reading

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 switched to the default language.
The problem appears when not logged in and the language was set to the non-default language.

Continue reading

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 Drupal module google_analytics.

Configuring the Google Analytics module

To configure this module go to menu:

Continue reading