Topic: Install extensions

I reinstalled FA after taking backup. Can't seem to to fully restore from the backup. There is an error at some line 327. Data gets copied anyway. But I am unable ot install extensions. The following error:

trigger_error('Could not open _init/files for writing.
This script does not support extracting this type of tar file.
Could not open file ../modules/_cache/import_items-2.3.0-1/_data','256')
C:\inetpub\wwwroot\account\includes\packages.inc:695:     display_error('Could not open _init/files for writing.
This script does not support extracting this type of tar file.
Could not open file ../modules/_cache/import_items-2.3.0-1/_data')
C:\inetpub\wwwroot\account\admin\inst_module.php:238:     install_extension('import_items')

Re: Install extensions

Hi maybe you have no write permission to the file. This error "Could not open _init/files for writing." shows.
But If I am not mistaken is it line 327 in includes/archive.inc? If it is, try to put rtrim in name and prefix. Like this:

'name' => rtrim($temp['prefix']) . rtrim($temp['name']).

I have the same error when installing chart of accounts and found this answer. Hope this helps.

Re: Install extensions

Thanks, it worked.