I fixed the error that killed my URL shortener.

This post should prove it.  Thanks to @joedolson for graciously not being offended when i suggested it was a problem with his code. My own idiocy omitted an essential file. whoops!  must test more throughly before I bother others.