Drupal 7 Multiviews Error fix


Installing Drupal 7 for a project, received a 500 Server configuration error.

Looking in the Apache error log, I saw the error:

[Wed Jan 12 19:40:24 2011] [alert] [client xxx.xxx.xxx.xxx] /var/www/httpdocs/.htaccess: Option Multiviews not allowed here

Turns out, in the apache2 config file, the following is not sufficient in the Directory section:

AllowOverride Options FileInfo AuthConfig Limit Indexes

In particular, the MultiViews option is needed:

AllowOverride Options=All,MultiViews FileInfo AuthConfig Limit Indexes

Execute an arbitrary SQL command in Drupal 5


If execute PHP is enabled (in a block), the SQL to execute an arbitrary SQL command.

$res = db_query('show tables');
while ($row = db_fetch_array($res)) { print_r($row); }

So far outside of my comfort zone


A few weeks ago, I volunteered to help man the Drupal booth at OSCON. OSCON is in San Jose this year, making helping out easy.

Or so I thought.

We were supposed to arrive at 9:30 at the booth. I left late from the house, didn't know where I was going, drove quickly to the convention center, didn't realize I was at the convention center until I passed it (OH! so THAT's what that building I drove by every work day for a year is), drove around the block, parked, high tailed it to registration, flew through registration, hustled to the booth, arriving at 9:27 to find the booth empty. Puzzled, I sat down to wait.

Ten minutes isn't that long to wait. It really isn't. However, when there's hustle and bustle around you, furious booth setting up activing buzzing from all sides, and you're sitting there eating a yogurt, those ten minutes are SO. LONG.

I couldn't stand the inactivity, and gathered my stuff back up to wander around. I met up with the remaining drupalers in the registration lobby, their registrations had been lost, and yay, started setting up the booth.

For the record, it's quite obvious that Kieran has manned these booths before, both with the equipment he had, the display materials he brought and the efficiency with which he directed the rest of us to set up the booth. With me were John, who runs the SF Drupal Users Group, Joshua, from Chapter 3 LLC, and Deborah. We missed a few items in the setup, but for the most part were ready for the doors to fly open at 10.

And at 10, when they did fly open, it became very clear, very quickly, just how far outside of my comfort zone I was standing.

Kieran's instructions were to approach anyone walking by making eye contact and ask them, "Do you have a website?" This is the easiest way to vet out people casually walking by, people who have no intention of actually building a website, and people who could use Drupal. Now, approaching people is way not inside my comfort zone. And essentially cold-talking someone to see if you can finagle a project out of them or a new client? Also incredibly uncomfortable for me.

I couldn't do it.

I grabbed at the first task out of the booth I could do, which was make flyers for the Drupal meetup that evening. I managed to extend the walk to the nearest Kinko's and copying to all of a half hour, before wandering back, and decided, no, this is not something I could do, manning the booth.

I left after handing the flyers to Kieran and chatting with Colin, who I worked with at V.A. so long ago. Was great meeting up with him, the highlight of the morning for me. Well, that and posing for the Drupal Booth Babes photo:


Compositio as a Drupal 6 theme

Book page

Smashing Magazine released the Compositio wordpress theme last month. It was designed by Design Disease. I've converted it to a Drupal 6 theme. It's licensed under a Creative Commons Attribution Share Alike license, the same CC license that Design Disease originally released with the theme. If you use this theme, you must keep the Design Disease link and my link in the footer of the theme.

I took some "drupal" liberties with the theme. Since Drupal blocks can be ordered in whatever order the administrator wants to order them, the right side blocks' styling will maintain its color cascade instead of being fixed to a particular order as in the original theme.. The search box is fixed at the top. The new comment form's styling is a little different, too, with the labels being lined vertically with the input boxes instead of horizontally. I fixed an IE6 dropdown rendering issue just for fun.

Leave any bug reports or feature requests in the comments and I'll address them if I can.

Download the theme:

You will still need to download the original Wordpress version if you want the logo's PSD file.

Smashing Magazine announcement:
Compositio: Clean, Beautiful and Free WordPress Theme

Design Disease announcement:

Design Disease portfolio post:


Book page

Switched to Mollom


Okay, I've finally switched the spam control on the site from Akismet to Mollom. I've been annoyed at the fact that posted comments are ALWAYS put into the Akismet pending queue, even though the number of spam comments has been incredibly low (count 'em, two hands).

Since people I don't know (hi, everyone!) are posting comments, I'd hate for the process to be frustrating for them.

So, switched.

Maybe Mom will start posting comments more.

First day!


Today's my first day working at Doyle's company. Warren suggested last night that the org chart for the company be rewritten so that Doyle is my direct boss. Although the concept is quite humourous, I prefer Doyle's suggestion of "put all the Drupal developers in one department, THEN put me over you."

Doyle suggested we carpool to his work this morning. Since I wasn't sure what the various parking protocols were, what the office hours were, and how I was going to get into the building to work, I enthusiatically said yes.

Starting at a new company always has issues, whether it's for a new full-time job or for a new contracting position. Today was no expection to that "issues" rule. However, having someone who I could talk to, and ask what was up, having Doyle just right there, oh, my, made starting the new job so much easier than I was expecting.

On the way home, Doyle asked me, "So, how was your first day?"

It was good, so I told him so. I also told him how much I LOVED that I could just turn to someone and start asking technical questions, and he immediately knew not only what I was talking about, but could converse with me intelligently about the task at hand, and offer suggestions.

He turned to me and exclaimed, "I KNOW!" It took me a few moments to realize that he, too, was missing having someone with the same expertise and experience as he had.

I smiled. I hadn't realized just how much I had missed working with Doyle.

Drupal SF meetup


I went up to the City tonight for the San Francisco Drupal meetup. Hannah and I took the train up together, with my taking a taxi to the meetup location.

There were about 15 people at the meetup, ranging in experience from previous release co-maintainer (Neil Drumm, who, honestly, is fabulous, we lurves him) to just installed it and tried it once. Also known as the range of Drupal user ID from 5088 to over 200000+. Most of the people at the meetup were developers instead of just users, which made me happy.

The presentation was for the patterns module, made by Chris Bryant. The module and surrounding infrastructure address the site setup problem where profiles fal short (in particular, with module add-ons and configurations). One of the surprising features of the module is that, even though it automates a lot of site setup, it does so through form submissions instead of accessing the database directly.

I wish I could say that I was the dynamic, outgoing person I want to be in these situations, but I wasn't. I wasn't uncomfortable, per se, but I was definitely with a group of people I didn't know. I ended up leaving soon after the presentation, and walked back to the train station. It wasn't nearly as far as I thought it was.