Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Hostinger Laravel Website not displaying errors

I have a project built with Laravel 9 and hosted on hostinger. Website is not loading and I cannot see error neither in laravel.log file nor on front end html page

I tried adding app debug true in .env file but its not working

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

You need to enable displayErrors and logErrors in PHP Configuration option for hostinger if that’s not enabled.

Go to Websites -> Advanced (PHP Configuration) option and there will be a tab labeled as PHP Options. Look for displayErrors and logErrors checkbox and enable both of those. It will show error on front-end and will log them too.

I had faced same error.

For reference look into this article. It solves this issue:

https://support.hostinger.com/en/articles/4259219-how-to-display-php-error-messages

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading