ErrorException #2220
Unanswered
piyushgupta09
asked this question in
Q&A
ErrorException
#2220
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The code was working fine with v8, but it generates error in v9
This error occurs while saving image.
Controller (store) :-
$product
->addMedia($file)
->usingName($product->slug)
->toMediaCollection('product-slug');
ErrorException
touch(): Unable to create file C:\xampp\htdocs\project\storage\media-library/temp\MJ8cckzdSWqo9cuq6t2MMVeEbFVfO0g2\sBnPqDfcJitDZhLVrxiRx9ks0QSb1o7d. because Permission denied
Illuminate\Foundation\Bootstrap\HandleExceptions::handleError
C:\xampp\htdocs\project\vendor\spatie\laravel-medialibrary\src\MediaCollections\Filesystem.php:166
Beta Was this translation helpful? Give feedback.
All reactions