Jump to content

Recommended Posts

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

Share this post


Link to post
Share on other sites

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.

 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More