en tepeye ob_start(); ekle.

Saygılar.