D
D
Doniyor Mamatkulov2018-10-25 13:35:13
Yii
Doniyor Mamatkulov, 2018-10-25 13:35:13

mixed content. Where does such an error come from?

Good day!
I found such an error. I understood the essence, the site works on https and some fonts are requested via http.
Googled and found a suggestion to replace all fonts.googleapis.com with https://fonts.googleapis.com It didn't help, and I can't find where these fonts are requested. Who faced, how did you decide?
5bd19c4d31eeb796350107.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
Kirill Arutyunov, 2018-10-25
@arutyunov

You must first disable asset bundles in the config, connect your styles and scripts manually:

'components' => [
        'assetManager' => [
            'bundles' => false,
        ],
 ],

If it helped, then some extension connects its styles, and they request the necessary fonts. You can fix it using inheritance and redefining Assets. See what you pull up from non-standard. Try searching with "Search for text in the entire project". And fonts can be connected like this:
//fonts.googleapis.com/...

J
Jupiter Max, 2018-10-25
@vardoLP

on yii site?

N
ns5d, 2018-10-25
@ns5d

https://developer.mozilla.org/en/docs/Security/Mix...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question