Plugin could not be activated because it triggered a fatal error.

red army

Free Member
Nov 1, 2010
284
4
Manchester
Warning: include_once(): Unable to access lib/functions.php in /var/www/vhosts/manchestereasyrent.co.uk/httpdocs/wp-content/plugins/wpclone.php on line 11 Warning: include_once(lib/functions.php): failed to open stream: No such file or directory in /var/www/vhosts/manchestereasyrent.co.uk/httpdocs/wp-content/plugins/wpclone.php on line 11 Warning: include_once(): Failed opening 'lib/functions.php' for inclusion (include_path='.:') in /var/www/vhosts/manchestereasyrent.co.uk/httpdocs/wp-content/plugins/wpclone.php on line 11 Warning: mkdir(): SAFE MODE Restriction in effect. The script whose uid is 10018 is not allowed to access /var/www/vhosts/manchestereasyrent.co.uk/httpdocs/wp-content/uploads owned by uid 48 in /var/www/vhosts/manchestereasyrent.co.uk/httpdocs/wp-content/plugins/wpclone.php on line 78 Unable to create directory '/var/www/vhosts/manchestereasyrent.co.uk/httpdocs/wp-content/uploads/wp-clone'. Please set 0755 permission to wp-content.


getting the above message when I'm trying to install wp clone plug in, I am trying to move the site from one server to another!

it installed on the old wordpress install no problems but the new install i am getting this error, I have tried playing around with permissions of wp content folder but no joy? anyone have any ideas?
 
You need to read the error:

Please set 0755 permission to wp-content.

You will need to login to your ftp and change the permissions on the wp-content folder to 755 so that the plugin can be utilised.
 
  • Like
Reactions: Nuno
Upvote 0
Suggest you contact your hosts, as it looks like something isn't set up correctly in Plesk, it's the "owned by uid 48" which is not right. "uid 48" will be a system user, and files for your site should be owned by you, who is probably uid 10018.

Did you upload files by FTP? There is an issue in Plesk with FTP accounts not setting ownership of FTP'd files correctly.

Resist the temptation to set everything to 777, unless you want to get hacked.

WP should be 755 for directories and 644 for files, at the most lenient. On a properly set up server they can be tighter than that. Note that although the same numbers, eg 755, are used for both files and directories, the meanings and the consequences are different.
 
Upvote 0
Suggest you contact your hosts, as it looks like something isn't set up correctly in Plesk, it's the "owned by uid 48" which is not right. "uid 48" will be a system user, and files for your site should be owned by you, who is probably uid 10018.

Did you upload files by FTP? There is an issue in Plesk with FTP accounts not setting ownership of FTP'd files correctly.

Resist the temptation to set everything to 777, unless you want to get hacked.

WP should be 755 for directories and 644 for files, at the most lenient. On a properly set up server they can be tighter than that. Note that although the same numbers, eg 755, are used for both files and directories, the meanings and the consequences are different.

Yeah I have just changed the nameservers on a friends domain and brought it over to my vps !

I have installed a fresh wordpress on the new site that is working ok!

have I missed something?
 
Upvote 0

Latest Articles