+3 826 9740334  Viber WhatsApp +7 926 8695686  Viber

Спален

Инвестиции


Database_Exception [ 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 ''none' LIMIT 1' at line 1 [ SELECT `cher_city`.`id` AS `id`, `cher_city`.`title` AS `title`, `cher_city`.`keywords` AS `keywords`, `cher_city`.`description` AS `description`, `cher_city`.`alias` AS `alias`, `cher_city`.`text` AS `text`, `cher_city`.`status` AS `status`, `cher_city`.`image` AS `image`, `cher_city`.`breadcrumb` AS `breadcrumb`, `cher_city`.`kol` AS `kol`, `cher_city`.`region_id` AS `region_id` FROM `cher_city` AS `cher_city` WHERE `id` IN 'none' LIMIT 1 ]

MODPATH/database/classes/Kohana/Database/MySQLi.php [ 171 ]

166 			{
167 				// This benchmark is worthless
168 				Profiler::delete($benchmark);
169 			}
170 
171 			throw new Database_Exception(':error [ :query ]', array(
172 				':error' => $this->_connection->error,
173 				':query' => $sql
174 			), $this->_connection->errno);
175 		}
176 
  1. MODPATH/database/classes/Kohana/Database/Query.php [ 251 ] » Kohana_Database_MySQLi->query(arguments)

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

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

  4. APPPATH/views/index/advertisement/v_products_list.php [ 42 ] » Kohana_ORM->find()

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

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

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

  8. APPPATH/views/index/v_base.php [ 261 ] » Kohana_View->__toString()

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

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

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

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

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

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

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

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

  17. DOCROOT/index.php [ 118 ] » Kohana_Request->execute()

Environment