Problem with Storage

Asked

Viewed 118 times

0

I currently own the following tree in my dreamhost hosting

[Core do laravel]
- laracore
-- app
-- bootstrap
-- config ...
[Pasta public fora do core]
- exemplo.com.br
--css
--js

After adjusting the settings ran normal. But implementing the admin Voyager his image upload is in trouble. From what I researched I realized that it is in the Storage configuration.

  • How can I solve this problem ?
  • On shared servers what is the best file structure ?

  • I tried running php Artisan Storage:link, but I may be missing something.

  • why did you take public of the correct location ? I see big problems doing so, mainly because the folder public is responsible for having the index.php who calls the app.

  • To avoid direct access through the core. The access to index I just hit the bootstrap route of the Laravel and works normal, but the part of Storage I need to figure out how to hit

  • When you say: Para evitar o acesso direto pelo core the Laravel application, already configured to not directly access the core. Now if you remove the public the part of the storage does not work either. Good try to configure Laravel the same way you program, will not have any problem and what you said is not correct.

  • @Virgilionovic, thanks for clarifying me. After numerous searches I solved my problem with this link link

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.