chon59 Posted October 20, 2022 Share Posted October 20, 2022 Hi everyone, First of all, I made many researches regarding the error on my website and I really can't figure out what's going on. 2/3 days ago I noticed that my website started to make one or two error 500 per day, I just deleted /var/cache/prod and it kept running smoothly. Today the error 500 just kept coming even If I deleted var/cache an hour after that the website was crashing again until the point of no return where I have no more cache to delete, and I can't access my website on front or back showing an error 500. I wanted to modify the config/defines.inc.php file to see what was going on and surprisingly the file was empty.. So I went to my backup on the cloud and pick the file and replaced it. The error I can see now is this : Warning: Cannot use a scalar value as an array in /home/cosmetiqnf/www/config/bootstrap.php on line 87 Warning: array_walk() expects parameter 1 to be array, null given in /home/cosmetiqnf/www/config/bootstrap.php on line 89 Warning: array_key_exists() expects parameter 2 to be array, null given in /home/cosmetiqnf/www/config/bootstrap.php on line 117 Warning: array_key_exists() expects parameter 2 to be array, null given in /home/cosmetiqnf/www/config/bootstrap.php on line 124 Warning: array_key_exists() expects parameter 2 to be array, null given in /home/cosmetiqnf/www/config/bootstrap.php on line 132 Error: "install" directory is missing And I really can't find what's going on here. Thank you in advance and sorry if there is another post dealing with it, I just don't find it. I'm running Prestashop 1.7.5.2 Link to comment Share on other sites More sharing options...
chon59 Posted October 20, 2022 Author Share Posted October 20, 2022 Ok, short update : I kept looking and found that on 1.7 I should be looking at /app/config/parameters.php and indeed there were a problem as you can see on the image attached the file is empty and modified and its permission is 0666 I don't know if it's ok. So, like the other file, I replaced it with a backup version from August, and it seems to work. But I can't figure out what was going on or if like the other days it will crash again. I will post it here if it happens again and if it's ok I will close the topic tomorrow. Link to comment Share on other sites More sharing options...
chon59 Posted October 21, 2022 Author Share Posted October 21, 2022 Ok it seems to be resolved. I noticed that my host capacity was full. And I deleted some unnecessary stuff. It seems to work fine again, just I don't get why I got those 2 files empty. 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