1

I am using UniSharp file manager package in Laravel.

I have no problem uploading, But images are not displayed.

After executing the php artisan storage:link command, only the storage folder is displayed and there are no uploaded files in it.

.env APP_URL=http://localhost:8000

Laravel Framework 8.6.0

unisharp: master

Thank you for your help

2 Answers2

2

Solved!

I removed the storage folder from the public folder and ran the php artisan storage:link command again. The problem was solved!

0

Possible Solution Within GuzzleHttp/Handler/CurlFactory.php change:

\GuzzleHttp\Psr7\stream_for($sink);

to

\GuzzleHttp\Psr7\Utils::streamFor();
Sven Eberth
  • 3,057
  • 12
  • 24
  • 29
vanobo
  • 1