A
A
annonimus2018-07-05 09:27:27
Laravel
annonimus, 2018-07-05 09:27:27

Why does the Laravel admin give a 500 Internal Server Error?

Good day to all!
Guys, the thing is this .. I stopped accessing the admin panel using the site.com/admin link after I reinstalled the OS at home =) gives an error 500. Before that, everything worked.
There is no error in the logs at /storage/logs/laravel.log; rights exhibited 777 - all in vain; I checked all the files with the backup - everything is in order; and rebooted too. Tried using different browsers, same result.
Later I thought of going deeper site.com/admin/pages or site.com/admin/all, etc. they follow these links and everything works fine, but site.com/admin does not want to. Wonders.
Before that, it used to happen, the chrome browser in the admin panel broke and gave errors. Look like that's it.
Thank you!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Anton Mashletov, 2018-07-05
@annonimus

1) Enable in .env
Should display error details on the screen (500 - says nothing).
2) If not, then it may be a web server error. (for example, incorrect htaccess).

D
Dmitry, 2018-07-05
@php10

Well, there are no telepaths here, so turn on the debug mode and see what the problems are.

A
annonimus, 2018-07-05
@annonimus

Guys, nevertheless, the problem was, it seems to me, in htaccess, now I once again decided to set permissions to 755 for all files, but only through ftp and everything worked, before that I changed it through the terminal.
In general, what should be the permission on files and directories?
before that, I always put 755 on directories, 644 on files.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question