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

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Перейти к:навигация, поиск
(Новая страница: «link=https://bit.ly/3tbFsd6| Доступная цена === Joomla - как включить дебаг логи === 1) Из...»)
(нет различий)

Версия 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.