2

I want to see all problems when a file can't loaded e.g. I used to do it but now I can't. The only thing I get when a problem occurs is

Whoops, looks like something went wrong.

How can I change this to detailed error? How can I see which line has to be fixed?

4

Edit app/config/app.php and make sure debug is set to true:

'debug' => true,
  • Thanks sir. This is a milestone for my Laravel career! :-) – Emre Doğan May 30 '14 at 1:23
3

The best way is to go to this directory: yourproject/app/storage/logs.

Inside the logs folder. you will see a laravel.log file. This is like a stack trace which tells you how your programs is implemented and what specific type of error it is. You just need to copy the error message and search on Google.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.