Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Hello!
In order to fix a 500 error on the site, do the following (from simple to complex):
1. Remember what you did recently on the site and return everything as it was.
2. Restore the site from a backup copy from the date when the site was still working. Start by recovering files. Most often this can be done with a few clicks in the hosting panel.
3. Change the PHP version for the site. Try multiple versions. If it doesn't help, return the PHP version that was.
4. Make sure that the hosting account has a free space in any way familiar to you.
5. Contact your hosting company for help. Sometimes hosters help with similar problems for free.
More difficult:
6. Check the logs for errors. Logs can be found in several places:
1. Server logs, often they can be found:
- in the root of the site, file /error.log (CPANEL panel)
- In the directory /logs/Your_site.error.log (ISPmanager5 panel)
2. Symphony logs
Go to the root of the site, and then to /var/log/
There you will find the logs.
Analyze the logs, they will lead you to the problem.
7. Enable syphony debug.
Instructions at the link: https://symfony.com/doc/4.2/components/debug.html
And the second option is to contact the hoster's technical support. They usually help with setting up the site.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question