( ! ) Warning: fopen(/home/bitrix/www/bitrix/error.log): Failed to open stream: Read-only file system in /home/bitrix/shared/bitrix/modules/main/lib/diag/filelogger.php on line 35 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 448336 | {main}( ) | .../urlrewrite.php:0 |
2 | 0.0001 | 449104 | include_once( '/home/bitrix/shared/bitrix/modules/main/include/urlrewrite.php ) | .../urlrewrite.php:2 |
3 | 0.0042 | 716272 | include_once( '/home/bitrix/www/pub/site/index.php ) | .../urlrewrite.php:128 |
4 | 0.0042 | 716632 | require( '/home/bitrix/shared/bitrix/header.php ) | .../index.php:4 |
5 | 0.0042 | 717024 | require_once( '/home/bitrix/shared/bitrix/modules/main/include/prolog.php ) | .../header.php:1 |
6 | 0.0042 | 717376 | require_once( '/home/bitrix/shared/bitrix/modules/main/include/prolog_before.php ) | .../prolog.php:10 |
7 | 0.0042 | 725944 | require_once( '/home/bitrix/shared/bitrix/modules/main/include.php ) | .../prolog_before.php:19 |
8 | 0.0053 | 745968 | Bitrix\Main\Application->initializeExtendedKernel( $params = ['get' => ['path' => '8/sitemap.php'], 'post' => [], 'files' => [], 'cookie' => [], 'server' => ['REDIRECT_UNIQUE_ID' => 'aOVyFsfFfWzRAkeAEKwDrQAAABE', 'REDIRECT_SCRIPT_URL' => '/pub/site/8/sitemap.php', 'REDIRECT_SCRIPT_URI' => 'http://crm.unionservice.net:443/pub/site/8/sitemap.php', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_BITRIX_VA_VER' => '7.5.5', 'REDIRECT_BITRIX_ENV_TYPE' => 'general', 'REDIRECT_AUTHBIND_UNAVAILABLE' => 'yes', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'aOVyFsfFfWzRAkeAEKwDrQAAABE', 'SCRIPT_URL' => '/pub/site/8/sitemap.php', 'SCRIPT_URI' => 'http://crm.unionservice.net:443/pub/site/8/sitemap.php', 'HTTPS' => 'on', 'REMOTE_USER' => '', 'BITRIX_VA_VER' => '7.5.5', 'BITRIX_ENV_TYPE' => 'general', 'AUTHBIND_UNAVAILABLE' => 'yes', 'HTTP_X_FORWARDED_FOR' => '216.73.216.108, 216.73.216.108, 185.137.235.2', 'HTTP_HOST' => 'crm.unionservice.net:443', 'HTTP_HTTPS' => 'YES', 'HTTP_CONNECTION' => 'close', 'HTTP_X_FORWARDED_HOST' => 'crm.unionservice.net', 'HTTP_X_FORWARDED_SCHEME' => 'http', 'HTTP_X_AFTER_LB' => '1', 'HTTP_FORWARDED' => 'NOSSL', 'HTTP_X_FORWARDED_PORT' => '80', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '<address>Apache Server at crm.unionservice.net Port 443</address>\n', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'crm.unionservice.net', 'SERVER_ADDR' => '127.0.0.1', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '185.137.235.2', 'DOCUMENT_ROOT' => '/home/bitrix/www', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/bitrix/www', 'SERVER_ADMIN' => 'webmaster@localhost', 'SCRIPT_FILENAME' => '/home/bitrix/www/bitrix/urlrewrite.php', 'REMOTE_PORT' => '54350', 'REDIRECT_URL' => '/pub/site/8/sitemap.php', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'path=8/sitemap.php', 'REQUEST_URI' => '/pub/site/8/sitemap.php', 'SCRIPT_NAME' => '/bitrix/urlrewrite.php', 'PHP_SELF' => '/bitrix/urlrewrite.php', 'REQUEST_TIME_FLOAT' => 1759867414.8158, 'REQUEST_TIME' => 1759867414, 'REAL_FILE_PATH' => '/pub/site/index.php'], 'env' => []] ) | .../include.php:17 |
9 | 0.0053 | 745968 | Bitrix\Main\HttpApplication->initializeContext( $params = ['get' => ['path' => '8/sitemap.php'], 'post' => [], 'files' => [], 'cookie' => [], 'server' => ['REDIRECT_UNIQUE_ID' => 'aOVyFsfFfWzRAkeAEKwDrQAAABE', 'REDIRECT_SCRIPT_URL' => '/pub/site/8/sitemap.php', 'REDIRECT_SCRIPT_URI' => 'http://crm.unionservice.net:443/pub/site/8/sitemap.php', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_BITRIX_VA_VER' => '7.5.5', 'REDIRECT_BITRIX_ENV_TYPE' => 'general', 'REDIRECT_AUTHBIND_UNAVAILABLE' => 'yes', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'aOVyFsfFfWzRAkeAEKwDrQAAABE', 'SCRIPT_URL' => '/pub/site/8/sitemap.php', 'SCRIPT_URI' => 'http://crm.unionservice.net:443/pub/site/8/sitemap.php', 'HTTPS' => 'on', 'REMOTE_USER' => '', 'BITRIX_VA_VER' => '7.5.5', 'BITRIX_ENV_TYPE' => 'general', 'AUTHBIND_UNAVAILABLE' => 'yes', 'HTTP_X_FORWARDED_FOR' => '216.73.216.108, 216.73.216.108, 185.137.235.2', 'HTTP_HOST' => 'crm.unionservice.net:443', 'HTTP_HTTPS' => 'YES', 'HTTP_CONNECTION' => 'close', 'HTTP_X_FORWARDED_HOST' => 'crm.unionservice.net', 'HTTP_X_FORWARDED_SCHEME' => 'http', 'HTTP_X_AFTER_LB' => '1', 'HTTP_FORWARDED' => 'NOSSL', 'HTTP_X_FORWARDED_PORT' => '80', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '<address>Apache Server at crm.unionservice.net Port 443</address>\n', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'crm.unionservice.net', 'SERVER_ADDR' => '127.0.0.1', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '185.137.235.2', 'DOCUMENT_ROOT' => '/home/bitrix/www', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/bitrix/www', 'SERVER_ADMIN' => 'webmaster@localhost', 'SCRIPT_FILENAME' => '/home/bitrix/www/bitrix/urlrewrite.php', 'REMOTE_PORT' => '54350', 'REDIRECT_URL' => '/pub/site/8/sitemap.php', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'path=8/sitemap.php', 'REQUEST_URI' => '/pub/site/8/sitemap.php', 'SCRIPT_NAME' => '/bitrix/urlrewrite.php', 'PHP_SELF' => '/bitrix/urlrewrite.php', 'REQUEST_TIME_FLOAT' => 1759867414.8158, 'REQUEST_TIME' => 1759867414, 'REAL_FILE_PATH' => '/pub/site/index.php'], 'env' => []] ) | .../application.php:130 |
10 | 0.0053 | 749176 | Bitrix\Main\HttpRequest->__construct( $server = class Bitrix\Main\Server { protected $values = ['REDIRECT_UNIQUE_ID' => 'aOVyFsfFfWzRAkeAEKwDrQAAABE', 'REDIRECT_SCRIPT_URL' => '/pub/site/8/sitemap.php', 'REDIRECT_SCRIPT_URI' => 'http://crm.unionservice.net:443/pub/site/8/sitemap.php', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_BITRIX_VA_VER' => '7.5.5', 'REDIRECT_BITRIX_ENV_TYPE' => 'general', 'REDIRECT_AUTHBIND_UNAVAILABLE' => 'yes', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'aOVyFsfFfWzRAkeAEKwDrQAAABE', 'SCRIPT_URL' => '/pub/site/8/sitemap.php', 'SCRIPT_URI' => 'http://crm.unionservice.net:443/pub/site/8/sitemap.php', 'HTTPS' => 'on', 'REMOTE_USER' => '', 'BITRIX_VA_VER' => '7.5.5', 'BITRIX_ENV_TYPE' => 'general', 'AUTHBIND_UNAVAILABLE' => 'yes', 'HTTP_X_FORWARDED_FOR' => '216.73.216.108, 216.73.216.108, 185.137.235.2', 'HTTP_HOST' => 'crm.unionservice.net:443', 'HTTP_HTTPS' => 'YES', 'HTTP_CONNECTION' => 'close', 'HTTP_X_FORWARDED_HOST' => 'crm.unionservice.net', 'HTTP_X_FORWARDED_SCHEME' => 'http', 'HTTP_X_AFTER_LB' => '1', 'HTTP_FORWARDED' => 'NOSSL', 'HTTP_X_FORWARDED_PORT' => '80', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '<address>Apache Server at crm.unionservice.net Port 443</address>\n', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'crm.unionservice.net', 'SERVER_ADDR' => '127.0.0.1', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '185.137.235.2', 'DOCUMENT_ROOT' => '/home/bitrix/www', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/bitrix/www', 'SERVER_ADMIN' => 'webmaster@localhost', 'SCRIPT_FILENAME' => '/home/bitrix/www/bitrix/urlrewrite.php', 'REMOTE_PORT' => '54350', 'REDIRECT_URL' => '/pub/site/8/sitemap.php', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'path=8/sitemap.php', 'REQUEST_URI' => '/pub/site/8/sitemap.php', 'SCRIPT_NAME' => '/bitrix/urlrewrite.php', 'PHP_SELF' => '/bitrix/urlrewrite.php', 'REQUEST_TIME_FLOAT' => 1759867414.8158, 'REQUEST_TIME' => 1759867414, 'REAL_FILE_PATH' => '/pub/site/index.php']; protected $rawValues = NULL }, $queryString = ['path' => '8/sitemap.php'], $postData = [], $files = [], $cookies = [] ) | .../httpapplication.php:39 |
11 | 0.0054 | 749576 | Bitrix\Main\HttpRequest->prepareCookie( $cookies = [] ) | .../httprequest.php:70 |
12 | 0.0054 | 749984 | Bitrix\Main\Config\Option::get( $moduleId = 'main', $name = 'cookie_name', $default = 'BITRIX_SM', $siteId = ??? ) | .../httprequest.php:422 |
13 | 0.0054 | 749984 | Bitrix\Main\Config\Option::getRealValue( $moduleId = 'main', $name = 'cookie_name', $siteId = FALSE ) | .../option.php:32 |
14 | 0.0054 | 750016 | Bitrix\Main\Config\Option::load( $moduleId = 'main' ) | .../option.php:83 |
15 | 0.0058 | 756424 | Bitrix\Main\DB\MysqliSqlHelper->forSql( $value = 'main', $maxLength = ??? ) | .../option.php:210 |
16 | 0.0058 | 756424 | Bitrix\Main\Data\Connection->getResource( ) | .../mysqlisqlhelper.php:409 |
17 | 0.0058 | 756424 | Bitrix\Main\DB\MysqliConnection->connectInternal( ) | .../connection.php:53 |
18 | 0.0059 | 756888 | real_connect( $hostname = 'localhost', $username = 'bitrix0', $password = '[Sensitive Parameter]', $database = 'sitemanager' ) | .../mysqliconnection.php:81 |
19 | 0.0059 | 757472 | Bitrix\Main\Diag\ExceptionHandler->handleError( $code = 2, $message = 'mysqli::real_connect(): (HY000/2002): Connection refused', $file = '/home/bitrix/shared/bitrix/modules/main/lib/db/mysqliconnection.php', $line = 81 ) | .../mysqliconnection.php:81 |
20 | 0.0060 | 766424 | Bitrix\Main\Diag\ExceptionHandler->writeToLog( $exception = class ErrorException { protected $message = 'mysqli::real_connect(): (HY000/2002): Connection refused'; private string ${Exception}string = ''; protected $code = 0; protected string $file = '/home/bitrix/shared/bitrix/modules/main/lib/db/mysqliconnection.php'; protected int $line = 81; private array ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...], 7 => [...], 8 => [...], 9 => [...], 10 => [...], 11 => [...], 12 => [...], 13 => [...], 14 => [...], 15 => [...], 16 => [...], 17 => [...]]; private ?Throwable ${Exception}previous = NULL; protected int $severity = 2 }, $logType = 3 ) | .../exceptionhandler.php:318 |
21 | 0.0063 | 771640 | Bitrix\Main\Diag\FileExceptionHandlerLog->write( $exception = class ErrorException { protected $message = 'mysqli::real_connect(): (HY000/2002): Connection refused'; private string ${Exception}string = ''; protected $code = 0; protected string $file = '/home/bitrix/shared/bitrix/modules/main/lib/db/mysqliconnection.php'; protected int $line = 81; private array ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...], 7 => [...], 8 => [...], 9 => [...], 10 => [...], 11 => [...], 12 => [...], 13 => [...], 14 => [...], 15 => [...], 16 => [...], 17 => [...]]; private ?Throwable ${Exception}previous = NULL; protected int $severity = 2 }, $logType = 3 ) | .../exceptionhandler.php:405 |
22 | 0.0066 | 777144 | Bitrix\Main\Diag\Logger->log( $level = 'warning', $message = '{date} - Host: {host} - {type} - [ErrorException] E_WARNING\nmysqli::real_connect(): (HY000/2002): Connection refused (0)\n/home/bitrix/shared/bitrix/modules/main/lib/db/mysqliconnection.php:81\n#0: mysqli->real_connect\n\t/home/bitrix/shared/bitrix/modules/main/lib/db/mysqliconnection.php:81\n#1: Bitrix\\Main\\DB\\MysqliConnection->connectInternal\n\t/home/bitrix/shared/bitrix/modules/main/lib/data/connection.php:53\n#2: Bitrix\\Main\\Data\\Connection->getResource\n\t/home/bitrix/shared/bitrix/modules/main/lib/db/mysqlisql'..., $context = ['type' => 'LOW_PRIORITY_ERROR'] ) | .../fileexceptionhandlerlog.php:61 |
23 | 0.0067 | 783304 | Bitrix\Main\Diag\FileLogger->logMessage( $level = 'warning', $message = '2025-10-07 16:03:34 - Host: crm.unionservice.net:443 - LOW_PRIORITY_ERROR - [ErrorException] E_WARNING\nmysqli::real_connect(): (HY000/2002): Connection refused (0)\n/home/bitrix/shared/bitrix/modules/main/lib/db/mysqliconnection.php:81\n#0: mysqli->real_connect\n\t/home/bitrix/shared/bitrix/modules/main/lib/db/mysqliconnection.php:81\n#1: Bitrix\\Main\\DB\\MysqliConnection->connectInternal\n\t/home/bitrix/shared/bitrix/modules/main/lib/data/connection.php:53\n#2: Bitrix\\Main\\Data\\Connection->getResource\n\t/home/bitrix/'... ) | .../logger.php:82 |
24 | 0.0068 | 783336 | fopen( $filename = '/home/bitrix/www/bitrix/error.log', $mode = 'ab' ) | .../filelogger.php:35 |
( ! ) Warning: fopen(/home/bitrix/www/bitrix/error.log): Failed to open stream: Read-only file system in /home/bitrix/shared/bitrix/modules/main/lib/diag/filelogger.php on line 35 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0083 | 821168 | Bitrix\Main\Diag\ExceptionHandler->handleException( $exception = class Bitrix\Main\DB\ConnectionException { protected $message = 'Mysql connect error [localhost]: (2002) Connection refused'; private string ${Exception}string = ''; protected $code = 400; protected string $file = '/home/bitrix/shared/bitrix/modules/main/lib/db/mysqliconnection.php'; protected int $line = 86; private array ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...], 7 => [...], 8 => [...], 9 => [...], 10 => [...], 11 => [...], 12 => [...], 13 => [...], 14 => [...], 15 => [...]]; private ?Throwable ${Exception}previous = NULL; protected $databaseMessage = '(2002) Connection refused' }, $logType = ??? ) | .../exceptionhandler.php:0 |
2 | 0.0083 | 821168 | Bitrix\Main\Diag\ExceptionHandler->writeToLog( $exception = class Bitrix\Main\DB\ConnectionException { protected $message = 'Mysql connect error [localhost]: (2002) Connection refused'; private string ${Exception}string = ''; protected $code = 400; protected string $file = '/home/bitrix/shared/bitrix/modules/main/lib/db/mysqliconnection.php'; protected int $line = 86; private array ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...], 7 => [...], 8 => [...], 9 => [...], 10 => [...], 11 => [...], 12 => [...], 13 => [...], 14 => [...], 15 => [...]]; private ?Throwable ${Exception}previous = NULL; protected $databaseMessage = '(2002) Connection refused' }, $logType = 0 ) | .../exceptionhandler.php:272 |
3 | 0.0083 | 821168 | Bitrix\Main\Diag\FileExceptionHandlerLog->write( $exception = class Bitrix\Main\DB\ConnectionException { protected $message = 'Mysql connect error [localhost]: (2002) Connection refused'; private string ${Exception}string = ''; protected $code = 400; protected string $file = '/home/bitrix/shared/bitrix/modules/main/lib/db/mysqliconnection.php'; protected int $line = 86; private array ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...], 7 => [...], 8 => [...], 9 => [...], 10 => [...], 11 => [...], 12 => [...], 13 => [...], 14 => [...], 15 => [...]]; private ?Throwable ${Exception}previous = NULL; protected $databaseMessage = '(2002) Connection refused' }, $logType = 0 ) | .../exceptionhandler.php:405 |
4 | 0.0084 | 825384 | Bitrix\Main\Diag\Logger->log( $level = 'error', $message = '{date} - Host: {host} - {type} - [Bitrix\\Main\\DB\\ConnectionException] \nMysql connect error [localhost]: (2002) Connection refused (400)\n/home/bitrix/shared/bitrix/modules/main/lib/db/mysqliconnection.php:86\n#0: Bitrix\\Main\\DB\\MysqliConnection->connectInternal\n\t/home/bitrix/shared/bitrix/modules/main/lib/data/connection.php:53\n#1: Bitrix\\Main\\Data\\Connection->getResource\n\t/home/bitrix/shared/bitrix/modules/main/lib/db/mysqlisqlhelper.php:409\n#2: Bitrix\\Main\\DB\\MysqliSqlHelper->forSql\n\t/home/bitrix/shared/bit'..., $context = ['type' => 'UNCAUGHT_EXCEPTION'] ) | .../fileexceptionhandlerlog.php:61 |
5 | 0.0085 | 825384 | Bitrix\Main\Diag\FileLogger->logMessage( $level = 'error', $message = '2025-10-07 16:03:34 - Host: crm.unionservice.net:443 - UNCAUGHT_EXCEPTION - [Bitrix\\Main\\DB\\ConnectionException] \nMysql connect error [localhost]: (2002) Connection refused (400)\n/home/bitrix/shared/bitrix/modules/main/lib/db/mysqliconnection.php:86\n#0: Bitrix\\Main\\DB\\MysqliConnection->connectInternal\n\t/home/bitrix/shared/bitrix/modules/main/lib/data/connection.php:53\n#1: Bitrix\\Main\\Data\\Connection->getResource\n\t/home/bitrix/shared/bitrix/modules/main/lib/db/mysqlisqlhelper.php:409\n#2: Bitrix\\Main\\DB\\Mysql'... ) | .../logger.php:82 |
6 | 0.0085 | 825384 | fopen( $filename = '/home/bitrix/www/bitrix/error.log', $mode = 'ab' ) | .../filelogger.php:35 |
7 | 0.0085 | 825608 | Bitrix\Main\Diag\ExceptionHandler->handleError( $code = 2, $message = 'fopen(/home/bitrix/www/bitrix/error.log): Failed to open stream: Read-only file system', $file = '/home/bitrix/shared/bitrix/modules/main/lib/diag/filelogger.php', $line = 35 ) | .../filelogger.php:35 |
8 | 0.0085 | 828648 | Bitrix\Main\Diag\ExceptionHandler->writeToLog( $exception = class ErrorException { protected $message = 'fopen(/home/bitrix/www/bitrix/error.log): Failed to open stream: Read-only file system'; private string ${Exception}string = ''; protected $code = 0; protected string $file = '/home/bitrix/shared/bitrix/modules/main/lib/diag/filelogger.php'; protected int $line = 35; private array ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...]]; private ?Throwable ${Exception}previous = NULL; protected int $severity = 2 }, $logType = 3 ) | .../exceptionhandler.php:318 |
9 | 0.0085 | 828648 | Bitrix\Main\Diag\FileExceptionHandlerLog->write( $exception = class ErrorException { protected $message = 'fopen(/home/bitrix/www/bitrix/error.log): Failed to open stream: Read-only file system'; private string ${Exception}string = ''; protected $code = 0; protected string $file = '/home/bitrix/shared/bitrix/modules/main/lib/diag/filelogger.php'; protected int $line = 35; private array ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...]]; private ?Throwable ${Exception}previous = NULL; protected int $severity = 2 }, $logType = 3 ) | .../exceptionhandler.php:405 |
10 | 0.0086 | 830560 | Bitrix\Main\Diag\Logger->log( $level = 'warning', $message = '{date} - Host: {host} - {type} - [ErrorException] E_WARNING\nfopen(/home/bitrix/www/bitrix/error.log): Failed to open stream: Read-only file system (0)\n/home/bitrix/shared/bitrix/modules/main/lib/diag/filelogger.php:35\n#0: fopen\n\t/home/bitrix/shared/bitrix/modules/main/lib/diag/filelogger.php:35\n#1: Bitrix\\Main\\Diag\\FileLogger->logMessage\n\t/home/bitrix/shared/bitrix/modules/main/lib/diag/logger.php:82\n#2: Bitrix\\Main\\Diag\\Logger->log\n\t/home/bitrix/shared/bitrix/modules/main/lib/diag/fileexceptionhandlerlog.p'..., $context = ['type' => 'LOW_PRIORITY_ERROR'] ) | .../fileexceptionhandlerlog.php:61 |
11 | 0.0086 | 831328 | Bitrix\Main\Diag\FileLogger->logMessage( $level = 'warning', $message = '2025-10-07 16:03:34 - Host: crm.unionservice.net:443 - LOW_PRIORITY_ERROR - [ErrorException] E_WARNING\nfopen(/home/bitrix/www/bitrix/error.log): Failed to open stream: Read-only file system (0)\n/home/bitrix/shared/bitrix/modules/main/lib/diag/filelogger.php:35\n#0: fopen\n\t/home/bitrix/shared/bitrix/modules/main/lib/diag/filelogger.php:35\n#1: Bitrix\\Main\\Diag\\FileLogger->logMessage\n\t/home/bitrix/shared/bitrix/modules/main/lib/diag/logger.php:82\n#2: Bitrix\\Main\\Diag\\Logger->log\n\t/home/bitrix/shared/bitrix/modu'... ) | .../logger.php:82 |
12 | 0.0087 | 831328 | fopen( $filename = '/home/bitrix/www/bitrix/error.log', $mode = 'ab' ) | .../filelogger.php:35 |
( ! ) Warning: fopen(/home/bitrix/www/bitrix/error.log): Failed to open stream: Read-only file system in /home/bitrix/shared/bitrix/modules/main/lib/diag/filelogger.php on line 35 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0083 | 821168 | Bitrix\Main\Diag\ExceptionHandler->handleException( $exception = class Bitrix\Main\DB\ConnectionException { protected $message = 'Mysql connect error [localhost]: (2002) Connection refused'; private string ${Exception}string = ''; protected $code = 400; protected string $file = '/home/bitrix/shared/bitrix/modules/main/lib/db/mysqliconnection.php'; protected int $line = 86; private array ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...], 7 => [...], 8 => [...], 9 => [...], 10 => [...], 11 => [...], 12 => [...], 13 => [...], 14 => [...], 15 => [...]]; private ?Throwable ${Exception}previous = NULL; protected $databaseMessage = '(2002) Connection refused' }, $logType = ??? ) | .../exceptionhandler.php:0 |
2 | 0.0093 | 820416 | Bitrix\Main\Diag\HttpExceptionHandlerOutput->renderExceptionMessage( $exception = class Bitrix\Main\DB\ConnectionException { protected $message = 'Mysql connect error [localhost]: (2002) Connection refused'; private string ${Exception}string = ''; protected $code = 400; protected string $file = '/home/bitrix/shared/bitrix/modules/main/lib/db/mysqliconnection.php'; protected int $line = 86; private array ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...], 7 => [...], 8 => [...], 9 => [...], 10 => [...], 11 => [...], 12 => [...], 13 => [...], 14 => [...], 15 => [...]]; private ?Throwable ${Exception}previous = NULL; protected $databaseMessage = '(2002) Connection refused' }, $debug = TRUE ) | .../exceptionhandler.php:274 |
3 | 0.0094 | 820688 | Bitrix\Main\HttpResponse->writeHeaders( ) | .../httpexceptionhandleroutput.php:20 |
4 | 0.0094 | 820688 | Bitrix\Main\HttpResponse->flushStatus( ) | .../httpresponse.php:173 |
5 | 0.0094 | 820808 | header( $header = 'HTTP/1.0 500 Internal Server Error' ) | .../httpresponse.php:236 |
6 | 0.0094 | 821032 | Bitrix\Main\Diag\ExceptionHandler->handleError( $code = 2, $message = 'Cannot modify header information - headers already sent by (output started at /home/bitrix/shared/bitrix/modules/main/lib/diag/filelogger.php:35)', $file = '/home/bitrix/shared/bitrix/modules/main/lib/httpresponse.php', $line = 236 ) | .../httpresponse.php:236 |
7 | 0.0094 | 823696 | Bitrix\Main\Diag\ExceptionHandler->writeToLog( $exception = class ErrorException { protected $message = 'Cannot modify header information - headers already sent by (output started at /home/bitrix/shared/bitrix/modules/main/lib/diag/filelogger.php:35)'; private string ${Exception}string = ''; protected $code = 0; protected string $file = '/home/bitrix/shared/bitrix/modules/main/lib/httpresponse.php'; protected int $line = 236; private array ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...]]; private ?Throwable ${Exception}previous = NULL; protected int $severity = 2 }, $logType = 3 ) | .../exceptionhandler.php:318 |
8 | 0.0094 | 823696 | Bitrix\Main\Diag\FileExceptionHandlerLog->write( $exception = class ErrorException { protected $message = 'Cannot modify header information - headers already sent by (output started at /home/bitrix/shared/bitrix/modules/main/lib/diag/filelogger.php:35)'; private string ${Exception}string = ''; protected $code = 0; protected string $file = '/home/bitrix/shared/bitrix/modules/main/lib/httpresponse.php'; protected int $line = 236; private array ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...]]; private ?Throwable ${Exception}previous = NULL; protected int $severity = 2 }, $logType = 3 ) | .../exceptionhandler.php:405 |
9 | 0.0095 | 825736 | Bitrix\Main\Diag\Logger->log( $level = 'warning', $message = '{date} - Host: {host} - {type} - [ErrorException] E_WARNING\nCannot modify header information - headers already sent by (output started at /home/bitrix/shared/bitrix/modules/main/lib/diag/filelogger.php:35) (0)\n/home/bitrix/shared/bitrix/modules/main/lib/httpresponse.php:236\n#0: header\n\t/home/bitrix/shared/bitrix/modules/main/lib/httpresponse.php:236\n#1: Bitrix\\Main\\HttpResponse->flushStatus\n\t/home/bitrix/shared/bitrix/modules/main/lib/httpresponse.php:173\n#2: Bitrix\\Main\\HttpResponse->writeHeaders\n\t/home/bi'..., $context = ['type' => 'LOW_PRIORITY_ERROR'] ) | .../fileexceptionhandlerlog.php:61 |
10 | 0.0095 | 825864 | Bitrix\Main\Diag\FileLogger->logMessage( $level = 'warning', $message = '2025-10-07 16:03:34 - Host: crm.unionservice.net:443 - LOW_PRIORITY_ERROR - [ErrorException] E_WARNING\nCannot modify header information - headers already sent by (output started at /home/bitrix/shared/bitrix/modules/main/lib/diag/filelogger.php:35) (0)\n/home/bitrix/shared/bitrix/modules/main/lib/httpresponse.php:236\n#0: header\n\t/home/bitrix/shared/bitrix/modules/main/lib/httpresponse.php:236\n#1: Bitrix\\Main\\HttpResponse->flushStatus\n\t/home/bitrix/shared/bitrix/modules/main/lib/httpresponse.php:173\n#2: Bitri'... ) | .../logger.php:82 |
11 | 0.0095 | 825864 | fopen( $filename = '/home/bitrix/www/bitrix/error.log', $mode = 'ab' ) | .../filelogger.php:35 |
[Bitrix\Main\DB\ConnectionException] Mysql connect error [localhost]: (2002) Connection refused (400) /home/bitrix/shared/bitrix/modules/main/lib/db/mysqliconnection.php:86 #0: Bitrix\Main\DB\MysqliConnection->connectInternal /home/bitrix/shared/bitrix/modules/main/lib/data/connection.php:53 #1: Bitrix\Main\Data\Connection->getResource /home/bitrix/shared/bitrix/modules/main/lib/db/mysqlisqlhelper.php:409 #2: Bitrix\Main\DB\MysqliSqlHelper->forSql /home/bitrix/shared/bitrix/modules/main/lib/config/option.php:210 #3: Bitrix\Main\Config\Option::load /home/bitrix/shared/bitrix/modules/main/lib/config/option.php:83 #4: Bitrix\Main\Config\Option::getRealValue /home/bitrix/shared/bitrix/modules/main/lib/config/option.php:32 #5: Bitrix\Main\Config\Option::get /home/bitrix/shared/bitrix/modules/main/lib/httprequest.php:422 #6: Bitrix\Main\HttpRequest->prepareCookie /home/bitrix/shared/bitrix/modules/main/lib/httprequest.php:70 #7: Bitrix\Main\HttpRequest->__construct /home/bitrix/shared/bitrix/modules/main/lib/httpapplication.php:39 #8: Bitrix\Main\HttpApplication->initializeContext /home/bitrix/shared/bitrix/modules/main/lib/application.php:130 #9: Bitrix\Main\Application->initializeExtendedKernel /home/bitrix/shared/bitrix/modules/main/include.php:17 #10: require_once(string) /home/bitrix/shared/bitrix/modules/main/include/prolog_before.php:19 #11: require_once(string) /home/bitrix/shared/bitrix/modules/main/include/prolog.php:10 #12: require_once(string) /home/bitrix/shared/bitrix/header.php:1 #13: require(string) /home/bitrix/www/pub/site/index.php:4 #14: include_once(string) /home/bitrix/shared/bitrix/modules/main/include/urlrewrite.php:128 #15: include_once(string) /home/bitrix/shared/bitrix/urlrewrite.php:2 ----------