D
D
DarkByte20152018-09-14 11:43:11
Yii
DarkByte2015, 2018-09-14 11:43:11

How to restore assets?

Somewhere all the assets from the web/assets folder (statics) have disappeared, and now everything on the page is moving and is not displayed as it should. How to restore them? composer update did. I even deleted vendor and composer.lock and still the assets were not restored.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
DarkByte2015, 2018-09-14
@DarkByte2015

A simple cache reset helped. For some reason, I didn't even think that this could be the case ...

M
Maxim Timofeev, 2018-09-14
@webinar

web/assets

is created automatically, if not, there are many reasons, but most likely there is no write access to this folder
why? Assets is populated when accessing the assetsManager

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question