You could also have a look under the console to see if one of the two cables has popped out or broken.
Here's a thread with some pics:
DIY - 997 Shifter Install
If you need to remove the console to do the fix then these are good instructions for getting it out:
http://bmracing.com/wp-bnmcont/uploads/45135.pdf