I
I
Igor Lavrov2017-07-09 12:53:59
JavaScript
Igor Lavrov, 2017-07-09 12:53:59

When transferring Yii2 to a server, js does not work, how to fix it?

These are the errors that have been thrown in...

9d5a0b17709e4b68b699a3809d05de39.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2017-07-09
@webinar

Options:
1. Apparently transferred via ftp and the vendor folder was not completely copied. Try to re-upload it, to be sure - make an archive, transfer it to the server and unpack it. If you use phpStorm, then you can compare the vendor folders and "top up" only the missing and "kotsanny". But the comparison will be very long, get ready. Although it is better of course to install via composer.
2. Maybe you have errors turned off and you just don't see that assetsManager can't create folders inside assets or something else.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question