Teşekkür ederim. Kodlarda problem yok script çalışıyor ben sadece sunucumdan kaynaklı bir sebepten dolayı çalıştıramamıştım.