Еще раз спасибо,
Решились все проблемы в консоле на главной странице, странице категориий - в консоле теперь ошибок нет.
Но есть еще проблемы на странице карточки товара
Вот часть кода страницы:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru-ru" lang="ru-ru" dir="ltr">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="SHORTCUT ICON" href="/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="templates/blue/css/owl.carousel.min.css">
<link rel="stylesheet" href="templates/blue/css/owl.theme.default.css">
<script src="/templates/blue/js/jquery-3.2.1.min.js"></script>
<script src="/components/com_jshopping/js/jquery/jquery.lightbox-0.5.pack.js"></script>
<!-- <script src="/media/jui/js/jquery.min.js"></script> -->
<!-- <script src="/templates/blue/js/jquery-migrate-1.1.1.js"></script> -->
<!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> -->
<!-- <link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/jquery.slick/1.8.0/slick.css"/> -->
<!-- <script
src="https://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous"></script> -->
<script src="http://test.com/components/com_jshopping/js/jquery/jquery.media.js"></script>
<script src="http://test.com/components/com_jshopping/js/functions.js"></script>
<script src="http://test.com/components/com_jshopping/js/validateForm.js"></script>
<script src="http://test.com/components/com_jshopping/js/jquery/jquery.lightbox.js"></script>
<script src="http://test.com/components/com_jshopping/js/jquery/jquery.MetaData.js"></script>
<script src="http://test.com/components/com_jshopping/js/jquery/jquery.rating.pack.js"></script>
<script src="https://www.google.com/recaptcha/api.js"></script>
<script src="/media/system/js/mootools-core.js"></script>
<script src="/media/system/js/core.js"></script>
<script src="/media/jui/js/jquery.min.js"></script>
<script src="/media/jui/js/jquery-noconflict.js"></script>
<script src="/media/jui/js/jquery-migrate.min.js"></script>
<script src="/media/system/js/punycode.js"></script>
<script src="/media/system/js/validate.js"></script>
<script>
function initJSlightBox(){
jQuery("a.lightbox").lightBox({
imageLoading: "http://test.com/components/com_jshopping/images/loading.gif",
imageBtnClose: "http://test.com/components/com_jshopping/images/close.gif",
imageBtnPrev: "http://test.com/components/com_jshopping/images/prev.gif",
imageBtnNext: "http://test.com/components/com_jshopping/images/next.gif",
imageBlank: "http://test.com/components/com_jshopping/images/blank.gif",
txtImage: "Изображение",
txtOf: "из"
});
}
jQuery(function() { initJSlightBox(); });
</script>
<script>
(function() {
Joomla.JText.load({"JLIB_FORM_FIELD_INVALID":"\u041d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u043e \u043f\u043e\u043b\u0435: "});
})();
</script>
</head>
Вот copypaste консоли на странице товара:
JQMIGRATE: Migrate is installed, version 1.4.1
jquery-migrate.min.js:2:542
jQuery.Deferred exception: control.current.prevAll(...).andSelf is not a function draw@http://test.com/components/com_jshopping/js/jquery/jquery.rating.pack.js:250:5
$.fn.rating@http://test.com/components/com_jshopping/js/jquery/jquery.rating.pack.js:34:4
$.fn.rating@http://test.com/components/com_jshopping/js/jquery/jquery.rating.pack.js:193:3
@http://test.com/components/com_jshopping/js/jquery/jquery.rating.pack.js:378:3
j@http://test.com/templates/blue/js/jquery-3.2.1.min.js:2:29997
g/</k<@http://test.com/templates/blue/js/jquery-3.2.1.min.js:2:30313
undefined
jquery-3.2.1.min.js:2:31569
TypeError: $(...).owlCarousel is not a function
[Learn More]
common.js:5:1
TypeError: jQuery(...).lightBox is not a function
[Learn More]
index.php:70:5
TypeError: control.current.prevAll(...).andSelf is not a function
[Learn More]
Пытаюсь разобраться откуда это все подгружается. Например :
<script src="/media/system/js/mootools-core.js"></script>
Вот с этого места непонятно от куда эти скрипты подгружаются и какой файл нужно редактировать?
Я так понимаю нужно удалить эту строку - <script src="/media/jui/js/jquery-migrate.min.js"></script> ?