Answer the question
In order to leave comments, you need to log in
Yii2 incorrect image paths in widgets how to fix?
The situation is the following. On the test server, everything shows fine and all assets are picked up successfully. But in production, pictures in some
captcha, ckeditor widgets do not work .
Their functionality is correct, i.e. captcha works and is validated, just like with the editor. There is a form and a panel, but there are no images on the form, only alt texts. And if you click everything works fine. The captcha has just a white picture, i.e. in fact there is a piccha, but it’s either empty or something else, I don’t understand.
Has anyone encountered such a problem? I looked at the application assets, added / thought, maybe they are missing on the way, but all in vain.
Answer the question
In order to leave comments, you need to log in
Everything turned out to be simpler .... when uploading to ftp, the pictures deteriorate because the upload is ANCI. So he didn't really see them. I re-uploaded the handles through the total commander and everything is ok.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question