2013-05-09 140 views
0

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

错误消息如下:
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.

回答

0

3个月后,但问心无愧......

检查你SMF管理,其中Attachments and Avatars类别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

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