Türkce » WHM cPanel

whm Php.ini yardım lütfen

http://forum.whmdestek.com/

Go Back   WHM/cPanel Support Platform » Türkce » WHM cPanel
 

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 01.12.09, 12:58
Atari
 
Join Date: Dec 2009
Posts: 6
Rep Power: 0
drrfloppy is on a distinguished road
whm Php.ini yardım lütfen

Whm ilk defa kullanıyorum.Elimde bir resim upload sistemi var.Kendi ayarladığım hostuma Resimi upload ettiğimde boş bir sayfa çıkıyor ve resmi upload etmiyor. Chmod olamaz kontrol ettim.(bir sitede buldum sorunun php.ini de olduğu yazıyor fakat gerekli hiçbir açıklama yazmıyor.)Bu konuda bana yardımcı olurmusunuz.Yardımlarınız için şimdiden çok teşekkür ederim.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 01.12.09, 13:44
Onur's Avatar
Peynir
 
Join Date: Jun 2007
Location: Karaman
Age: 22
Posts: 1,696
Rep Power: 100000
Onur has a reputation beyond reputeOnur has a reputation beyond reputeOnur has a reputation beyond reputeOnur has a reputation beyond reputeOnur has a reputation beyond reputeOnur has a reputation beyond reputeOnur has a reputation beyond reputeOnur has a reputation beyond reputeOnur has a reputation beyond reputeOnur has a reputation beyond reputeOnur has a reputation beyond repute
php.ini içerisinden display_errors 'u On konumuna getirin, beyaz sayfa yerine hata mesajı çıkacaktır. O mesajı buraya ekleyin çözümüne bakalım.
__________________
Ücretsiz destek talepleriniz icin forumu kullanın.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 01.12.09, 16:07
WHM VIP Member
 
Join Date: Mar 2008
Posts: 328
Rep Power: 3
Cedric is on a distinguished road
Ayrıca o sitenin cpaneli içinde "error log" bölümünde yazar göremediğiniz hata mesajı
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 01.12.09, 17:35
Atari
 
Join Date: Dec 2009
Posts: 6
Rep Power: 0
drrfloppy is on a distinguished road
Öncelikle cevabınız için çok teşekkür ederim eror log da şunlar var.

[Tue Dec 01 03:59:08 2009] [error] [client 85.104.146.5] File does not exist: /home/engin/public_html/404.shtml, referer: Scripteen Free Image Hosting Script v2.6


hatalar aynı şekilde devam edip gidiyor hep aynı yazı
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 01.12.09, 17:40
Atari
 
Join Date: Dec 2009
Posts: 6
Rep Power: 0
drrfloppy is on a distinguished road
su anda 2 değişik script deniyorum birisi db li (yukarıdaki verdiğim eror log olan) diğeri ise db siz birinde upload ediyor fakat tumb resim görünmüyor (db li olan) ,diğerinde ise hiç upload etmiyor.dbsiz olan hiç birşekilde hata mesajı vermiyor.Upload php ye gelip kalıyor.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old 01.12.09, 19:11
WHM VIP Member
 
Join Date: Mar 2008
Posts: 328
Rep Power: 3
Cedric is on a distinguished road
Hata mesajlarını iLk mesajı yazdığında bir kaç tane daha hata mesajı vardı. Hepsi aynı değildi.
Yani oradaki diğer mesajda diyor ki, falanca resim bulunamadı.
E bulunamayınca apache ne gösterir? Tabi ki 404.shtml yi gösterir. Tabi senin sunucuda onu da bulamamış. Bu yüzden bu şekilde dosya bulunamadığına dair iki değişik hata var. Birisi resim birisi de 404.shtml için
Büyük ihtimalle sunucuna içinde Sayfa bulunamadı yazan bir 404.shtml dosyası koyarsan, resim bulunamadığı için o hata sayfasını alacaksın. Sorun şu, çağrılan resim olması gereken yerde değil

Diğer sorun için Onur arkadaşın söylediği şey işe yaramış olması lazım.
Sunucu sahibi değilsen ve php.ini ye erişemiyorsan

php dosyanın en başına (upload.php) şunları eklemeyi deneyebilirsin

PHP Code:
if(function_exists("ini_set")){
 
ini_set("display_errors",1);
 
ini_set("error_reporting",E_ALL);
}
if(
function_exists("error_reporting"))
 
error_reporting(E_ALL); 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old 01.12.09, 19:17
WHM VIP Member
 
Join Date: Mar 2008
Posts: 328
Rep Power: 3
Cedric is on a distinguished road
Eğer yukarıdaki php kodu işe yaramazsa public_html altındaki .htacces dosyasına aşağıdaki iki satırı ekle. (O dosya public_html altında yoksa oluştur)

Code:
php_flag display_errors on
php_flag error_reporting 8191

Bu yazdıklarım sadece hatayı görebilmen için. Yani scriptinin sorununu görebilmen için. Hata neyse görebileceksin sadece hepsi bu.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old 01.12.09, 19:32
Atari
 
Join Date: Dec 2009
Posts: 6
Rep Power: 0
drrfloppy is on a distinguished road
Evet sunucu benim ama çok acemi olduğum için php.ini yi nerden editleyecegimi bile bilmiyorum (daha doğrusu hiç birşey bilmiyorum)

php_flag display_errors on
php_flag error_reporting 8191

bu kodu ekledigimde 500 internal server hatası alıyorum.

Saygılarımla,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old 01.12.09, 19:45
WHM VIP Member
 
Join Date: Mar 2008
Posts: 328
Rep Power: 3
Cedric is on a distinguished road
http500 hatası alıyorsan
htaccess ile ilgili yazdığım son mesajı unut. php ile ilgili kodlara bak.

php.ini ye gelince yerini bulmak için ssh da

locate php.ini komutunu yazabilirsin

ama bulmana gerek de yok
whm içinde php configuration diye bir yer varf. sol menude yukarıdaki arama kısmından bulabilirsin.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old 01.12.09, 20:03
Atari
 
Join Date: Dec 2009
Posts: 6
Rep Power: 0
drrfloppy is on a distinguished road
on yaptım ama yinede bir hata mesajı vermedi.Biraz daha açıklayım ben konuyu scriptin birisinde upload yapıyor ama bittigini göstermiyor sayfa donup kalıyor upload sayfası.resmi thumb olarak göstermiyor sadece ismini yazıyor, diğerinde ise upload yapıyor gibi oluyor ama boş bir sayfada kalıyor. (upload.php de) ve resmi upload etmiyor.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache * PHP Ayarlari (php.ini,httpd.conf) CaLViN WHM cPanel 9 27.08.10 00:45
php sürümleri ve php.ini ozqan WHM cPanel 3 18.09.09 13:09
php ini sorunlari :( KRaLeFe WHM cPanel 0 23.08.09 13:10
php.ini yapilandirmak ?? canohosting WHM cPanel 2 20.06.08 08:21
php.ini fastCGI ayarlamak+php.ini hakkinda bir soru? alper60 WHM cPanel 1 03.06.08 22:21



netinternet

Navigasyon
Menü