Support the ongoing development of Laravel.io →
Configuration Requests Views
Last updated 1 year ago.
0

make sure you have turned on php errors to show or log. check the http code the server is returning probably 500 ? what does the apache logs say?

0
Solution

Hello astroanu! Unfortunately the apache logs showed nothing, it showed that the page was loaded successfully - status 200. The good news is that I found the solution to the problem:

I had to comment out this line at the top of the index.php file in the public folder:

if (file_exists(__DIR__ . $_SERVER["REQUEST_URI"])) return false;

It was quite a frustrating thing to discover and I am surprised I didn't find this solution somewhere online with all the digging I did. So I returned here to make sure other could benefit from my experience and not get caught up in the same struggle.

Hope this helps everyone!

0

Sign in to participate in this thread!

Eventy

Your banner here too?

2Foot 2foot Joined 7 Nov 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.