Probabile che tu abbia qualche errore.
Testalo in locale con error_reporting(E_ALL)