Question

I get an http 500 error in my script

Posted August 13, 2021 93 views
PHP FrameworksHTMLBuilding a SaaS

Hello family, I hope you are well?

I installed a script and it works fine. well it’s relative because I get an http 500 error when I click on some pages of the site.

Would you know how to fix it?

Sincerely

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hi there @hyppoliteondo,

What I could suggest is checking your server logs to see the actual error rather than the generic 500 error. If you are using Apache you can do that with:

tail -100 /var/log/apache2/error.log

If you are using Nginx, you can use the following:

tail -100 /var/log/nginx/error.log

Alternatively, depending on the PHP framework that you are using, I would recommend enabling debug mode so that you could see the actual stack trace.

Let me know how it goes!
Regards,
Bobby