СотрудничествоСотрудничество

О Розовом Слоне & CoО Розовом Слоне & Co

ПоводыПоводы

НовостиНовости

КонтактыКонтакты

Прокат костюмовПрокат костюмов
ERROR IN QUERY:
SELECT SQL_CALC_FOUND_ROWS  __mt__.*
FROM slon_banners AS __mt__
LEFT JOIN slon_banners_allocation
	ON slon_banners_allocation.banner_id = __mt__.id
WHERE (__mt__.allocation_type = 2
	OR (__mt__.allocation_type = 3
	AND slon_banners_allocation.value = 1
	AND slon_banners_allocation.object_type = 0
	AND slon_banners_allocation.object_id = ))
	AND __mt__.place_id = 5
GROUP BY __mt__.id
ORDER BY RAND()
LIMIT 0, 1
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 '))
	AND __mt__.place_id = 5
GROUP BY __mt__.id
ORDER BY RAND()
LIMIT 0, 1' at line 9

ERROR IN QUERY:
SELECT SQL_CALC_FOUND_ROWS  `items_sort` FROM `slon_categories` WHERE `cid`=
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