User Tools

Site Tools


ru:debugging

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
ru:debugging [2013/09/13 11:16]
vladislav created
ru:debugging [2013/09/13 11:27]
vladislav й
Line 1: Line 1:
 ====== Отладка ====== ====== Отладка ======
 ===== Как включить режим отладки ===== ===== Как включить режим отладки =====
-Open gsconfig.php, ​this file should be in the root of your GetSimple ​installation+Откройте файл //gsconfig.php//который находится в корневом каталоге ​GetSimple. 
-(If you only have temp.gsconfig.php ​rename it to gsconfig.php ​and open that one.)+(Если вы обнаружили вместо //​gsconfig.php//​ файл //temp.gsconfig.php//, переименуйте его в //gsconfig.php// и откройте для редактирования.)
  
-Search for this line: #​define('​GSDEBUG',​ TRUE);.+Найдите строку **#​define('​GSDEBUG',​ TRUE);**.
  
-Remove the #-sign.+Удалите знак ​в начале строки (раскомментируйте строку).
  
 ===== Как отключить режим отладки ===== ===== Как отключить режим отладки =====
-Open gsconfig.php, ​this file should be in the root of your GetSimple ​installation+Откройте файл //gsconfig.php//который находится в корневом каталоге ​GetSimple. 
-(If you only have temp.gsconfig.php ​rename it to gsconfig.php ​and open that one.)+(Если вы обнаружили вместо //​gsconfig.php//​ файл //temp.gsconfig.php//, переименуйте его в //gsconfig.php// и откройте для редактирования.)
  
-Search for this line: define('​GSDEBUG',​ TRUE);.+Найдите строку **define('​GSDEBUG',​ TRUE);**.
  
-Add a #-sign in front of the line.+Добавьте знак ​в начале строки (закомментируйте строку).
  
-NoteSetting ​GSDEBUG ​to FALSE does not disable debug mode in GetSimple ​versions prior to 2.03.+ПримечаниеУстановка ​GSDEBUG ​в FALSE не отключит режим отладки в версиях ​GetSimple, предшествующих ​2.03.
  
 ===== Как узнать,​ включен ли режим отладки?​ ===== ===== Как узнать,​ включен ли режим отладки?​ =====
 +Если режим отладки включен,​ вы должны увидеть уведомление на красном фоне в правом верхнем углу административной панели.
  
-When you are logged in to your admin panel it will display a small red notice in the top-right corner. 
  
 ===== Когда следует использовать режим отладки?​ ===== ===== Когда следует использовать режим отладки?​ =====
Line 27: Line 27:
 We also urge you to enable debug mode if you go looking for help on this forum. “White pages” or missing content can be signs of fatal PHP errors. It is easier to get to the bottom of a problem if you provide us with the error messages and those only show if debug mode is enabled. We also urge you to enable debug mode if you go looking for help on this forum. “White pages” or missing content can be signs of fatal PHP errors. It is easier to get to the bottom of a problem if you provide us with the error messages and those only show if debug mode is enabled.
  
-Link to Zegnat's post in the forum: http://​get-simple.info/​forum/​topic/​937/​about-debug-mode/​+Это - ссылка на пост пользователя ​Zegnat ​на официальном форуме GetSimple, который послужил основой для этой статьи в англоязычной Вики: http://​get-simple.info/​forum/​topic/​937/​about-debug-mode/​
ru/debugging.txt · Last modified: 2013/10/16 09:25 by Arkady