11 Ликеры
  Бизнес-ланч




Ликеры

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 ') AND `tuning_sitecontent`.`template` = '6' ORDER BY `pagetitle` ASC' at line 1 [ SELECT COUNT(`tuning_sitecontent`.`id`) AS `records_found` FROM `tuning_site_content` AS `tuning_sitecontent` WHERE `published` = '1' AND `deleted` = '0' AND `tuning_sitecontent`.`id` IN () AND `tuning_sitecontent`.`template` = '6' ORDER BY `pagetitle` ASC ]

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/modx/classes/Database/MySQL.php [ 15 ] » Kohana_Database_MySQL->query(arguments)

  2. MODPATH/database/classes/Kohana/Database/Query.php [ 251 ] » Database_MySQL->query(arguments)

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

  4. MODPATH/echo/classes/Kohana/Controller/Catalog.php [ 179 ] » Kohana_ORM->count_all()

  5. MODPATH/echo/classes/Kohana/Controller/Catalog.php [ 50 ] » Kohana_Controller_Catalog->do_pagination()

  6. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Kohana_Controller_Catalog->action_index()

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

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

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

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

  11. DOCROOT/run.php [ 7 ] » Kohana_Request->execute()

  12. /var/www/rrkmechta/data/www/rrk-mechta.ru/manager/includes/document.parser.class.inc.php(1454) : eval()'d code [ 2 ] » include(arguments)

  13. /var/www/rrkmechta/data/www/rrk-mechta.ru/manager/includes/document.parser.class.inc.php [ 1454 ] » eval()

  14. /var/www/rrkmechta/data/www/rrk-mechta.ru/manager/includes/document.parser.class.inc.php [ 1587 ] » DocumentParser->evalSnippet(arguments)

  15. /var/www/rrkmechta/data/www/rrk-mechta.ru/manager/includes/document.parser.class.inc.php [ 1501 ] » DocumentParser->_get_snip_result(arguments)

  16. /var/www/rrkmechta/data/www/rrk-mechta.ru/assets/plugins/phx/phx.parser.class.inc.php [ 115 ] » DocumentParser->evalSnippets(arguments)

  17. /var/www/rrkmechta/data/www/rrk-mechta.ru/assets/plugins/phx/phx.parser.class.inc.php [ 65 ] » PHxParser->ParseValues(arguments)

  18. /var/www/rrkmechta/data/www/rrk-mechta.ru/assets/plugins/phx/phx.parser.class.inc.php [ 49 ] » PHxParser->Parse(arguments)

  19. /var/www/rrkmechta/data/www/rrk-mechta.ru/manager/includes/document.parser.class.inc.php(1410) : eval()'d code [ 6 ] » PHxParser->OnParseDocument()

  20. /var/www/rrkmechta/data/www/rrk-mechta.ru/manager/includes/document.parser.class.inc.php [ 1410 ] » eval()

  21. /var/www/rrkmechta/data/www/rrk-mechta.ru/manager/includes/document.parser.class.inc.php [ 3067 ] » DocumentParser->evalPlugin(arguments)

  22. /var/www/rrkmechta/data/www/rrk-mechta.ru/manager/includes/document.parser.class.inc.php [ 1868 ] » DocumentParser->invokeEvent(arguments)

  23. /var/www/rrkmechta/data/www/rrk-mechta.ru/manager/includes/document.parser.class.inc.php [ 407 ] » DocumentParser->parseDocumentSource(arguments)

  24. /var/www/rrkmechta/data/www/rrk-mechta.ru/manager/includes/document.parser.class.inc.php [ 376 ] » DocumentParser->outputContent()

  25. /var/www/rrkmechta/data/www/rrk-mechta.ru/manager/includes/document.parser.class.inc.php [ 265 ] » DocumentParser->prepareResponse()

  26. /var/www/rrkmechta/data/www/rrk-mechta.ru/index.php [ 144 ] » DocumentParser->executeParser()

Environment