- Недвижимость 2875 объявлений
- Новостройки 30 объявлений
- Профессионалы 71 партнёров
-
Участковый Риелтор
CDbException
CDbCommand не удалось исполнить SQL-запрос: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '))' at line 1. The SQL statement executed was: SELECT COUNT(DISTINCT `t`.`id`) FROM `users` `t` WHERE (((((active=:ycp9) AND (type=:ycp10)) AND (has_area=1)) AND (coords IS NOT NULL)) AND (city_id=)) (/home/u473758/tua.ru/www/framework/db/CDbCommand.php:543)
#0 /home/u473758/tua.ru/www/framework/db/CDbCommand.php(433): CDbCommand->queryInternal('fetchColumn', 0, Array) #1 /home/u473758/tua.ru/www/framework/db/ar/CActiveFinder.php(759): CDbCommand->queryScalar() #2 /home/u473758/tua.ru/www/framework/db/ar/CActiveFinder.php(151): CJoinElement->count(Object(CDbCriteria)) #3 /home/u473758/tua.ru/www/framework/db/ar/CActiveRecord.php(1605): CActiveFinder->count(Object(CDbCriteria)) #4 /home/u473758/tua.ru/www/themes/classic/views/layouts/main-menu.php(97): CActiveRecord->count(Object(CDbCriteria)) #5 /home/u473758/tua.ru/www/framework/web/CBaseController.php(126): require('/home/u473758/t...') #6 /home/u473758/tua.ru/www/framework/web/CBaseController.php(95): CBaseController->renderInternal('/home/u473758/t...', NULL, true) #7 /home/u473758/tua.ru/www/framework/web/CController.php(870): CBaseController->renderFile('/home/u473758/t...', NULL, true) #8 /home/u473758/tua.ru/www/themes/classic/views/layouts/main.php(87): CController->renderPartial('//layouts/main-...') #9 /home/u473758/tua.ru/www/framework/web/CBaseController.php(126): require('/home/u473758/t...') #10 /home/u473758/tua.ru/www/framework/web/CBaseController.php(95): CBaseController->renderInternal('/home/u473758/t...', Array, true) #11 /home/u473758/tua.ru/www/framework/web/widgets/CContentDecorator.php(76): CBaseController->renderFile('/home/u473758/t...', Array, true) #12 /home/u473758/tua.ru/www/framework/web/widgets/CContentDecorator.php(54): CContentDecorator->decorate('