uccdev's avatar

"500 Server Error" when visiting certain pages?

My laravel login setup was working fine for me yesterday. When I log in today, I find I have the plain textNo input file specified. on my webpage.

That error is fixed when I run vagrant reload --provision. But when I do that, and access any of my normal routes that were working fine yesterday, I get this message instead:

 500 Server Error

I don't get why. From searching up past instances of this error, it's usually because of how homestead's public/index files are configured. But again, I have changed nothing since working on this yesterday, where it all worked fine.

I should note that two routes are an exception to this: the login route and the home route. These are both the laravel default package routes. However I need to access my main route, and that gives me the 500 Server Error issue.

Any advice wold be greatly appreciated.

0 likes
2 replies
Sinnbeck's avatar
Sinnbeck
Best Answer
Level 102

Start by looking in ./storage/logs/laravel.log to see if it has the actual error.

If not then check /var/logs/somefilename.error.log <- I dont know the file name on your system.

uccdev's avatar

Should have done this first. It pointed out a typo in my code. Thank you.

Please or to participate in this conversation.