I've been having this issue 3 days now.
I already tried setting permission to full access to storage directory on windows explorer, run command chmod -R o+w storage
but still no luck. On the other hand in my friend's dev environment using Homestead, no permission problem occurred.
Asked
Active
Viewed 281 times
0
-
What web server are you running? – atymic Jul 22 '19 at 03:45
-
Looks like you are on windows from the paths, so `chmod` won't work. – atymic Jul 22 '19 at 03:46
-
@atymic yes windows. – claudios Jul 22 '19 at 04:31
-
> What web server are you running? – atymic Jul 22 '19 at 04:31
-
@atymic I'm using nginx – claudios Jul 22 '19 at 04:43
-
The directory separator after medialibrary in the path is incorrect. May I know how you are trying to store the file? – Ravi Jul 24 '19 at 12:00
-
@Ravi, I believe spatie automatically generates that path. – claudios Jul 24 '19 at 13:02
-
Can you share the snippet of file upload that is causing this error? – Ravi Jul 25 '19 at 05:22