- Code: Select all
Unpacking the package... Could not create a directory
I have a fresh installation of WordPress in Linux mint, and I notice I don't have an upgrade, and uploads on my wp-content folder, only plugins, and theme. So, I copied the uploads folder from my windows machine, which installed a WordPress windows version with no conflicts. Because when I didn't have the uploads folder, it gave me an error saying
- Code: Select all
Unable to create directory wp-content/uploads/2022/06. Is its parent directory writable by the server?
Although I can upload the theme by unzipping the folder and pasting it manually into the themes folder, it doesn't give me peace of mind knowing that there are things that don't work in my Xampp directory.
Things I've tried
- Added necessary permission in all directories and files
- Added define( 'UPLOADS', 'wp-content/uploads' ); to my wp-config.php file
- define('FS_METHOD','direct'); I also added this line of code, so I can test a website without using FTP
My WordPress permission.
I spend 3days figuring this out. I come from Zorin OS Lite XFCE first and now Linux Mint, but still, this error persists. I hope someone can lend me some help. Thanks!