Database_Exception [ 1317 ]: Query execution was interrupted [ SELECT IF(features_sites.id, features_sites.enabled, IF(features.id, features.enabled_by_default, 0)) AS enabled FROM features LEFT JOIN features_sites ON features_sites.feature_id = features.id AND features_sites.site_id = '78' JOIN sites ON sites.id = '78' WHERE features.key = 'gallery' LIMIT 1 ]

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 [ 245 ] » Kohana_Database_MySQL->query(arguments)

  2. APPPATH/classes/model/site.php [ 1077 ] » Kohana_Database_Query->execute()

  3. APPPATH/classes/model/site.php [ 532 ] » Model_Site->feature_enabled(arguments)

  4. APPPATH/classes/controller.php [ 65 ] » Model_Site->gallery_enabled()

  5. APPPATH/classes/controller/desktop/jobs.php [ 104 ] » Controller->header(arguments)

  6. APPPATH/classes/controller/desktop/jobs.php [ 57 ] » Controller_Desktop_Jobs->action_search()

  7. {PHP internal call} » Controller_Desktop_Jobs->action_index()

  8. APPPATH/classes/request/client/internal.php [ 86 ] » ReflectionMethod->invoke(arguments)

  9. SYSPATH/classes/kohana/request/client.php [ 64 ] » Request_Client_Internal->execute_request(arguments)

  10. SYSPATH/classes/kohana/request.php [ 1154 ] » Kohana_Request_Client->execute(arguments)

  11. DOCROOT/index.php [ 110 ] » Kohana_Request->execute()

Environment