gpt4 book ai didi

php - WordPress 3.8 : Image upload is not possible

转载 作者:可可西里 更新时间:2023-10-31 23:31:22 25 4
gpt4 key购买 nike

我有一个在线的 wordpress 网站。在本地版本中,我放了一张 Logo 图片,但现在已经消失了。因此,我尝试通过标准的 wordpress 图片上传工具再次上传 Logo 。

我收到以下错误消息:

Unable to create directory wp-content/uploads/2014/01. Is its parent directory writable by the server?

我该如何解决这个问题?

更新:问题已解决

感谢大家的投入。这是我所做的:

  • 在我的 wp_options 数据库中,“upload_path”的值为空。所以我输入了以下值:“wp-content/uploads”。

  • 在 Filezilla 的 wp-content 中,我删除了默认的“上传”文件夹并再次手动创建它,然后右键单击它,将文件属性更改为 777(而不是 755,后者不适用于我)。

最佳答案

这是由于 wordpress 3.8 中的一个小错误导致您的网站站点从一台服务器转移到另一台服务器造成的

请点击以下链接:-

1) 如果你改变了你的服务器 http://wordpress.org/support/topic/cant-add-images-to-the-media-section-error-unable-to-create-directory-uploads

2) 如果你在你的服务器上安装了新的 wordpress https://core.trac.wordpress.org/ticket/26781

谢谢

关于php - WordPress 3.8 : Image upload is not possible,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20948586/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com