Help me please.
Something is wrong with open_basedir
opencart 2.3
Server error
AH01071: Got error ‘PHP message: PHP Warning: is_file(): open_basedir restriction in effect. File(/home/admin/web/site.com/public_html/system/…/…/vendor/autoload.php) is not within the allowed path(s): (/home/admin/web/site.com/public_html:/home/admin/web/site.com/public_shtml:/home/admin/tmp:/var/www/html:/etc/phpmyadmin:/var/lib/phpmyadmin:/etc/phppgadmin:/etc/roundcube:/var/lib/roundcube:/tmp:/bin:/usr/bin:/usr/local/bin:/usr/share:/opt) in /home/admin/web/site.com/public_html/system/startup.php on line 70\n’
We do NOT suggest to run anything under a admin user. Please create a new, unprivleged user. Then try again to install opencart and check, if the issue still occures.
I run only opencart as dislike wordpress, never had any issue with open_basedir on Hestia and run 2.3.0.2, 3.0.3.1 and 3.0.3.7 on standalone nginx on 2 sites and apache/nginx on another and still works, each are on separate vps.
You need to check your hestia template files, copy the web/php templates and make your own adding paths or disable open_basedir
If when you open the site on the engine opencart you get an error related to open_basedir, namely:
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/user/public_html/system/…/…/vendor/autoload.php) is not within the allowed path(s): (/home/user/public_html:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/user/public_html/system/startup.php on line XX
then you can solve it by correcting the system/startup.php file, to be more specific, replace the lines