[ParseError] 
syntax error, unexpected '$DB' (T_VARIABLE) (0)
/home/bitrix/www/bitrix/php_interface/after_connect.php:4
#0: CAllDatabase->DoConnect()
	/home/bitrix/www/bitrix/modules/main/classes/mysql/database.php:87
#1: CDatabaseMysql->Query(string)
	/home/bitrix/www/bitrix/modules/main/classes/mysql/agent.php:75
#2: CAgent::ExecuteAgents(string)
	/home/bitrix/www/bitrix/modules/main/classes/mysql/agent.php:40
#3: CAgent::CheckAgents()
	/home/bitrix/www/bitrix/modules/main/include.php:271
#4: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog_before.php:14
#5: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog.php:10
#6: require_once(string)
	/home/bitrix/www/bitrix/header.php:1
#7: require(string)
	/home/bitrix/www/news/elements/detail.php:1
#8: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#9: include_once(string)
	/home/bitrix/www/404.php:2