Database_Exception [ 1054 ]: Unknown column 'show_' in 'where clause' [ SELECT `catalog_set`.`id` AS `id`, `catalog_set`.`item_id` AS `item_id`, `catalog_set`.`title` AS `title`, `catalog_set`.`discount_percent` AS `discount_percent`, `catalog_set`.`published` AS `published`, `catalog_set`.`price_orel` AS `price_orel`, `catalog_set`.`price_russia` AS `price_russia`, `catalog_set`.`price_kursk` AS `price_kursk`, `catalog_set`.`price_elec` AS `price_elec`, `catalog_set`.`show_orel` AS `show_orel`, `catalog_set`.`show_russia` AS `show_russia`, `catalog_set`.`show_kursk` AS `show_kursk`, `catalog_set`.`show_elec` AS `show_elec` FROM `production_sets` AS `catalog_set` WHERE `id` IN (16) AND `published` > 0 AND `show_` > 0 ]

MODPATH/database/classes/Kohana/Database/MySQL.php [ 194 ]

189 			{
190 				// This benchmark is worthless
191 				Profiler::delete($benchmark);
192 			}
193 
194 			throw new Database_Exception(':error [ :query ]',
195 				array(':error' => mysql_error($this->_connection), ':query' => $sql),
196 				mysql_errno($this->_connection));
197 		}
198 
199 		if (isset($benchmark))
  1. MODPATH/database/classes/Kohana/Database/Query.php [ 251 ] » Kohana_Database_MySQL->query(arguments)

  2. MODPATH/orm/classes/Kohana/ORM.php [ 1063 ] » Kohana_Database_Query->execute(arguments)

  3. MODPATH/orm/classes/Kohana/ORM.php [ 1004 ] » Kohana_ORM->_load_result(arguments)

  4. APPPATH/classes/Model/Catalog/Item.php [ 1305 ] » Kohana_ORM->find_all()

  5. APPPATH/views/frontend/catalog/item/index.php [ 19 ] » Model_Catalog_Item->rel_sets(arguments)

  6. SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)

  7. SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)

  8. SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()

  9. APPPATH/views/frontend/layout.php [ 87 ] » Kohana_View->__toString()

  10. SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)

  11. SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)

  12. SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()

  13. APPPATH/classes/Controller/Default.php [ 24 ] » Kohana_Controller_Template->after()

  14. APPPATH/classes/Controller/Frontend.php [ 73 ] » Controller_Default->after()

  15. SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Frontend->after()

  16. {PHP internal call} » Kohana_Controller->execute()

  17. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)

  18. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  19. SYSPATH/classes/Kohana/Request.php [ 997 ] » Kohana_Request_Client->execute(arguments)

  20. DOCROOT/index.php [ 122 ] » Kohana_Request->execute()

Environment