I was writing some custom php for the product view page in Magento, and accidentally executed an infinite while loop on the server. I erased this code (I've gone all the way to put view.phtml back to what it was before I started working with it), flushed/cleared every kind of cache, even deleted cache manually but NO pages are working on the site. They all hang forever, which makes it seem as though they're all executing the infinite while loop (even non-product pages.) I have no idea what to do at this point to fix this - any ideas?
0
votes
2 Answers
1
votes
They are maybe still running.
If you are using apache2 restart it, if your are using nginx restart php-fpm.
However, if cant restart or kill processes and you did not exec them over the console, you should reach the max_execution time of you server. by default this is 60 seconds so this problem should solve itself in time.