Ti sposto qui .. mi sembra più adatto.. vedrai che sicuramente è un qualche errore nel tuo script..