Php Drupal-图像上载错误

Php Drupal-图像上载错误,php,drupal,upload,drupal-7,gd,Php,Drupal,Upload,Drupal 7,Gd,我刚刚将drupal站点移动到运行Debian 7.5 stable Wheezy 64位的新服务器上 我现在尝试上载图像时出错。它们可以不同: Corrupt JPEG data: premature end of data segment gd-jpeg: JPEG library reports unrecoverable error: Unsupported marker type 0xf8 或 或 我不知道这是什么问题。如果它来自Drupal、PHP、GD或Debian本身。。。。任

我刚刚将drupal站点移动到运行Debian 7.5 stable Wheezy 64位的新服务器上

我现在尝试上载图像时出错。它们可以不同:

Corrupt JPEG data: premature end of data segment
gd-jpeg: JPEG library reports unrecoverable error: Unsupported marker type 0xf8


我不知道这是什么问题。如果它来自Drupal、PHP、GD或Debian本身。。。。任何帮助都将不胜感激

这似乎与Drupal无关。试试这个。使用带有文件上载字段的表单创建一个简单的PHP脚本,并尝试上载一个图像,如果您遇到相同的错误,则需要检查系统是否已按照建议使用简单的PHP脚本进行了测试。一切正常,完全没有错误。。奇怪的事情发生了。它现在似乎起作用了。。。非常奇怪…查看apache和Drupal日志了解更多详细信息
Corrupt JPEG data: 145 extraneous bytes before marker 0xd0
Corrupt JPEG data: bad Huffman code