Drupal上传文件大小错误消息
不断收到有关文件大小的错误消息:“无法上传所选文件。该文件为 53 KB,将超出 2 MB 的磁盘配额。”它说我每次下载允许 2MB,所以如果这个文件是 53KB,我怎么会超过我的配额呢?我被困住了。
Keep getting an error message re: file size: "The selected file could not be uploaded. The file is 53 KB which would exceed your disk quota of 2 MB." It says I am allowed 2MB per dowload, so if this file is 53KB, how can I be exceeding my quota? I am stuck.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您使用 Drupal 核心“上传”模块...转到 [您的站点]?q=admin/settings/uploads,其中有文件上传的设置。您很可能对“每个用户”设置有文件上传限制,并且到目前为止您已经使用了该限制。把它提高得很高,你应该没问题。
If you're using the Drupal core "Upload" module... go to [your site]?q=admin/settings/uploads, there are settings for the file uploads. You more than likely have a file upload limit on the "per user" settings, and you've used that up so far. Bump that up really high, and you should be just fine.
配额是总使用量。这意味着在达到 2mb 之前,剩余空间不足 53kb。
Quota is total usage. This means you have less than 53kb left until you reach 2mb.