0

伙计们,请帮助我。(最新)
存在以下问题, 即使是最小的图像,用户也无法上传。其他文件扩展名通过。 尝试了以下方法: 跟踪- 没有错误, 以管理员身份上传,添加额外的附件文件夹,检查服务器可用空间,将附件限制设置为最大值的论坛设置。也增加了所有可能的限制。Chdmod 对于所有文件夹都是 755,对于附件文件夹也尝试了 777。请告诉我可能出了什么问题? 我的 phpinfo 在这里http://tinyurl.com/bqxchl8smf 2.0.4


$_FILES
php.ini

错误信息如下:
Your attachment couldn't be saved. This might happen because it took too long to upload or the file is bigger than the server will allow.

Please consult your server administrator for more information.

4

1 回答 1

0

3个月后,但是...

Attachments and Avatars检查类别所在的 SMF 管理员,Attachment Settings并确保您上传的图像文件的文件扩展名位于Allowed attachment extensions设置的逗号分隔列表中。

您还需要更改其中的其他设置,例如:

Max attachment folder space Max attachment size per post Max size per attachment Max number of attachments per post

此外,请确保Perform extensive security checks on uploaded image attachments设置未选中。这可能会导致图像附件被拒绝,因为这在 SMF 中有些错误。

如果您将所有这些设置都设置为0,那么它将是无限的!因此,对这些没有任何限制。

如果您在上传图像文件时仍然遇到问题,请返回Admin -> Attachments and Avatars -> Attachment Settings并取消选中: Re-encode potentially dangerous image attachments

祝你好运,希望这会有所帮助。

于 2013-08-07T06:33:44.753 回答