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

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Версия от 11:27, 13 апреля 2022; Admin iph (обсуждение | вклад)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к:навигация, поиск

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

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.