can't up folder ..public/storage to FTP .
I try created public/storage and copy all folder,file image
But can't upload image on server >> www.xxxx.com/admin
one image upload in localhost but 3 image can't upload on server.
Please help me
Your versions are quite a bit out of date. Voyager is up to v0.11.9 now. Your issue may have been fixed between then and now. Additionally, we recommend upgrading to Laravel 5.4 and PHP version 7 (or 7.1), but that's not necessarily required.
Once you've upgraded your Voyager version (please use the migration guide), please test again and let us know. If you're still having issues, we can try a few other things.
@fletch3555 oh I'm sorry I fotget. Voyager has been last version aleady :) 0.11.9
@ohana88, you can do as i did:
i modified the public disk in the filesystems config.
'public' => [
'driver' => 'local',
'root' => public_path('/storage'),
'url' => env('APP_URL').'/storage',
'visibility' => 'public',
],
(i am not quite a fan of saving things into the /storage folder)
@AurelDragut technically speaking, i totally agree with your way.
Closing due to age. If this is still an issue after the 1.0 release, please create a new issue
'public' => [
'driver' => 'local',
'root' => storage_path('app/public'),
'url' => env('APP_URL').'/storage',
'visibility' => 'public',
],
this was the error for me
i check the file manager and changed the path config->filesystems
'public' => [
'driver' => 'local',
'root' => storage_path('app/public'),
'url' => env('APP_URL').'/storage/app/public',
'visibility' => 'public',
],
it works for me on godaddy server
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.
Most helpful comment
@ohana88, you can do as i did:
i modified the public disk in the filesystems config.
'public' => [ 'driver' => 'local', 'root' => public_path('/storage'), 'url' => env('APP_URL').'/storage', 'visibility' => 'public', ],(i am not quite a fan of saving things into the /storage folder)