Hello Friends I have just installed magento via softaculous and it installed successfully. When I access the website it works fine but when I try to log in to admin panel it shows error. The error message was "An error has happened during application run. See exception log for details.". When I check exception log it says "[2020-03-03 16:36:38] main.CRITICAL: Warning: realpath(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/admin/web/shop.rrsmedia.tk/public_html:/home/admin/tmp) in /home/admin/web/shop.rrsmedia.tk/public_html/vendor/magento/framework/Filesystem/DirectoryList.php on line 101 {"exception":"[object] (Exception(code: 0): Warning: realpath(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/admin/web/shop.rrsmedia.tk/public_html:/home/admin/tmp) in /home/admin/web/shop.rrsmedia.tk/public_html/vendor/magento/framework/Filesystem/DirectoryList.php on line 101 at /home/admin/web/shop.rrsmedia.tk/public_html/vendor/magento/framework/App/ErrorHandler.php:61)"} []"
Then I add "/home/admin/tmp" in open_basedir in php.ini and check if it works or not. But still got nothing. Can anyone help me with this.
Solved! Go to Solution.
Hello @rashmi_ranjan
did you try this solution?
Or if it has file permission error, you can contact hosting guys too.
Hello @rashmi_ranjan
did you try this solution?
Or if it has file permission error, you can contact hosting guys too.