上传图片失败

By rockxie at 2013-05-21 12:34:22 • 930次点击

按照教程设置好了upyun,可是上传图片的时候提示这个:

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file in setting.php on line 50

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/saetmp/875/xxx/1369110772_2356042234/phpLEObwh' is not a valid JPEG file in setting.php on line 50

Warning: imagecopyresampled() expects parameter 2 to be resource, boolean given in setting.php on line 73

Warning: imagedestroy() expects parameter 1 to be resource, boolean given in setting.php on line 74

Warning: Cannot modify header information - headers already sent by (output started at /data1/www/htdocs/875/xxx/104/setting.php:50) in templates/default/layout.php on line 208

图片


更正下,是上传头像。

rockxie at 2013-05-21 12:44:25
1

奇怪,现在又可以了。

rockxie at 2013-05-21 12:50:16
2
登录 后发表评论