Jixart31 Posted August 22 Share Posted August 22 Hello. I'm encountering a 500 error on my website, and it seems to be caused by the controller.php file, which automatically changes its permissions to 204. When I reset the permissions to 644 and clear the cache, the site works again. However, after 5 to 10 minutes, the 500 error reappears! I haven't been able to identify the source of the problem, and I couldn't find any similar issues on the forum. Has anyone else experienced this problem? PrestaShop version: 1.7.5.2 PHP version: 7.3 The site was functioning correctly, and this issue appeared suddenly without any new module installations or updates. The bug started occurring out of nowhere. There's no console error or error in debug mode, except when the issue occurs, where it reports that the Controller class is not found because the controller.php file has been set to 204 permissions. I ran a script for prestashop to identify modified files from original versions and everything looks fine. Link to comment Share on other sites More sharing options...
aixos Posted September 1 Share Posted September 1 Hi Try changing to PHP 7.2, which is the one you need. Link to comment Share on other sites More sharing options...
baden32 Posted October 17 Share Posted October 17 (edited) Hi Jixart31, Since weeks, I can also see that my Prestahop main files (under controllers, classes, etc.) are automatically changed always at the same time (3:45 AM). I cannot find how it's done therefore I would appreciate if you can let me know what you found on your site: -was it done by a Prestashop cron process -a specific call was done? -?? Thanks in advance for your help. Best Bads Edited October 17 by baden32 no terminated enter (see edit history) 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