Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Sign Up

[Решено] Ошибки JS при переезде на https

Recommended Posts

Появилась ошибка в JS при переезде на https, перестали подгружаться товары в категориях (бесконечная прокрутка).

Вот что в консоли:

Mixed Content: The page at 'https://abt-professional.com/magazin/' was loaded over HTTPS, 
but requested an insecure XMLHttpRequest endpoint 'http://abt-professional.com/magazin/?page=2'. 
This request has been blocked; the content must be served over HTTPS.
send @ jquery-2.1.1.min.js?j2v=2.8.5:4
ajax @ jquery-2.1.1.min.js?j2v=2.8.5:4
n.(anonymous function) @ jquery-2.1.1.min.js?j2v=2.8.5:4
load @ jquery-ias.min.js?j2v=2.8.5:13
(anonymous) @ jquery-ias.min.js?j2v=2.8.5:13
j @ jquery-2.1.1.min.js?j2v=2.8.5:2
add @ jquery-2.1.1.min.js?j2v=2.8.5:2
c.next @ jquery-ias.min.js?j2v=2.8.5:13
scrollHandler @ jquery-ias.min.js?j2v=2.8.5:13
a @ jquery-ias.min.js?j2v=2.8.5:13
setTimeout (async)
d @ jquery-ias.min.js?j2v=2.8.5:13
f @ jquery-2.1.1.min.js?j2v=2.8.5:2
dispatch @ jquery-2.1.1.min.js?j2v=2.8.5:3
r.handle @ jquery-2.1.1.min.js?j2v=2.8.5:3


Edited by deadlylimonad
Link to comment
Share on other sites

Да, я менял адрес в  jquery-2.1.1.min.js с этого:


на это:



Link to comment
Share on other sites

Только что, anboza сказал:

и судя по ссылке, это у вас пагинация uде-то формирует ссылку на вторую страницу, не в https

Вот вот где-то формирует..

Link to comment
Share on other sites

В config.php и admin/config.php поменять все http:// на https://

  • +1 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.