Jump to content

включение режима разработчика


demvlg

Recommended Posts

поставил на локалхост чистый дистрибутив, распаковал инструменты разработчика
как только включаю его в константс.пхп, получаю вот это:

af9da26c4e26ce1487a3af09cc263387.thumb.png.2a0af405e6aa9010763074f0bece7dba.png

Link to comment
Share on other sites

В /system/Member/Member.php найти:

		if ( count( $this->_groups ) )

Заменить на:

		if( isset( $this->_groups ) and count( $this->_groups ) )

 

Link to comment
Share on other sites

Девмод со всем дружит, и нужен для для исправления ошибок, в частности. Этой конкретной ошибке в php7.2 просто повысили уровень до warning.

Link to comment
Share on other sites

https://invisioncommunity.com/developers/docs/development/plugins/adding-resources-to-plugins-r47/

You should create your files using the extension ".phtml".

Не совсем понимаю, где его создать?

Link to comment
Share on other sites

и если я нажму "скачать" плагин, шаблон скомпилится в него?

нифига, как то в самом плагине в хуках надо указать на наличие темплетов?

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