Феърфилд

ГЛАВНЫЙ ОФИС:

630091, г. Новосибирск
ул. Державина, 20

ЧАСЫ РАБОТЫ:

Пн-Сб, 10:00-19:00

КОНТАКТЫ:

+7 (383) 227-13-41 (телефон)
+7 (383) 227-13-42 (факс)

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 '' at line 1 [ SELECT * FROM catalogtree WHERE id_tree= ]

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. APPPATH/classes/Controller/Catalog/Wcatalog.php [ 366 ] » Kohana_Database_Query->execute()

  3. APPPATH/classes/Controller/Catalog/Wcatalog.php [ 41 ] » Controller_Catalog_Wcatalog->action_good()

  4. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Catalog_Wcatalog->action_rubric()

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

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

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

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

  9. APPPATH/classes/Controller/TBase.php [ 291 ] » Kohana_Request->execute()

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

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

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

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

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

  15. DOCROOT/index.php [ 124 ] » Kohana_Request->execute()

Environment

Задать вопрос

Подобрать камин