Debug real world laravel application problems in server
The errors are listed below
This could be most common problem which is session expired. Just login again then the problem would be solved. This problem could be raised for many other reason. For example, if you submit through ajax and you don't escape the action name in VerifyCsrToken.php file. In your Http/Middleware folder there is a file called VerifyCsrToken.php, add the code as
protected $except = [
In the above code the "upload" is an action name. Just change this action name with your action name. I have explained this problem in this TinyMCE Laravel tutorial
This happens when you submit a form to database. If your database column length is less than the submitted field value length then you will get this error. Most of the time this error is reported as local.ERROR: SQLSTATE in the log file. Watch the video on the link. I have explained this in the video with a real world example.