Comments (16)
I've the same problem in Laravel 5.1
from laravel-filemanager.
hi again
ok guys,
@fraterblack , @premier213
With your permission @g0110280
i will find the upload bug and fixed it
ok, how to fix this:
- open vendor\unisharp\laravel-filemanager\src\controllers\UploadController.php
- go to : function uploadValidator()
- chane : line 77 and 80 if(!$file) to if(empty($file))
if (!$file) { throw new \Exception(Lang::get('laravel-filemanager::lfm.error-file-empty')); } if (!$file instanceof UploadedFile) { throw new \Exception(Lang::get('laravel-filemanager::lfm.error-instance')); }
to :
if (empty($file)) { throw new \Exception(Lang::get('laravel-filemanager::lfm.error-file-empty')); } if (empty($file) instanceof UploadedFile) { throw new \Exception(Lang::get('laravel-filemanager::lfm.error-instance')); }
this is work for me
from laravel-filemanager.
@fraterblack, @premier213
Thanks for spotting this bug and show me the solution.
However I can't reproduce this error.
What are your's PHP version?
from laravel-filemanager.
your welcome :)
php version : 5.6.3
from laravel-filemanager.
@kamiyar :
Fixed codes as you recommand.
Could you update to dev-master(see readme.md) and see if the problem are solved?
from laravel-filemanager.
@g0110280
first, thanks
updated to dev-master and republished everythinks
but i get this error
from laravel-filemanager.
put 'middleware' => ['web','auth'],
from laravel-filemanager.
still not work!
from laravel-filemanager.
agha @kamiyar this problem for persian language?
from laravel-filemanager.
Hi :) @premier213
You don't have this problem?!
from laravel-filemanager.
convert file to UTF-8 @kamiyar
from laravel-filemanager.
@kamiyar
Did you login?
from laravel-filemanager.
@g0110280 yes i'm login
from laravel-filemanager.
@g0110280
@premier213
ok problem solved. issue is in my router.
everythinks looks good
thank you @g0110280
from laravel-filemanager.
Well, that is weird.
I just create a new Laravel 5.2 project, encountering "NotFountHttpException" like you.
Then I set middlewares as @premier213 mentioned in config/lfm.php
.
And the problem solved after I logged in.
from laravel-filemanager.
OK @kamiyar you're welcome.
Thanks @premier213 .
from laravel-filemanager.
Related Issues (20)
- Missing parent::error method at LfmController HOT 3
- + icon dissappears and doesn't come back HOT 3
- Larave File Manager version 2.6.4 does not support .gif files HOT 3
- clicking the confirm button to get the file path url
- Class \"Intervention\\Image\\Facades\\Image\" not found HOT 5
- Use Laravel's built in filesystem abstraction
- Not compatible with Laravel 11 HOT 2
- "Class \"Intervention\\Image\\Facades\\Image\" not found" on Laravel 11 and laravel-filemanager 2.8 HOT 6
- Can't upload a .gltf file?
- Logs left in code HOT 2
- Class "Intervention\Image\Laravel\Facades\Image" not found HOT 3
- tinymce 7 Integration
- How to use UniSharp File Manager with InertiaJS, ReactJs HOT 3
- Get relative path without the domain HOT 4
- support for Quill Rich Text Editor
- Support for Trix Editor
- Delete button is not clickable HOT 1
- Update Hebrew translations
- On file (image) upload: " Some error occured during uploading" error tooltip shows up with Tinymce 7 editor. HOT 2
- How can I delete files in bulk?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-filemanager.