Jump to content

Режим разработчика


Recommended Posts

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 пакета совпадает, брал с офф сайта.

Link to comment
Share on other sites

1. Нужно использовать dev пакет той версии, которой твой форум

2. Нужно удалить все кастомные стили и оставить только стандартный

3. Попробуй включить в init.php

Link to comment
Share on other sites

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'>

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Ваша ссылка была автоматически строена.   Отображать как обычную ссылку

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...