Pages

Thursday, 2 July 2015

WordPress: Could not create directory (Solution)

It is a very common problem in wordpress when someone tries to upload a theme or plugins or some data like media files it gives some error cannot create directory etc.
1.The First thing you have do is to change the permissions of the folders to 777 so that wordpress can make folders.
2. If still the problem is there even after changing the permissions to 777 then Add the directory var with permissions 777 to wp-content/plugins.
The command that is failing is a mkdir. Is NOT used if the var directory already exists. You may want to delete it for security reasons when you are finished all adds or uploads.
The reason fro the failure of the mkdir is not clear without reading more of the code. I am a newbie here and have not had the time yet.
Still Got Issues post them below will love to help you InshaaAllah! :)

No comments:

Post a Comment