kxenia Posted February 18, 2019 Share Posted February 18, 2019 Hello, it was necessary to change the passwords from the database, FTP, and the password from the admin. Passwords have been changed, but now only some tabs are opened in the admin panel. For example, it's not possible to open modules , but all orders are ok. Shows Error 500. If you start debug mode, this is what comes out. (1/1) ContextErrorException Warning: putenv() has been disabled for security reasons in Kernel.php line 122 at Kernel->boot()in Kernel.php line 195 at Kernel->handle(object(Request), 1, false)in index.php line 88 There was an attempt to write to the hosting, but they refuse to activate putenv (). Thanks in advance for the answers Link to comment Share on other sites More sharing options...
Simonas Invertus Posted February 25, 2019 Share Posted February 25, 2019 I think the easiest solution is to change hosting for you. I am not sure which PrestaShop version you have, but kernel.php is the core file of symfony framework. So there is no way around it. You can always modify the file yourself, but if you try to upgrade your shop you will lose all your modifications and the problem will comeback, so it's not worth doing that. Link to comment Share on other sites More sharing options...
lvwuwei Posted October 2, 2022 Share Posted October 2, 2022 Whoops, looks like something went wrong. (1/1) ContextErrorException Warning: putenv() has been disabled for security reasons in Kernel.php line 122 at Kernel->boot()in Kernel.php line 195 at Kernel->handle()in index.php line 82 i'am same problem , and i can't accesse in admin cause i am open debug ,now how to i can close debug? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now