Hi HS team,
Whenever I update a business licence I get the permissions error as follows:
-1 - An error has occurred
It was not possible to copy the selected file
I know this problem is documented within Hikashop, and largely it has to do with the security settings on my server. However it is annoying and I just wanted to post the solution here, partly for my own future reference as I need to make the changes everytime I upgrade, and also for anyone else having this issue. The effect of the error is a site that is offline completely until corrected and sometimes finding the offending file permissions takes a while.
So here's the fix:
1. BEFORE INSTALLING THE UPDATE...
In cpanel, change the permissions of the following files to 644.
/administrator/components/com_hikashop/classes/config.php
/administrator/components/com_hikashop/controllers/config.php
/administrator/components/com_hikashop/views/config/tmpl/config.php
2. INSTALL THE HIKASHOP UPDATE...
In the Joomla backend, install the updated Hikashop file as per usual.
3. AFTER INSTALLING THE UPDATE...
In cpanel, change the permissions of the above files back to 400.
Works everytime.
cheers!