Can't get trigger to work

How do I create a trigger? Seems simple enough, but I can't get it to work. I tried this:

  1. Create GameObject --> Cube
  2. Tick "Is Trigger" in the Box Collider section of the Cube
  3. Create a script triggerTest and attach it to the cube (script below)
  4. Put a First Person Controller from the Standard Assets in the scene

I can walk through the box, but the trigger is never activated. I have also tried adding a rigid body to the First Person Controller. This is the code I have in triggerTest.cs:

using UnityEngine;
using System.Collections;

public class triggerTest : MonoBehaviour {

    void onTriggerEnter(Collider other) {
        Debug.Log("Trigger triggered");
    }

}

What am I missing here?

You need to write OnTriggerEnter instead of onTriggerEnter. The function starts with an uppercase letter.