I get an http 500 error in my script

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?



Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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