W
W
warkowsky2017-08-10 20:08:12
opencart
warkowsky, 2017-08-10 20:08:12

Where to move the storage directory to Opencart?

Installed Opencart on VPS with VESTA panel. After installation, I go to the admin panel, an " Important security message! " pops up, which says: " Attention! This is important. For greater security, you should move the storage directory storage outside the root directory of the site (for example, in public_html, www or htdocs) . "
After automatic transfer (and manual transfer too), the admin panel becomes inoperable, errors pop up:
Warning: fopen(/storage/logs/openbay.log): failed to open stream: No such file or directory in /home/admin/web/site.com/public_html/system/library/log.php on line 6Warning: fopen (/storage/logs/openbay.log): failed to open stream: No such file or directory in /home/admin/web/site.com/public_html/system/library/log.php on line 6Warning: fclose() expects parameter 1 to be resource, boolean given in /home/admin/web/site.com/public_html/system/library/log.php on line 14Warning: fopen(/storage/logs/error.log): failed to open stream: No such file or directory in /home/admin/web/site.com/public_html/system/library/log.php on line 6
Where do I move the storage directory to Opencart?
How to do it? What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
script-php, 2018-08-05
@warkowsky

you can not transfer, but put a modifier that will remove this window, here is a link to it
https://vk.com/php_freelance?w=wall-159129488_90%2Fall

R
record63, 2017-08-14
@record63

What version did you install? Have you tried moving the directory manually? Have you tried manually changing the paths in the configs? Does the script have access to the directory above? ... did you check it in simple ways?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question