You must load init.php at top of file! Make sure there are no spaces before it!