It was integrated poorly, or incompletely, with phpbb3. We've since scratched the forum on our site and I was trying to undo any integration that had been done in the past. That's how I ended up botching my database settings and caused my trouble.
Uploaded a fresh shophoto.tmpl and all seems to be good.
I think I've got it configured the way I want it, and (so far) everything seems to work as it should. If I don't check back in here, no news is good news.
Thank you for your help.