Backtrace:

file: 35 - C:\Inetpub\vhosts\dramatis-personae.com\httpdocs\callsheet\functions.php
call: backtrace()

file: 82 - C:\Inetpub\vhosts\dramatis-personae.com\httpdocs\callsheet\index.php
call: query_db(1, "SELECT user_rank, user_timezone, user_dst FROM phpbb_users WHERE...", 82, "C:\Inetpub\vhosts\dramatis-personae.com\httpdocs\callsheet\index...")

Fatal error: error 82 C:\Inetpub\vhosts\dramatis-personae.com\httpdocs\callsheet\index.php: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
SELECT user_rank, user_timezone, user_dst FROM phpbb_users WHERE user_id = in C:\Inetpub\vhosts\dramatis-personae.com\httpdocs\callsheet\functions.php on line 36