W
W
warkowsky2017-08-10 19:59:03
opencart
warkowsky, 2017-08-10 19:59:03

Opencart security bug?

I installed the Russian assembly of Opencart v 3.0.2.0 on a VPS with a VESTA panel.
Immediately after entering the admin panel, the
Warning: realpath(): open_basedir restriction in effect line appears. File(/home/admin/web/site.com) is not within the allowed path(s): (/home/admin/web/site.com/public_html:/home/admin/tmp) in /home/admin/ web/site.com/public_html/admin/controller/common/security.php on line 26
Who knows what the problem is?
Reinstalled several times - same thing.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
light_force, 2017-08-11
@warkowsky

No. This is not an Opencart security bug. It just applies the PHP settings on your hosting. Look through phpinfo() to see the php.ini being used and disable the open_basedir directive. You need to check in order to exclude the influence of php.ini included in the distribution of Opencart itself. In any case, your VPS support will solve such a problem for free.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question