After installing OpenCart, after first login, I get a Security Notification pop-up dialog:
----
Important Security Notification!
Storage path
It is very important that you move the storage directory outside of the web directory (e.g. public_html, www or htdocs).
Current Path
/home/users/myuser/www/mysite.com/opencart/system/storage/
New Path
/home/users/myuser/ => files/mysite.com/opencart/system/storage/
----
If I place a full path there, like
files/mysite.com/opencart/system/storage/
after pressing the Move button, the hour glass goes round forever, never finishes.
It seems there are missing some checks to find out path, permission, error problems.
I found the following info in the PHP log:
PHP Warning: is_dir(): open_basedir restriction in effect. File(/home/users/myuser/storage/) is not within the allowed path(s): (/home/users/myuser/www:/home/users/myuser/files:/home/users/myuser/tmp)
File: /home/users/myuser/www/mysite.com/opencart/admin/controller/common/security.php
Line: 162
I would like to use the following input string as target path:
files/mysite.com/opencart/system/storage/
Could be possible to fix the Security Notification pop-up dialog to allow using target path above?
Thanks!