Уральский ФО
SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'blive' in on clause is ambiguous
SELECT DISTINCT idregion,strnameregion,sd.alias
FROM
tblregion AS r
inner join tblgorod AS g on iidregion=idregion
join tgeo AS geo ON geo.`table` = "tblregion" AND table_id = r.idregion
join tsphinx_dictionary AS sd ON sd.model = "tgeo" AND sd.model_id = geo.id
inner join tblsmi on iidgorod=idgorod and blive=1 and bvisible=1
WHERE bregion=1 AND iidokrug=6
ORDER BY strnameregionError: 0Argument 1 passed to RO_Db::num_rows() must be an instance of PDOStatement, boolean given, called in /var/www/медиамастер.рф/application/views/scripts/layout/-nav-aside.phtml on line 37#0 /var/www/медиамастер.рф/application/views/scripts/layout/-nav-aside.phtml(37): RO_Db::num_rows(false)
#1 /var/www/shared/lib/sidelib/Zend/View.php(108): include('/var/www/\xD0\xBC\xD0\xB5\xD0\xB4...')
#2 /var/www/shared/lib/sidelib/Zend/View/Abstract.php(888): Zend_View->_run('/var/www/\xD0\xBC\xD0\xB5\xD0\xB4...')
#3 /var/www/медиамастер.рф/application/views/scripts/layout/default.phtml(11): Zend_View_Abstract->render(NULL)
#4 /var/www/shared/lib/sidelib/Zend/View.php(108): include('/var/www/\xD0\xBC\xD0\xB5\xD0\xB4...')
#5 /var/www/shared/lib/sidelib/Zend/View/Abstract.php(888): Zend_View->_run('/var/www/\xD0\xBC\xD0\xB5\xD0\xB4...')
#6 /var/www/shared/lib/sidelib/Zend/Layout.php(796): Zend_View_Abstract->render(NULL)
#7 /var/www/shared/lib/sidelib/Zend/Layout/Controller/Plugin/Layout.php(143): Zend_Layout->render()
#8 /var/www/shared/lib/sidelib/Zend/Controller/Plugin/Broker.php(333): Zend_Layout_Controller_Plugin_Layout->postDispatch(Object(Zend_Controller_Request_Http))
#9 /var/www/shared/lib/sidelib/Zend/Controller/Front.php(965): Zend_Controller_Plugin_Broker->postDispatch(Object(Zend_Controller_Request_Http))
#10 /var/www/shared/lib/sidelib/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#11 /var/www/shared/lib/sidelib/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#12 /var/www/медиамастер.рф/htdocs/index.php(52): Zend_Application->run()
#13 {main}