metti anche un bel error_reporting(E_ALL); all'inizio del file...