1) metti error_reporting(E_ALL) come 1° riga
2) dove hai messo l'header?