We set up a technology blog, is the use of WordPress template, usually also has a lot of users to contribute to us.
However, it has recently begun to appear on a large scale, and users cannot submit images to articles when posting articles.
The display is:
"You do not have permission to attach files to this article"
1, we give each user the permission to contribute;
2, not all users can not upload pictures, only some users contribute simultaneous. And the same account appears the first time you can upload pictures, and then suddenly appeared to be unable to upload pictures of the situation.
3, with seven cows, but check the error, is the file upload to the server error, the process has not been used to seven cows;
Server Response {"Success": false, "data": {"message": "\u60a8\u65e0\u6743\u5411\u8be5\u6587\u7ae0\u9644\u52a0\u6587\u4ef6\ u3002 "," filename ":" 20.jpeg "}}
Check the information, at home and abroad have a lot of use of WordPress children's shoes encountered this problem, really checked for a long time also can not solve AH. Tired sleep does not love, ask Daniel to help.
Online and so on.
Reply content:
We set up a technology blog, is the use of WordPress template, usually also has a lot of users to contribute to us.
However, it has recently begun to appear on a large scale, and users cannot submit images to articles when posting articles.
The display is:
"You do not have permission to attach files to this article"
1, we give each user the permission to contribute;
2, not all users can not upload pictures, only some users contribute simultaneous. And the same account appears the first time you can upload pictures, and then suddenly appeared to be unable to upload pictures of the situation.
3, with seven cows, but check the error, is the file upload to the server error, the process has not been used to seven cows;
Server Response {"Success": false, "data": {"message": "\u60a8\u65e0\u6743\u5411\u8be5\u6587\u7ae0\u9644\u52a0\u6587\u4ef6\ u3002 "," filename ":" 20.jpeg "}}
Check the information, at home and abroad have a lot of use of WordPress children's shoes encountered this problem, really checked for a long time also can not solve AH. Tired sleep does not love, ask Daniel to help.
Online and so on.
May be the issue of Linux upload directory permissions, these directories are automatically generated, to set the directory permissions in wp_config.php to 777
Check the folder permissions, you can make a judgment, no nine direct to 755
File directory permissions Change 777