K
K
KRAcoder2021-01-31 22:53:28
Laravel
KRAcoder, 2021-01-31 22:53:28

Why does a symbolic link to a folder not work correctly on timeweb hosting, why can't I transfer data through it?

Uploaded the site on Laravel to timeweb hosting. The site uses file uploads by the admin. Further, the uploaded images are displayed on the main page. For loading I use the built-in filуsystem. Everything is stored in the storage/app/public folder. The global public folder has a symbolic link to the storage/app/public folder. On the local server, everything works fine, but on the hosting, the data does not want to be transferred through a symbolic link to the folder. I changed the rights, and changed the links for everyone, nothing helped.

<img  src="{{ url('/public/'.$task->img)}}" class="task_img  {{$task->id}}"><p class="task_title">


Here is the site hosted
by rubicscube.ru

e-mail: [email protected]
password: 11111111

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question