AlexMint Posted May 7, 2016 Share Posted May 7, 2016 IPB 4.1.1. Хочу включить режим разработчика, прописываю define('IN_DEV', 1) в constants.php, открываю любую страницу, CSS не подгружаются, в исходнике страницы следующее: <link rel='stylesheet' href='//mysite.ru/applications/core/interface/css/css.php?css=applications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fanimation.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fbadges.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fblocks.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fbuttons.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fcomments.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fcompose.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fdata-lists.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fengagement.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Ffonts.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fforms.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fglobal.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Flayout.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Flightbox.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fmenus.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fmessages.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fmisc.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fnavigation.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fnormalize.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fpagination.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fpopup.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fpost-content.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fposts.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fprettify.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fstreams.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Ftables.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Ftabs.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Ftags.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Ftoolbox.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Ftypography.css&v=906bb1581d' media='all'> Ссылка ничего не выдает, ошибок в логах нет и вообще не понятно что происходит. Если убрать define('IN_DEV', 1) то все про красоте работает. В чем может быть проблема? Файлы перезаливать пробовал, версия IPB и DEV пакета совпадает, брал с офф сайта. Quote Link to comment Share on other sites More sharing options...
stok Posted May 7, 2016 Share Posted May 7, 2016 1. Нужно использовать dev пакет той версии, которой твой форум 2. Нужно удалить все кастомные стили и оставить только стандартный 3. Попробуй включить в init.php Quote Link to comment Share on other sites More sharing options...
AlexMint Posted May 7, 2016 Author Share Posted May 7, 2016 14 минут назад, stok сказал: 1. Нужно использовать dev пакет той версии, которой твой форум 2. Нужно удалить все кастомные стили и оставить только стандартный 3. Попробуй включить в init.php 1. Dev пакет той версии 2. Шаблон только стандартный 3. Вставил, ничего не изменилось P.S. если вставить рабочие линки то стили подгружаются и сайт работает хорошо, если нет, то все ссылки в таком духе... <link rel='stylesheet' href='//mysite.ru/applications/core/interface/css/css.php?css=applications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fanimation.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fbadges.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fblocks.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fbuttons.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fcomments.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fcompose.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fdata-lists.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fengagement.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Ffonts.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fforms.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fglobal.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Flayout.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Flightbox.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fmenus.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fmessages.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fmisc.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fnavigation.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fnormalize.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fpagination.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fpopup.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fpost-content.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fposts.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fprettify.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Fstreams.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Ftables.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Ftabs.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Ftags.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Ftoolbox.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fframework%2Ftypography.css&v=906bb1581d' media='all'> <link rel='stylesheet' href='//mysite.ru/applications/core/interface/css/css.php?css=applications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fresponsive%2Fbadges.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fresponsive%2Fbuttons.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fresponsive%2Fcomments.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fresponsive%2Fcompose.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fresponsive%2Fdata-lists.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fresponsive%2Fengagement.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fresponsive%2Fforms.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fresponsive%2Fglobal.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fresponsive%2Flayout.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fresponsive%2Flightbox.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fresponsive%2Fmenus.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fresponsive%2Fmisc.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fresponsive%2Fnavigation.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fresponsive%2Fpagination.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fresponsive%2Fpopup.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fresponsive%2Fpost-content.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fresponsive%2Fposts.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fresponsive%2Fresponsive.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fresponsive%2Fstreams.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fresponsive%2Ftables.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fresponsive%2Ftabs.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fresponsive%2Ftypography.css&v=906bb1581d' media='all'> <link rel='stylesheet' href='//mysite.ru/applications/core/interface/css/css.php?css=applications%2Fcore%2Fdev%2Fcss%2Fglobal%2Fflags.css&v=906bb1581d' media='all'> <link rel='stylesheet' href='//mysite.ru/applications/core/interface/css/css.php?css=applications%2Fcore%2Fdev%2Fcss%2Fadmin%2Fcore%2Fbuttons.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fadmin%2Fcore%2Fcontrolstrip.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fadmin%2Fcore%2Fforms.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fadmin%2Fcore%2Fglobal.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fadmin%2Fcore%2Flivesearch.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fadmin%2Fcore%2Fsupport.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fadmin%2Fcore%2Ftabs.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fadmin%2Fcore%2Ftreelist.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fadmin%2Fcore%2Ftrees.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fadmin%2Fcore%2Ftypography.css&v=906bb1581d' media='all'> <link rel='stylesheet' href='//mysite.ru/applications/core/interface/css/css.php?css=applications%2Fcore%2Fdev%2Fcss%2Fadmin%2Fresponsive%2Fbuttons.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fadmin%2Fresponsive%2Fcontrolstrip.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fadmin%2Fresponsive%2Fforms.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fadmin%2Fresponsive%2Fglobal.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fadmin%2Fresponsive%2Flogin.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fadmin%2Fresponsive%2Ftables.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fadmin%2Fresponsive%2Ftabs.css%2Capplications%2Fcore%2Fdev%2Fcss%2Fadmin%2Fresponsive%2Ftrees.css&v=906bb1581d' media='all'> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.