I'm very beginner in Laravel. I have Laravel 5.8 and MacOS. When I run this command:
artisan storage:link
I have error:
ErrorException : symlink(): No such file or directory
at /Users/trifek/Projects/php/laravel/project/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:252
248| */
249| public function link($target, $link)
250| {
251| if (! windows_os()) {
> 252| return symlink($target, $link);
253| }
254|
255| $mode = $this->isDirectory($target) ? 'J' : 'H';
256|
Exception trace:
1 symlink("/Users/trifek/Projects/php/laravel/project/storage/app/public", "/Users/trifek/Projects/php/laravel/project/public/storage")
/Users/trifek/Projects/php/laravel/project/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:252
How can you fix it?
My problem is that when you upload files in: https://unisharp.github.io/laravel-filemanager/config - files are uploaded to storage / app / public / files / - instead of correct public / upload
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire