Page 1 of 1
Error when installing 3x.ocmod.zip
Posted: Fri Jun 22, 2018 3:58 am
by jstuardo
Hello,
when installing 3x.ocmod extension this error occurs:
"The directory catalog/model/account is not allowed to be written to!"
That folder only has php files and of course should be read only, so I don't know why this extension installer tries to write something there.
To test, I have set 777 permission to that folder and the same error occurs.
Thanks
Jaime
Re: Error when installing 3x.ocmod.zip
Posted: Fri Jun 22, 2018 4:46 am
by sw!tch
Don't ever set 777 permissions! If you need to set full read/write find a new host.
In regard to your error -
Contact the extension developer you can see here the allowed directories in OC 3.0.2
https://github.com/opencart/opencart/bl ... #L124-L141
Code: Select all
// A list of allowed directories to be written to
$allowed = array(
'admin/controller/extension/',
'admin/language/',
'admin/model/extension/',
'admin/view/image/',
'admin/view/javascript/',
'admin/view/stylesheet/',
'admin/view/template/extension/',
'catalog/controller/extension/',
'catalog/language/',
'catalog/model/extension/',
'catalog/view/javascript/',
'catalog/view/theme/',
'system/config/',
'system/library/',
'image/catalog/'
);
Re: Error when installing 3x.ocmod.zip
Posted: Fri Jun 22, 2018 6:17 am
by jstuardo
I have set 777 permissions only for test, of course, but that was not the problem since the same error occured.
Finally I have manually uploaded all files into opencart directories.... some thing took my attention. Most of files already existed in the folders.
I will contact developer.
Re: Error when installing 3x.ocmod.zip
Posted: Tue Mar 12, 2019 9:47 am
by HAO
I also have the same problem.
My cPanel virtual host do not need to set 777 read and write permissions, But when I upload and install the language or extensions, I get an error message.
How can I solve this problem?
My OpenCart 3.0.3.1