wick Posted April 10, 2015 Share Posted April 10, 2015 (edited) Около получаса назад, форум просто повис, по 5 минут переходит с раздела в раздел, всё это время ожидание занято каким то запросом с ajax.googleapis.com , что это такое, как это вырубить, форум висит ...Висит именно форум, админка отлично и быстро работает вот из-за этого происходит зависание, так как ajax.googleapis.com не доступен сейчас <script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js'></script> <script type='text/javascript'> Edited April 10, 2015 by wick Link to comment Share on other sites More sharing options...
newbie Posted April 10, 2015 Share Posted April 10, 2015 С указанного ресурса подгружается jquery-библиотека, нужна для работы jquery-скриптов. В вашем случае, полосы-прокрутки "Вверх". Может быть еще какие-нибудь скрипты есть.У Вас 4 варианта:- Отказаться от jquery.- Найти альтернативные ресурсы, с которых будет загружаться библиотека.- Загружать ее со своего форума. Сохранить, залить и подключить.- Переписать на prototype. Link to comment Share on other sites More sharing options...
wick Posted April 10, 2015 Author Share Posted April 10, 2015 помогите пожалуйста как это решить, это очередные санкции для Крыма, гугл закрыл очередной сервис ... Link to comment Share on other sites More sharing options...
newbie Posted April 10, 2015 Share Posted April 10, 2015 Ищите в шаблонах, где подключена библиотекаМеняйте адрес на //code.jquery.com/jquery-1.7.1.min.jsили на //ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.1.min.js П.С. Эти работают? Link to comment Share on other sites More sharing options...
wick Posted April 10, 2015 Author Share Posted April 10, 2015 Ищите в шаблонах, где подключена библиотекаМеняйте адрес на //code.jquery.com/jquery-1.7.1.min.jsили на //ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.1.min.js П.С. Эти работают? Да, эти работают, сейчас изменю, это только в глобал темплейт менять надо? Link to comment Share on other sites More sharing options...
newbie Posted April 10, 2015 Share Posted April 10, 2015 Да, эти работают, сейчас изменю, это только в глобал темплейт менять надо? Вам виднее, как и что Вы меняли/добавляли. Может в шаблоне, может в хуке.В любом случае есть поиск по шаблонам и БД. Link to comment Share on other sites More sharing options...
wick Posted April 10, 2015 Author Share Posted April 10, 2015 вот в displayPopUpWindow и в includeJS много упоминаний ajax.googleapis.com , на что его менять, так как там разные скрипты я так понимаю displayPopUpWindow<if test="popupminfyjsrl:|:$this->settings['remote_load_js']"> <script type='text/javascript' src='<if test="popupminfiyrlhttpsp:|:$this->registry->output->isHTTPS">https<else />http</if>://ajax.googleapis.com/ajax/libs/prototype/1.7/prototype.js'></script> <script type='text/javascript' src='<if test="popupminfiyrlhttpss:|:$this->registry->output->isHTTPS">https<else />http</if>://ajax.googleapis.com/ajax/libs/scriptaculous/1.8/scriptaculous.js?load=effects,dragdrop,builder'></script> <else /> <script type='text/javascript' src='{$this->settings['public_dir']}min/index.php?g=js'></script> </if> <script type='text/javascript' src='{$this->settings['public_dir']}min/index.php?f={parse expression="PUBLIC_DIRECTORY"}/js/ipb.js,{parse expression="PUBLIC_DIRECTORY"}/js/ips.quickpm.js<if test="popupjsmodules:|:count($jsLoaderItems) AND is_array($jsLoaderItems)">,{parse expression="PUBLIC_DIRECTORY"}/js/ips.{parse expression="implode('.js,' . PUBLIC_DIRECTORY . '/js/ips.', array_unique( array_keys( $jsLoaderItems ) ) )"}.js</if>,cache/lang_cache/{$this->lang->lang_id}/ipb.lang.js'></script> <else /> <if test="popuprl:|:$this->settings['remote_load_js']"> <script type='text/javascript' src='<if test="popuphttpsp:|:$this->registry->output->isHTTPS">https<else />http</if>://ajax.googleapis.com/ajax/libs/prototype/1.7/prototype.js'></script> <else /> <script type='text/javascript' src='{$this->settings['public_dir']}js/3rd_party/prototype.js'></script> </if> <script type='text/javascript' src='{$this->settings['public_dir']}js/ipb.js?load=quickpm<if test="popupjsmodules:|:count($jsLoaderItems) AND is_array($jsLoaderItems)">,{parse expression="implode(',', array_unique( array_keys( $jsLoaderItems ) ) )"}</if>'></script> <if test="popuprl2:|:$this->settings['remote_load_js']"> <script type='text/javascript' src='<if test="popuphttpss:|:$this->registry->output->isHTTPS">https<else />http</if>://ajax.googleapis.com/ajax/libs/scriptaculous/1.8/scriptaculous.js?load=effects,dragdrop,builder'></script> includeJS<script type='text/javascript' src='<if test="usehttpsprototype:|:$this->registry->output->isHTTPS">https<else />http</if>://ajax.googleapis.com/ajax/libs/prototype/1.7.1.0/prototype.js'></script> <script type='text/javascript' src='<if test="usehttpsscriptaculous:|:$this->registry->output->isHTTPS">https<else />http</if>://ajax.googleapis.com/ajax/libs/scriptaculous/1.8/scriptaculous.js?load=effects,dragdrop,builder'></script> <else /> <script type='text/javascript' src='{$this->settings['js_base_url']}min/index.php?ipbv={$this->registry->output->antiCacheHash}&g=js'></script> </if> <script type='text/javascript' src='{$this->settings['js_base_url']}min/index.php?ipbv={$this->registry->output->antiCacheHash}&charset={$this->settings['gb_char_set']}&f={parse expression="PUBLIC_DIRECTORY"}/js/ipb.js,cache/lang_cache/{$this->lang->lang_id}/ipb.lang.js,{parse expression="PUBLIC_DIRECTORY"}/js/ips.hovercard.js,{parse expression="PUBLIC_DIRECTORY"}/js/ips.quickpm.js<if test="hasjsmodules:|:count($jsModules)">,{parse expression="PUBLIC_DIRECTORY"}/js/ips.{parse expression="implode('.js,' . PUBLIC_DIRECTORY . '/js/ips.', array_unique( array_keys( $jsModules ) ) )"}.js</if>' charset='{$this->settings['gb_char_set']}'></script> <else /> <if test="nominifyremoteloadjs:|:$this->settings['remote_load_js']"> <script type='text/javascript' src='<if test="nmusehttpsp:|:$this->registry->output->isHTTPS">https<else />http</if>://ajax.googleapis.com/ajax/libs/prototype/1.7.1.0/prototype.js'></script> <else /> <script type='text/javascript' src='{$this->settings['js_base_url']}js/3rd_party/prototype.js'></script> </if> <script type='text/javascript' src='{$this->settings['js_base_url']}js/ipb.js?ipbv={$this->registry->output->antiCacheHash}&load=quickpm,hovercard,{parse expression="implode(',', array_unique( array_keys( $jsModules ) ) )"}'></script> <if test="nominifyremoteloadjs2:|:$this->settings['remote_load_js']"> <script type='text/javascript' src='<if test="nmusehttpss:|:$this->registry->output->isHTTPS">https<else />http</if>://ajax.googleapis.com/ajax/libs/scriptaculous/1.8/scriptaculous.js?load=effects,dragdrop,builder'></script> Link to comment Share on other sites More sharing options...
newbie Posted April 10, 2015 Share Posted April 10, 2015 вот в displayPopUpWindow и в includeJS много упоминаний ajax.googleapis.com , на что его менять, так как там разные скрипты я так понимаюНичего тут не надо менять.Ищите настройку ("Подгружать javascript файлы из серверов Google"), отвечающую за загрузку скриптов с Google и ставьте в положение "Нет" Link to comment Share on other sites More sharing options...
wick Posted April 10, 2015 Author Share Posted April 10, 2015 Ничего тут не надо менять.Ищите настройку ("Подгружать javascript файлы из серверов Google"), отвечающую за загрузку скриптов с Google и ставьте в положение "Нет"так и стоит по умолчанию Link to comment Share on other sites More sharing options...
newbie Posted April 10, 2015 Share Posted April 10, 2015 Тогда в чем вопрос? У Вас там только кастомные css остались, которые подгружаются с fonts.googleapis.com Link to comment Share on other sites More sharing options...
wick Posted April 10, 2015 Author Share Posted April 10, 2015 (edited) понял, значит изменения в глобал темплейт хватило а если отрубят и fonts.googleapis.comчто делать, может надо как то выкачать от туда шрифты?:)) Спасибо! Edited April 10, 2015 by wick Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now