I'm setting up a WordPress website for a friend and keep getting an error message when I try and install plugins and themes via the WP dashboard. At first I got the message 'the uploaded file could not be moved to' … the url of the uploads folder. So I deleted the uploads folder, created another one and set the permission to 777. Now when I try and upload a plugin or theme I'm prompted to enter the FTP login data, and when I enter the correct ftp login data, it doesn't recognise it.
I can upload images to the new uploads folder, but I still can't install themes and plugins via the dashboard. I would be quite happy to work around this by using ftp, but my friend who will be maintaining the website, isn't familiar with ftp.
I've googled the problem and tried various suggested fixes, including changing permissions and editing the .htaccess file, but nothing works. At the moment, permissions on the wp-content, themes and plugin directories are set to 755 (I've tried increasing permissions) and the uploads folder is set to 777. I tried a tip I found which recommended adding this to .htaccess - 'SecFilterEngine Off SecFilterScanPOST Off' but this just caused a server error. I've also contacted the hosting support, and they don't seem to have an answer either. It's a LAMP setup. I would be very grateful if someone could come up with a suggestion as I've wasted hours of time trying to solve this.