Arkadaşlar mihalism multi host scriptini kurdum resim upload yapıyordu birkaç özellik için sunucuya imagemagick ve imagick'i de kurdum fakat şimdi upload sırasında beyaz sayfa açılıyor. Galeri sayfasında 'No Thumbnail' resmini gösteriyor ve tıklayınca yine beyaz sayfa açılıyor.
Bir hata verse anlıcamda o da yok. Forumlarında yazdım fakat cevap vericeklerini sanmıyorum paralı desteğe geçtiler.
Yardımlarınızı bekliyorum arkadaşlar.
Saygılar...
Resim Upload Scriptinde Sorun
4
●420
- 12-11-2009, 20:33:35
- 12-11-2009, 20:58:38tüm php dosyalarında "debug" kelimesini arat. mutlaka debug modu vardır. Yoksa da "php debug" kelimesini google da aratarak nasıl debug modunu açacağını öğren. Beyaz sayfada hata kodunu görebilirsin bu şekilde.
İmagemagick ile ilgili olduğunu sanmıyorum hatanın. İmagemagick ile ilgili bir hata olsa resmi yinede upload eder ama resim görünmez. sayfa değil. - 12-11-2009, 21:05:50başka script kur ücretsizlerde sorun olabilir istersen www.dosyaload.net/resimupload verebilirim.
- 13-11-2009, 06:36:33Debug konusunda nasıl kuracağımı tam anlayamadım ama kontrol panelimden hata kaydına bakmayı akıl edebildim henüz.ENDORPHENE adlı üyeden alıntı: mesajı görüntüle
Deneme için upload yaptım tekrar ve şu hatalar yansıdı error log dosyasına:
[Fri Nov 13 06:15:31 2009] [error] [client 78.178.156.76] PHP Fatal error: Call to undefined function error_get_last() in /var/www/vhosts/xxx.com/httpdocs/source/includes/catcherror.php on line 44, referer: http://www.xxx.com/gallery.php [Fri Nov 13 06:15:33 2009] [error] [client 78.178.156.76] PHP Fatal error: Uncaught exception 'ImagickException' with message 'no decode delegate for this image format `/var/www/vhosts/xxx.com/httpdocs/images/29579187128414959561.jpg' @ constitute.c/ReadImage/530' in /var/www/vhosts/xxx.com/httpdocs/source/includes/imagemagick.php:100\nStack trace:\n#0 /var/www/vhosts/xxx.com/httpdocs/source/includes/imagemagick.php(100): Imagick->__construct('/var/www/vhosts...')\n#1 /var/www/vhosts/xxx.com/httpdocs/viewer.php(24): mmhclass_image_functions->get_image_info('/var/www/vhosts...')\n#2 {main}\n thrown in /var/www/vhosts/xxx.com/httpdocs/source/includes/imagemagick.php on line 100, referer: http://www.xxx.com/gallery.php [Fri Nov 13 06:15:33 2009] [error] [client 78.178.156.76] PHP Fatal error: Call to undefined function error_get_last() in /var/www/vhosts/xxx.com/httpdocs/source/includes/catcherror.php on line 44, referer: http://www.xxx.com/gallery.php [Fri Nov 13 06:15:33 2009] [error] [client 78.178.156.76] File does not exist: /var/www/vhosts/xxx.com/httpdocs/favicon.ico [Fri Nov 13 06:15:36 2009] [error] [client 78.178.156.76] PHP Fatal error: Call to undefined function error_get_last() in /var/www/vhosts/xxx.com/httpdocs/source/includes/catcherror.php on line 44, referer: http://www.xxx.com/gallery.php [Fri Nov 13 06:15:36 2009] [error] [client 78.178.156.76] File does not exist: /var/www/vhosts/xxx.com/httpdocs/favicon.ico [Fri Nov 13 06:15:40 2009] [error] [client 78.178.156.76] PHP Fatal error: Call to undefined function error_get_last() in /var/www/vhosts/xxx.com/httpdocs/source/includes/catcherror.php on line 44, referer: http://www.xxx.com/index.php [Fri Nov 13 06:15:49 2009] [error] [client 78.178.156.76] PHP Fatal error: Uncaught exception 'ImagickException' with message 'no decode delegate for this image format `/var/www/vhosts/xxx.com/httpdocs/images/91472136260834575372.jpg' @ constitute.c/ReadImage/530' in /var/www/vhosts/xxx.com/httpdocs/source/includes/imagemagick.php:100\nStack trace:\n#0 /var/www/vhosts/xxx.com/httpdocs/source/includes/imagemagick.php(100): Imagick->__construct('/var/www/vhosts...')\n#1 /var/www/vhosts/xxx.com/httpdocs/source/includes/imagemagick.php(131): mmhclass_image_functions->get_image_info('/var/www/vhosts...')\n#2 /var/www/vhosts/xxx.com/httpdocs/source/includes/imagemagick.php(203): mmhclass_image_functions->scale('914721362608345...', '160', '160')\n#3 /var/www/vhosts/xxx.com/httpdocs/upload.php(174): mmhclass_image_functions->create_thumbnail('914721362608345...')\n#4 {main}\n thrown in /var/www/vhosts/xxx.com/httpdocs/source/includes/imagemagick.php on line 100, referer: http://www.xxx.com/index.php [Fri Nov 13 06:15:49 2009] [error] [client 78.178.156.76] PHP Fatal error: Call to undefined function error_get_last() in /var/www/vhosts/xxx.com/httpdocs/source/includes/catcherror.php on line 44, referer: http://www.xxx.com/index.phpBen pek bişey anlamdım arkadaşlar yardımcı olursanız sevinirim tekrar teşekkürler. - 13-11-2009, 07:41:06Error log dosyasında adı geçen 2 dosyada bir hata göremedim dosyaları sizlerle paylaşayım.
imagemagick.php
http://codepaste.net/he41tm
catcherror.php
http://codepaste.net/qpsgnu
ve birde mühim olan upload.php
http://codepaste.net/po8c78