jeudi 17 mars 2016

How to debug errors in Laravel like unexpected ';'

I have started learning Laravel from last few days and during the course I keep getting errors like

unexpected ';'

below is the detailed error

FatalErrorException in 
home/ubuntu/workspace/storage/framework/views/d54ff8380f369dc8c9bc785ef2c17d66e0f399b3.php line 10: syntax error, 
unexpected ';'

Though I was able to find the cause of the error, which was again because of one typographical mistake in one of my view file i.e. create.blade.php .

My question is how to debug similar kind of error in large projects as error don't points out the exact file-name where syntax error was happening though the line number mentioned was the correct one ?

Please do let me know if I am not clear in my above question.

P.S. I checked the logs as well and it says the same thing.

Thanks in advance, Sambhav



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire