2012-03-20 69 views
1

我在wordpress(self hosted)上遇到以下問題。圖象I上傳失敗,無論是由不運算(和提HTTP錯誤),或者通過顯示以下錯誤的80%:頻繁上傳失敗,損壞的文件

Warning: imagecreatefromstring() [function.imagecreatefromstring]: gd-png: fatal libpng error: IDAT: CRC error in /home/content/60/4915360/html/wordpress/wp-includes/media.php on line 258 

Warning: imagecreatefromstring() [function.imagecreatefromstring]: gd-png error: setjmp returns error condition in /home/content/60/4915360/html/wordpress/wp-includes/media.php on line 258 

Warning: imagecreatefromstring() [function.imagecreatefromstring]: Passed data is not in 'PNG' format in /home/content/60/4915360/html/wordpress/wp-includes/media.php on line 258 

Warning: imagecreatefromstring() [function.imagecreatefromstring]: Couldn't create GD Image Stream out of Data in /home/content/60/4915360/html/wordpress/wp-includes/media.php on line 258 

Warning: imagecreatefromstring() [function.imagecreatefromstring]: gd-png: fatal libpng error: IDAT: CRC error in /home/content/60/4915360/html/wordpress/wp-includes/media.php on line 258 

Warning: imagecreatefromstring() [function.imagecreatefromstring]: gd-png error: setjmp returns error condition in /home/content/60/4915360/html/wordpress/wp-includes/media.php on line 258 

Warning: imagecreatefromstring() [function.imagecreatefromstring]: Passed data is not in 'PNG' format in /home/content/60/4915360/html/wordpress/wp-includes/media.php on line 258 

Warning: imagecreatefromstring() [function.imagecreatefromstring]: Couldn't create GD Image Stream out of Data in /home/content/60/4915360/html/wordpress/wp-includes/media.php on line 258 

Warning: imagecreatefromstring() [function.imagecreatefromstring]: gd-png: fatal libpng error: IDAT: CRC error in /home/content/60/4915360/html/wordpress/wp-includes/media.php on line 258 

Warning: imagecreatefromstring() [function.imagecreatefromstring]: gd-png error: setjmp returns error condition in /home/content/60/4915360/html/wordpress/wp-includes/media.php on line 258 

Warning: imagecreatefromstring() [function.imagecreatefromstring]: Passed data is not in 'PNG' format in /home/content/60/4915360/html/wordpress/wp-includes/media.php on line 258 

Warning: imagecreatefromstring() [function.imagecreatefromstring]: Couldn't create GD Image Stream out of Data in /home/content/60/4915360/html/wordpress/wp-includes/media.php on line 258 

最重要的是,如果該圖像是一點點太大(〜400k是好的,不是900k),它會上傳,但有80%的機會被破壞(即大塊的倒置/交換/位移顏色)。這可能與wordpress無關,因爲我也在其他服務上觀察到這種腐敗現象(deviantart,shownd)。我以前認爲這是因爲這些服務質量差,但我開始懷疑我的connexion(我正在使用我的大學的網絡)的問題。

你知道什麼會導致這些問題嗎?

回答

0

您使用哪種方法上傳圖形?我沒有遇到你顯示的錯誤,但是當使用WordPress內部的上傳器時,我有時會崩潰並且上傳失敗。

您是否嘗試過使用FTP程序上傳文件?當我在Wordpress中遇到失敗的上傳時,我會這樣做。

如果一切都失敗了,你可以備份你的網站並重新安裝Wordpress。 (我也做到了這一點,並取得了較好的效果。)