We have a customer trying to update his newly installed via cpaddons wordpress using the cpaddons update button and is getting the following error:
That's the entire error message, and we also see it when trying the update via WHM. The odd thing is that the file 'strict.php' doesn't exist, permissions are all correct for directories (755) and files (644).
In the /usr/local/cpanel/logs/error_log:
Which is:
Any ideas how to fix this?
Code:
The system could not copy the “/home/username/public_html/wp-content/plugins/akismet/views/strict.php” folder to working folder “./wp-content/plugins/akismet/views/strict.php”.
Error: The system could not prepare the working directory:
In the /usr/local/cpanel/logs/error_log:
Code:
Cpanel::FileUtils::Copy::safecopy("/home/username/public_html/wp-content/plugins/akismet/views/st"..., "./wp-content/plugins/akismet/views/strict.php") called at /usr/local/cpanel/Cpanel/cPAddons/Obj.pm line 874
Code:
$copy_to_working_folder_ok = Cpanel::FileUtils::Copy::safecopy( $source_directory, $update_directory );