TinoArts Posted October 1, 2020 Share Posted October 1, 2020 I'm running 1.7.5.0, and almost every time I clear my cache from BO, or save a translation from BO, I get "Internal server error" notification and after that the site (BO and FO) is completely dead. Immediate error 500 on every page load. I've checked my server logs and it was full of fatal errors: "Failed opening required ....../var/cache/prod/appParameters.php" I've noticed that file has permissions set to 0. When I chmod it do e.g. 644, the site works fine again as long as I'm not saving translations, clearing cache (and probably doing some other tasks as well in BO). I've tried chmoding the entire PrestaShop directory recursively to 755, but no luck. What might be the issue? Thank you. Link to comment Share on other sites More sharing options...
TinoArts Posted October 5, 2020 Author Share Posted October 5, 2020 Bump. Link to comment Share on other sites More sharing options...
Lajos Posted May 3, 2021 Share Posted May 3, 2021 Same here. Link to comment Share on other sites More sharing options...
TinoArts Posted May 3, 2021 Author Share Posted May 3, 2021 @Lajos I haven't figured it out yet, but it seems really random. It happens in 25-50% of cases randomly. If you somehow find a solution I'd be really glad if you could share. I'll do the same of course. Link to comment Share on other sites More sharing options...
Lajos Posted May 3, 2021 Share Posted May 3, 2021 I'm digging the web right now :) This is what I've found specifically for the appParameters.php permission problem: Quote Hi, Found the source of the problem : opcache config. With .user.ini, I've put : opcache.revalidate_freq = 0 opcache.validate_timestamps = 1 opcache.revalidate_freq = 0 opcache.fast_shutdown = 0 And it works ! (at last) But I have no idea where this .user.ini file is or is there at all. Link to comment Share on other sites More sharing options...
Lajos Posted May 4, 2021 Share Posted May 4, 2021 Probably it wouldn't help anyway. I really wish someone could find a solution. Link to comment Share on other sites More sharing options...
operador Posted February 16, 2022 Share Posted February 16, 2022 Look this -> https://github.com/PrestaShop/PrestaShop/issues/17390 Maybe can help Link to comment Share on other sites More sharing options...
nedudgi Posted April 24, 2024 Share Posted April 24, 2024 An alternative solution that worked for me was to completely disable opcache in my hosting provider's admin, because the apache .ini file mentioned in the github article wasn't available for me to edit. Hope this helps someone. 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