The warning message is probably what's causing the headers to be sent. At least on free servers, the PDO extension isn't installed, which is why you get the warning.
Now that I look, it seems no SQLite driver is installed on the free hosts. There is a SQLite driver in PECL, but it's old and...