Ciao,
a vedere dal tuo post precedente, mi sa che non hai copiato tutto il codice...