Вывод ошибок в .settings.php | Для разработчиков | Сайты для бизнеса

Вывод ошибок в .settings.php


Если у вас на сайте произошла ошибка, но она не отображается и выводиться надпись  о том, что ошибки нужно включить в файле .settings.php, то значит они у вас отключены в этом файле.

Включить их просто, для этого надо собственно открыть этот файл по FTP или через функционал Битрикс по следующему пути в админке битрикс

Рабочий стол->Контент->Структура сайта->Файлы и папки->bitrix

Здесь представлен многомерный массив данных, ключ-значение. Это основные настройки вашего сайта на битриксе.

Что бы включить отображение ошибок находим строку 'debug'  которая находится внутри 'exception_handling'->'value' и ставим ей значение true вместо false.

Что бы настроить какие именно ошибки мы хотим отображать в ключе 'exception_errors_types'  указываем код ошибок, например 29687, но он мало понятен, поэтому лучше использовать в значение данного ключа константы через пробел:

'handled_errors_types' => E_ALL & ~E_NOTICE & ~E_WARNING & ~E_DEPRECATED, 

Здесь мы  перечислили все ошибки, предупредения и тд. Если нужно вывести только ошибки, то остальные константы можно просто убрать, поскольку уведомление 


Загрузка

16844 просмотра
04.05.2019
Теги: 1с-битрикс



комментариев:
Оставить комментарий
Страницы: 1 2 3 4 5 6 След.
0
alvis
The Frame Wallet also has a social media account, especially for young traders who are constantly on their social media. So, teenagers who are too lazy to check the official website of Frame to stay updated on their wallets should follow its social media handles. The creators regularly update their followers about any recent updates or announcements.
Имя Цитировать 0
0
GueSOFDAYRSOEst
According to the Coinbase Status page, there were some delays with Sends/receives on the Base Network on October 31st, 2023 due to an ongoing issue. A fix has been implemented, but Coinbase is still monitoring results Additionally. Coinbase we're having connection issues | Coinbase 2fa error | Coinbase wallet send error | Coinbase advanced trading disabled
Имя Цитировать 0
0
Mia leo
Имя Цитировать 0
0
shira joy
Parimatch India Parimatch is a popular online sports betting and gaming platform that offers a wide range of betting options and casino games to users around the world.friendly interface, competitive odds, and a vast selection of sports and casino games PurewinInvestigate on Parimatch India survey on the off chance that you are keen on quality betting recreation and are searching for a solid stage for wagering.
Имя Цитировать 0
0
Chris Brown
Sprinter 999 Online Games offers an all-in-one gaming solution for enthusiasts like you
CricBet99 is an online gambling and sports betting platform that primarily focuses on Cricket betting
Имя Цитировать 0
0
shirajoy
Parimatch India Parimatch India, including how to log in, download the app on Android and iOS devices, and sign up for an account. We will also delve into the exciting world of Parimatch live betting.Purewin Investigate on Parimatch India survey on the off chance that you are keen on quality betting recreation and are searching for a solid stage for wagering.
Имя Цитировать 0
0
shira joy
Metamask Login Might it be said that you are intending to utilize MetaMask? Indeed, the apparatus is so useful for all the crypto merchants out there who wish to exchange tokens present on Ethereum. In the event that you have previously decided on utilizing the wallet and came here just to find out about the MetaMask login process, then, at that point, you can jump straightforwardly to the pertinent area. Else, you can have a concise comprehension of what MetaMask is here.
Имя Цитировать 0
0
leo
MetaMask Extension MetaMask is a software cryptocurrency wallet used to interact with the Ethereum blockchain. It allows users to access their Ethereum wallet through a browser extension or mobile app, which can then be used to interact with decentralized applications.
Имя Цитировать 0
0
Guest
MetaMask Extension  MetaMask is a software cryptocurrency wallet used to interact with the Ethereum blockchain. It allows users to access their Ethereum wallet through a browser extension or mobile app, which can then be used to interact with decentralized applications.
Имя Цитировать 0
0
Guest
Real Money Gambling  | Allpaanel | There are many ways to bet on cricket, an English sport that has been played for centuries https://sites.google.com/getcricketids.com/cricketid/blog/allpaanel
Имя Цитировать 0
Страницы: 1 2 3 4 5 6 След.
 
Текст сообщения*
Защита от автоматических сообщений
 


Сервисы




Последние публикации

24.окт.2021 Битрикс Работа с сокетами Ошибка! Не работает
В проверке сайте можно наблюдать такую ошибку
Работа ...

17.июл.2021 Как передать Roistat в заказ 1С-Битрикс
Передать ID Roistat можно в сам заказ в Битриксе после его о...

21.июн.2021 Сбой на файле, ошибка распаковки пакета
При очередном обновлении 1С-Битрикс выскочила ошибка [UUGZA0...

03.июн.2020 Не выводиться заглушка в композитном кеше
Столкнулся с тем, что при указании заглушки в динамической о...

01.апр.2020 Установка SSL сертификата LetsEncrypt на BitrixVM
Установка SSL сертификата LetsEncrypt на виртуальную машину ...

07.мар.2020 Битрикс настройка SSL, ошибка работы с сокетами
Заходим в меню битрикса выбираем 8. Manage pool web servers ...

14.ноя.2019 Не выгружаются заказы в 1С
Не выгружаться заказы в 1С из сайта на битрисе могут по разн...

07.ноя.2019 Видео youtube на фон сайта
Как-то на сайт мне нужно было вывести видео на весь экран, к...

05.ноя.2019 Свойство с большим списком (датой)
Если в инфоблоке необходимо использовать свойство типа списо...

05.ноя.2019 Основные настройки BitrixVM
Приведу основные пути и файлы конфигурации в виртуальной маш...