aGandrass's avatar

Laravel Auth - 500 Server Error

Hello, I have created a new Controller with the public function __contruct which works fine in development environment. But when I upload my app onto my Server and trying to access the new controller I get the error message 500 server error.

Does anybody have an idea? Thank you very much Andre

0 likes
2 replies
tykus's avatar

__contruct

typo?

Any 5xxerror is server related; so you are best to check the application logs on the server to find out the cause

aGandrass's avatar

Thanks tykus. Unfortunately, I have no typo in the code. Only here in the description. If I look into my forge Laravel log I get to see this: ls: cannot access '/home/forge/XXX.XXX.com/storage/logs/*.log': No such file or directory

I have further notices that it only happens when the controller sends to another view. Otherwise I won't get the error message.

Please or to participate in this conversation.