mnabialek

PHP Developer at Chicago

Hire Me

Experience

6,455

0 Best Reply Awards

  • Member Since 1 Year Ago
  • 64 Lessons Completed
  • 0 Favorites

18th May, 2016

mnabialek left a reply on File Upload Unkown Error With Phpunit • 8 months ago

This probably doesn't solve OP problem, but in latest Laravel 5.2 versions make sure you create object of

  \Illuminate\Http\UploadedFile

and not

\Symfony\Component\HttpFoundation\File\UploadedFile

Otherwise you might get quite strange errors as for example with this mimes rule validation failure. There's no point to create any custom validation rules as @Mehdi_Souihed mentioned in his post. For explanation have a look at http://stackoverflow.com/questions/36857800/laravel-5-2-testing-uploadedfile-misses-the-test-value-after-post-bug

mnabialek left a reply on Testing Uploaded Files • 8 months ago

In short you should now use:

\Illuminate\Http\UploadedFile

instead of

\Symfony\Component\HttpFoundation\File\UploadedFile

in your prepareFileUpload method. For details have a look at http://stackoverflow.com/questions/36857800/laravel-5-2-testing-uploadedfile-misses-the-test-value-after-post-bug to create your object

13th December, 2015

mnabialek left a reply on NotFoundHttpException In RouteCollection.php • 1 year ago

Make sure url that you click is available in routes and run

php artisan route:clear

to make sure you don't have oudated routes

1st March, 2015

mnabialek left a reply on Video Player Issue • 1 year ago

Hello, I had the exact same problem at least twice (one time today). I was using Firefox Developer Edition 38.0a2 (2015-02-28) on Windows 8.1 I got blue screen with 0xa0000...1 error

Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.