Re: Mysteriously stopped working
Turned out that the templates_c directory under $docroot had been emptied. We're using multiple sites under Apache's Virtual Host facility. See setup.sh: each site gets its own directory under the long list of DIRS in there (backups db dump ... templates_c). Recreated the site-specific directories under templates_c/ as I found them under backups/, with same owner, group, mode.
Appear to be ok now. No idea how the templates_c directory got wiped.