Smf图片上传麻烦

时间:2013-05-09 20:25:07

标签: php upload smf simple-machines-forum

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

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

1 个答案:

答案 0 :(得分:0)

3个月后,但是......

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

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

Allowed attachment extensions Max attachment folder space Max attachment size per post Max size per attachment

另外,请确保Max number of attachments per post设置为UNCHECKED。这可能会导致被拒绝的图像附件,因为这在SMF中有些麻烦。

如果您将所有这些设置都设置为Perform extensive security checks on uploaded image attachments,那么它将无限制!因此,对这些没有任何限制。

如果您仍然无法上传图片文件,请返回0并取消选中:Admin -> Attachments and Avatars -> Attachment Settings

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

相关问题