thedevdojo / voyager

Voyager - The Missing Laravel Admin
https://voyager.devdojo.com
MIT License
11.78k stars 2.67k forks source link

Uploading Images on Voyager #4919

Closed ruisilva981 closed 4 years ago

ruisilva981 commented 4 years ago

Version information:

Description: I can´t upload images to my project, this happens:

vy

image

Fixing the symlink directly on voyager, creates a folder in the wrong path I think, instead of create in public_html->storage

image image image image

MrCrayon commented 4 years ago

public_html is not the standard Laravel public folder. Did you make appropriate adjustments?

ruisilva981 commented 4 years ago

On localhost, everything worked fine. But when I host the project into a server, that error happened. When I fix the symlink on voyager, that folder public_html is created into my project folder (bdcompany). So, probably is something wrong with the system of storage.

fletch3555 commented 4 years ago

As @MrCrayon said, this is an issue with your non-standard laravel setup, not Voyager. You need to tell laravel how to find your "new" public directory

ruisilva981 commented 4 years ago

Any recommendation to solve that?

fletch3555 commented 4 years ago

It's well documented and easily found with a simple search. Try something like "laravel on shared hosting"

ruisilva981 commented 4 years ago

Solved. Thanks for the help @fletch3555 and @MrCrayon !!

isepulveda78 commented 4 years ago

How did you solve it?

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.