I was seeing a couple of errors in the Drupal Webform module, and this page describes the fixes I used to eliminate them. This applies to version 3.x so if you’ve upgraded to 4 I doubt this is relevant anymore. As described at http://drupal.org/node/1462986. To fix this I found #webform_component in the theme_webform_display_select() function in […]
Month: August 2014
OTRS Migration from Ubuntu to CentOS
This page describes an OTRS migration from one Linux server to another. The background: I had an existing version 3.1.x installation of the OTRS Help Desk system that needed to be upgraded to the latest version (at the time, 3.2.9) and migrated from an Ubuntu 12.04 system to a CentOS 6.1 system. The goal was […]
OTRS Installation on Ubuntu 12.04
An updated version of this article using OTRS 5 and Ubuntu 16.04 is available here. This article describes how to install the OTRS help desk system on an Ubuntu 12.04 server. OTRS is a popular open-source help desk system written in Perl; it was at version 3.2.9 as of this writing. The instructions here should […]
Linux Command Line Tricks
Here are some Linux command line tricks I use on occasion for search and replace. This presumes the use of GNU utilities, so commands and results will vary on different platforms. Some cheat sheets: Sed | Awk | Perl | Bash See also the sed/awk and grep pages. Replace A with B in all files […]
Drupal Development
Notes on Drupal development using Devel and some of its children. Install and Enable the Devel Module Devel can be downloaded from Drupal.org or by using the drush pm-download devel/drush pm-enable devel commands. Drupal Development with Devel Among other things, devel allows you to see inside the Drupal objects and arrays containing the different properties […]
Using Drush
This is quick overview of using Drush, or the Drupal shell, for updating and managing Drupal web sites. Attempting to administer Drupal through its GUI is a pain, but Drush allows you to run updates and alter your configuration quickly on the command line. Best of all, Drush is fully scriptable and provides its own […]
Installing Drush
PHP Composer provides an easier way to install Drush than the method below. Instructions for this can be found in the Drush 8/Drupal 8 version of this article, available here. After installing Composer, run the command php composer.phar global require drush/drush:7.* to install Drush 7. Procedures for installing Drush on Linux-like machines. The easiest method […]
Nginx + PHP-FPM + PHP Cache + SSL + Varnish + Drupal
Note: The below instructions are for Varnish 3 on Ubuntu 12. If you want to run Drupal with Varnish 4 on Ubuntu 16, updated instructions are here. So, you want to set up Nginx and Drupal with all the bells and whistles on Ubuntu Server 12.04. You want caching for both PHP and Varnish and […]
Ubuntu 14 Web Server With Apache and PHP
Ubuntu 14.04 LTS has been out for a while now, and it offers some nice enhancements over 12.04 in its default repos: Apache 2.4, PHP 5.5, and MySQL 5.5.3x. Starting from a bare server image, here’s how to get an Ubuntu 14 web server up and running for PHP. Install the Web Server Note: If […]
Adding an SSL Certificate in Apache
Update April 2018: I’d suggest using Let’s Encrypt for this instead. I do this just infrequently enough to forget the details. So here’s the process for purchasing and installing a SSL certificate for https on your Linux/Apache web server (using Ubuntu 12.04 and Apache 2.2 here): Generate Local Key/CSR, Purchase SSL Certificate Generate your key […]