先上传一个文件

发布于 2024-12-21 09:03:19 字数 118 浏览 5 评论 0原文

全新、干净的 drupal7 安装(带有许多必需的模块)。如果我尝试添加一篇文章,如果我不使用图像也没关系。当我添加图像时 - 有一个消息框:首先上传文件。当我查看文件夹中的服务器时 - 有一个图像文件...有什么想法吗?

Fresh and clean drupal7 install (with lots of necessery modules). If I try to add an article it's allright if I don't use Image. When I add Image - there's a message box: Upload a file first. When I look at server in folder - there is a image file... Any ideas?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

神回复 2024-12-28 09:03:19

正如您所提到的,您可以在服务器上看到上传的文件,我假设您的临时目录和文件目录已正确配置并具有适当的权限。

一般解决方案:
通过一一禁用模块并尝试上传来消除其他模块干扰的可能性。
这可能是一个乏味的过程,具体取决于您启用了多少模块。因此,首先禁用最不稳定的贡献模块。
但是,如果禁用某个特定模块可以帮助您解决问题,并且启用该模块可以重复您的问题,我建议您在该模块的问题队列中报告该问题。

将链接粘贴到问题队列,以便我们尝试解决该问题。

As you mentioned you can see the uploaded file on your server, I am assuming your temp directory and files directory are configured properly with proper permissions.

General Solution:
Eliminate the possibility of other modules interference by disabling modules one by one and trying to upload.
This could be a tedious process depending upon how many modules you have enabled. So start by disabling the most unstable contrib modules first.
However, if disabling one particular module helps you solve the issue and enabling that could replicate your problem, I would suggest reporting the issue in that module's issue queue.

Paste the link to issue queue so we can try to solve the issue.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文