Templates for Patient Documents: Site ID is missing from session data!

I implemented download_template.php and it works!!!

Thank you very much for all your work and patience.
What do I owe you?