[QUOTE]yakovluk.andrey написал:
Возникла ощибка
При выполнении скрипта возникла ошибка. Включить расширенный вывод ошибок можно в файле настроек [URL=https://dev.1c-bitrix.ru/learning/course/index.php?COURSE_ID=43&LESSON_ID=2795].settings.php[/URL]
Что не так в настройках?
<?php
return array (
'utf_mode' =>
array (
'value' => true,
'readonly' => true,
),
'cache_flags' =>
array (
'value' =>
array (
'config_options' => 3600,
'site_domain' => 3600,
),
'readonly' => false,
),
'cookies' =>
array (
'value' =>
array (
'secure' => false,
'http_only' => true,
),
'readonly' => false,
),
'exception_handling' =>
array (
'value' =>
array (
'debug' => false,
'handled_errors_types' => 4437,
'exception_errors_types' => 4437,
'ignore_silence' => false,
'assertion_throws_exception' => true,
'assertion_error_type' => 256,
'log' => NULL,
),
'readonly' => false,
),
'connections' =>
array (
'value' =>
array (
'default' =>
array (
'className' => '\\Bitrix\\Main\\DB\\MysqliConnection',
'host' => 'мой',
'database' => 'мой',
'login' => 'мой',
'password' => 'мой',
'options' => 2,
),
),
'readonly' => true,
),
'crypto' =>
array (
'value' =>
array (
'crypto_key' => '4321fe27fab04873c7de6713d6edb249',
),
'readonly' => true,
),
);[/QUOTE]
2019-05-16 13:02:25 - Host: bengal.kiev.ua - UNCAUGHT_EXCEPTION - [ParseError]
syntax error, unexpected '",' (T_CONSTANT_ENCAPSED_STRING), expecting ')' (0)
/home/мой/www/bitrix/php_interface/subscribe/templates/store _news_02/template.php:19
#0: CPostingTemplate::AddPosting(array)
/home/мой/www/bitrix/modules/subscribe/classes/general/templ ate.php:132
#1: CPostingTemplate::Execute()
/home/мой/www/bitrix/modules/main/classes/mysql/agent.php(163) : eval()'d code:1
#2: eval
/home/мой/www/bitrix/modules/main/classes/mysql/agent.php:163
#3: CAgent::ExecuteAgents(string)
/home/мой/www/bitrix/modules/main/classes/mysql/agent.php:40
#4: CAgent::CheckAgents()
/home/мой/www/bitrix/modules/main/include.php:264
#5: require_once(string)
/home/мой/www/bitrix/modules/main/include/prolog_before.php:14
#6: require_once(string)
/home/мой/www/bitrix/modules/main/include/prolog.php:10
#7: require_once(string)
/home/мой/www/bitrix/header.php:1
#8: require(string)
/home/мой/www/index.php:2
Возникла ощибка
При выполнении скрипта возникла ошибка. Включить расширенный вывод ошибок можно в файле настроек [URL=https://dev.1c-bitrix.ru/learning/course/index.php?COURSE_ID=43&LESSON_ID=2795].settings.php[/URL]
Что не так в настройках?
<?php
return array (
'utf_mode' =>
array (
'value' => true,
'readonly' => true,
),
'cache_flags' =>
array (
'value' =>
array (
'config_options' => 3600,
'site_domain' => 3600,
),
'readonly' => false,
),
'cookies' =>
array (
'value' =>
array (
'secure' => false,
'http_only' => true,
),
'readonly' => false,
),
'exception_handling' =>
array (
'value' =>
array (
'debug' => false,
'handled_errors_types' => 4437,
'exception_errors_types' => 4437,
'ignore_silence' => false,
'assertion_throws_exception' => true,
'assertion_error_type' => 256,
'log' => NULL,
),
'readonly' => false,
),
'connections' =>
array (
'value' =>
array (
'default' =>
array (
'className' => '\\Bitrix\\Main\\DB\\MysqliConnection',
'host' => 'мой',
'database' => 'мой',
'login' => 'мой',
'password' => 'мой',
'options' => 2,
),
),
'readonly' => true,
),
'crypto' =>
array (
'value' =>
array (
'crypto_key' => '4321fe27fab04873c7de6713d6edb249',
),
'readonly' => true,
),
);[/QUOTE]
2019-05-16 13:02:25 - Host: bengal.kiev.ua - UNCAUGHT_EXCEPTION - [ParseError]
syntax error, unexpected '",' (T_CONSTANT_ENCAPSED_STRING), expecting ')' (0)
/home/мой/www/bitrix/php_interface/subscribe/templates/store
#0: CPostingTemplate::AddPosting(array)
/home/мой/www/bitrix/modules/subscribe/classes/general/templ
#1: CPostingTemplate::Execute()
/home/мой/www/bitrix/modules/main/classes/mysql/agent.php(163) : eval()'d code:1
#2: eval
/home/мой/www/bitrix/modules/main/classes/mysql/agent.php:163
#3: CAgent::ExecuteAgents(string)
/home/мой/www/bitrix/modules/main/classes/mysql/agent.php:40
#4: CAgent::CheckAgents()
/home/мой/www/bitrix/modules/main/include.php:264
#5: require_once(string)
/home/мой/www/bitrix/modules/main/include/prolog_before.php:14
#6: require_once(string)
/home/мой/www/bitrix/modules/main/include/prolog.php:10
#7: require_once(string)
/home/мой/www/bitrix/header.php:1
#8: require(string)
/home/мой/www/index.php:2