TopSql(" SELECT C.AMOUNT, C.AMOUNT_CNT, CR.RATE, CR.RATE_CNT FROM b_catalog_currency C LEFT JOIN b_catalog_currency_rate CR ON ( C.CURRENCY = CR.CURRENCY AND CR.DATE_RATE < '".$DB->ForSql($valDate)."' AND CR.BASE_CURRENCY = '".$DB->ForSql($baseCurrency)."' ) WHERE C.CURRENCY = '".$DB->ForSql($cur)."' ORDER BY DATE_RATE DESC ", 1); $db_res = $DB->Query($strSql, false, "File: ".__FILE__."
Line: ".__LINE__); return $db_res->Fetch(); } }
[Error] 
Class 'CCurrencyRates' not found (0)
/home/bitrix/www/bitrix/modules/catalog/load/yandex_run.php:1035
#0: require
	/home/bitrix/www/bitrix/php_interface/include/catalog_export/yandex_run.php:3
#1: include(string)
	/home/bitrix/www/bitrix/modules/catalog/general/catalog_export.php:315
#2: CAllCatalogExport::PreGenerateExport(integer)
	/home/bitrix/www/bitrix/modules/main/classes/mysql/agent.php(162) : eval()'d code:1
#3: eval
	/home/bitrix/www/bitrix/modules/main/classes/mysql/agent.php:162
#4: CAgent::ExecuteAgents(string)
	/home/bitrix/www/bitrix/modules/main/classes/mysql/agent.php:40
#5: CAgent::CheckAgents()
	/home/bitrix/www/bitrix/modules/main/include.php:266
#6: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog_before.php:14
#7: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog.php:10
#8: require_once(string)
	/home/bitrix/www/bitrix/header.php:1
#9: require(string)
	/home/bitrix/www/catalog/index.php:1
#10: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#11: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2