Replies: 20 comments 13 replies
-
Folder permissions |
Beta Was this translation helpful? Give feedback.
-
I don't think it's due to folder permissions. If I upload from the backend it's working. |
Beta Was this translation helpful? Give feedback.
-
@Kokil What is your environment? Is this Laravel Sail or production? |
Beta Was this translation helpful? Give feedback.
-
It's in the local environment. i haven't tested that in production. |
Beta Was this translation helpful? Give feedback.
-
@Kokil I also think this is a permission issue. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I really don't know, if your public correctly defined in Anyway, I don't think this is a package issue, sorry. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I also got same error on laravel 10. but it was working in same way in laravel 9. The error is
|
Beta Was this translation helpful? Give feedback.
-
Yes i also upgrade from laravel 8 in laravel 8 it was working fine. |
Beta Was this translation helpful? Give feedback.
-
any update on this ? |
Beta Was this translation helpful? Give feedback.
-
@Kokil Hi, make a debug, and feel free to make a PR with the fix |
Beta Was this translation helpful? Give feedback.
-
I'm also seeing this issue, but only on PHP 8.2(.8) - 8.1(.12) is behaving as expected. (Both running Laravel 10.15.0.) Specifically the I'm assuming there must be a PHP CLI configuration difference that's causing this - did anyone else determine what their issue was? |
Beta Was this translation helpful? Give feedback.
-
Hello guys, did anyone solve this issue? I'm having the same problem with L10 and latest version of MediaLibrary. |
Beta Was this translation helpful? Give feedback.
-
Try setting 'throw' to true and send the exception it throws. This is just to debug, change it back to 'false' after testing. |
Beta Was this translation helpful? Give feedback.
-
Has anyone fixed this issue already? |
Beta Was this translation helpful? Give feedback.
-
It's a folder permission issue. I ran this and it worked
Laravel 10 |
Beta Was this translation helpful? Give feedback.
-
I had the same error when adding new images (not regenerate) and on my side it was due to a wrong filename I tried to set (set the file extension incorrectly). Nothing to do with permissions on my end |
Beta Was this translation helpful? Give feedback.
-
I was having this issue running laravel locally and trying to seed the db + drop in some test logo images. After doing the
That did the trick 👍 hope this helps a fellow wayward dev =] |
Beta Was this translation helpful? Give feedback.
-
@Kokil Go to the filesystems file and change the public disk, comment 'visibility' => 'public' and add 'ACL' => 'public-read' to the array. it will stay like this:
It works for me : D |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm encountering an issue while using laravel-medialibrary version ^10.9 .
When i run php artisan media-library:regenerate it give:
Media id 1:
Disk named
publiccannot be accessed
I have verified my filesystem configuration in config/filesystems.php and it appears to be set correctly:
Could you please guide me in troubleshooting this issue? Is there anything specific I should be aware of when using laravel-medialibrary with Laravel 10.x?
Beta Was this translation helpful? Give feedback.
All reactions