Home php Where to look for log file in Bitrix?

Where to look for log file in Bitrix?

Author

Date

Category

Error 500 got out. I’m trying to master Bitrix. I understood from the forums that you need to look for the cause of the error in the logs. But I rummaged the whole structure – do not understand where he.


Answer 1

You need to enable Bitrix / WWW / Bitrix / .settings.php error display

debug ‘= & gt; True,

The same with the database.

Bitrix / www / bitrix / php_interface / dbconn.php

You can also replace ‘log’ = & gt; NULL on

'log' = & gt;
    Array (
     'settings' = & gt;
     Array (
      'file' = & gt; '/var/log/php/exceptions.log',
      'log_size' = & gt; 1000000,
     ),
    ),

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions