TokenMismatchException in VerifyCsrfToken.php Line 67

I’m assuming you added $this->middleware(‘auth’); inside the constructor of your controller to get the authentication working. In your login/register forms, if you are using {!! Form::someElement !!}, add the following line at the top as well: Or if you are using input tags inside your forms, just add the following line after <form> tag: Hope … Read more

No gulpfile found

I am new in laravel. I am trying the command nmp install. it does not work. Then as shown in their official documentation, I tried but I was getting access denied error. So I gave It seemed to give me some correct result. then I gave but it says that, “npm WARN [email protected] No description … Read more

Laravel 5.2 Storage::makeDirectory($dir) is not creating directory

Well… I figured out what was going on. File::exists(public_path() . “/video/$user”) is looking for this: /home/ubuntu/workspace/site/public/video/N And Storage::makeDirectory(public_path() . “/video/$user”) is creating a directory in: /home/ubuntu/workspace/site/storage/app/public/video/N So I can go to site/config/filesystems.php and change the routes for app and app/public ; you can check them by using the helper storage_path(‘app’).But, instead, I decided to save the videos in the storage/app/public/video and storage/app/public/thumbnails, and I am getting some package’s … Read more