Joomla - как включить дебаг логи: различия между версиями

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Перейти к:навигация, поиск
(Новая страница: «link=https://bit.ly/3tbFsd6| Доступная цена === Joomla - как включить дебаг логи === 1) Из...»)
 
Строка 3: Строка 3:
 
=== Joomla - как включить дебаг логи ===
 
=== Joomla - как включить дебаг логи ===
  
 
+
'''1) Изменить в конфиге configuration.php'''
1) Изменить в конфиге configuration.php
 
 
         public $debug = '0';
 
         public $debug = '0';
 
на
 
на
Строка 10: Строка 9:
  
  
2) Изменить в конфиге configuration.php
+
'''2) Изменить в конфиге configuration.php'''
 
         public $error_reporting = 'default';
 
         public $error_reporting = 'default';
 
на один из уровней логирования
 
на один из уровней логирования

Версия 12:22, 21 декабря 2021

Доступная цена

Joomla - как включить дебаг логи

1) Изменить в конфиге configuration.php

        public $debug = '0';

на

        public $debug = '1';


2) Изменить в конфиге configuration.php

       public $error_reporting = 'default';

на один из уровней логирования

       public $error_reporting = 'none';
       public $error_reporting = 'simple';
       public $error_reporting = 'Maximum ';

описание уровней логирования

Default: Joomla will inherit error reporting defaults set in the server (usually in php.ini file).
None: Switch off the Error Reporting
Simple: Gives a basic report with warnings only about the fatal errors.
Maximum: Gives a full report with all the errors, warnings, notices, deprecated functions call, strict standards etc.