[英]Wordpress error: 'The uploaded file could not be moved to wp-content/uploads'
I've tried updating permissions to every possible combination for both the wp-content folder and also the uploads folder within it and it hasn't remedied the issue.我已经尝试为 wp-content 文件夹和其中的 uploads 文件夹更新每个可能组合的权限,但它没有解决这个问题。
I also saw in a few threads of similar issues that adding我还在一些类似问题的线程中看到了添加
define('FTP_PUBKEY','/home/wp-user/wp_rsa.pub');
define('FTP_PRIKEY','/home/wp-user/wp_rsa');
define('FTP_USER','wp-user');
define('FTP_PASS','');
define('FTP_HOST','127.0.0.1:22');
to the wp-config file could help, so I tried that and now my site is getting an error 500 and not loading at all despite me having since removed the above code.到 wp-config 文件可能会有所帮助,所以我尝试了,现在我的网站收到错误 500 并且根本没有加载,尽管我已经删除了上面的代码。
I know this question has been asked before but I've tried most of the solutions and have only managed to make the problem worse... any suggestions how to get the site working again after my blunder?我知道以前有人问过这个问题,但我已经尝试了大多数解决方案,但只是设法使问题变得更糟......有什么建议可以在我犯错后让网站再次运行吗?
Posting incase this happens to anyone else.发布以防其他人发生这种情况。 The hosting account for the site was at its data limit so the error for uploading was because there was no space to upload the files to and not the expected read/wright permissions.
该站点的托管帐户处于其数据限制,因此上传错误是因为没有空间可以将文件上传到而不是预期的读/写权限。
When I updated the code on the page, instead of saving it saved the page as a blank template because again - no room left to save the file to.当我更新页面上的代码时,没有保存它,而是将页面保存为空白模板,因为再次 - 没有空间可以保存文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.