9IPOCTb Posted October 1, 2018 Share Posted October 1, 2018 Приветствую уважаемые форумчане. Подключил https к форуму и после каждого обновления страницы слетают иконки, выглядят как квадратики. Подскажите как исправить? форум 4.2 Link to comment Share on other sites More sharing options...
9IPOCTb Posted October 1, 2018 Author Share Posted October 1, 2018 очистка кеша форума помогает, но после обновления страницы иконки опять слетают Link to comment Share on other sites More sharing options...
Атаман Posted October 1, 2018 Share Posted October 1, 2018 Не могу попасть к Вам на форум. Может кэш браузера? 1 Link to comment Share on other sites More sharing options...
9IPOCTb Posted October 1, 2018 Author Share Posted October 1, 2018 кеш браузера не причем к сожалению, такая проблема и в безопасном режиме и в других браузерах Link to comment Share on other sites More sharing options...
Атаман Posted October 1, 2018 Share Posted October 1, 2018 config_global http на htpps переделали ? + бывает такое, что в constant.php тоже корректировки нужно внести 1 Link to comment Share on other sites More sharing options...
9IPOCTb Posted October 1, 2018 Author Share Posted October 1, 2018 в config_global да, менял, стоит вот так:$INFO['board_url'] = 'https://'.$_SERVER['HTTP_HOST'];а файла constant.php вообще нет, он должен быть? Link to comment Share on other sites More sharing options...
Атаман Posted October 1, 2018 Share Posted October 1, 2018 а файла constant.php вообще нет, он должен быть? Разные настройки кэширования и тд. Значит Вы не используете. 1 Link to comment Share on other sites More sharing options...
9IPOCTb Posted October 1, 2018 Author Share Posted October 1, 2018 значит нужно добавить этот файл? а какое содержание должно быть? либо я что-то не так понял?( Link to comment Share on other sites More sharing options...
Атаман Posted October 1, 2018 Share Posted October 1, 2018 Ничего туда не нужно добавлять. В лс 1 Link to comment Share on other sites More sharing options...
9IPOCTb Posted October 2, 2018 Author Share Posted October 2, 2018 (edited) проблему с иконками решил спасибо Атаману за наводку, прописав линк на фонтавесоме со стороннего сервиса, осталась проблема с боковым блоком на зеркалах форума, только на зеркалах, на основном домене все норм, и только в боковых блоках, возможно очередной скрипт не подгружается, подскажите какой скрипт отвечает за это, либо есть другое решение данной проблемы? скрин ошибки:заранее спасибо всем за ответы Edited October 2, 2018 by 9IPOCTb Link to comment Share on other sites More sharing options...
9IPOCTb Posted October 2, 2018 Author Share Posted October 2, 2018 ошибки в консоли: Failed to load resource: net::ERR_BLOCKED_BY_CLIENT (index):1 Access to Font at 'https://сайт1/applications/core/interface/font/icomoon.woff?v=-29n77j' from origin 'https://сайт2' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://сайт2' is therefore not allowed access. (index):1 Access to Font at 'https://сайт1/applications/core/interface/font/icomoon.ttf?v=-29n77j' from origin 'https://сайт2' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://сайт2' is therefore not allowed access. (index):1 Failed to load https://сайт1/index.php?/profile/20869-lower227/&do=hovercard&csrfKey=b44402280d74bef94fde92a1168cb84d: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://сайт2' is therefore not allowed access. Link to comment Share on other sites More sharing options...
9IPOCTb Posted October 2, 2018 Author Share Posted October 2, 2018 заработало) вроде...настроил CORS и поехало, пока буду тестировать, если возникнут проблемы отпишусьспасибо вам! заставляете задумываться пока пишешь пост и начинаешь искать решение в другом направлении :) 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