Warning (2): Error while sending QUERY packet. PID=19459 [CORE/Cake/Model/Datasource/DboSource.php, line 460]
Innovations | Yomken.com

Database Error

Error: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away

SQL Query: SELECT `Innovation`.`id`, `Innovation`.`challenge_id`, `Innovation`.`country_id`, `Innovation`.`category_id`, `Innovation`.`need_id`, `Innovation`.`type`, `Innovation`.`title`, `Innovation`.`short_description`, `Innovation`.`description`, `Innovation`.`need`, `Innovation`.`cover_photo`, `Innovation`.`field_of_research`, `Innovation`.`number_of_pages`, `Innovation`.`institution`, `Innovation`.`price`, `Innovation`.`langauge`, `Innovation`.`file_type`, `Innovation`.`file`, `Innovation`.`published`, `Innovation`.`user_id`, `Innovation`.`mobile`, `Innovation`.`video`, `Innovation`.`access_file`, `Innovation`.`added_date`, `Innovation`.`rating`, `Innovation`.`rating_sum`, `Innovation`.`rating_count`, `Innovation`.`comments`, `Innovation`.`created_at`, `Innovation`.`published_on`, (`I18n__title`.`content`) AS `Innovation__i18n_title`, (`I18n__short_description`.`content`) AS `Innovation__i18n_short_description`, (`I18n__description`.`content`) AS `Innovation__i18n_description`, (`I18n__need`.`content`) AS `Innovation__i18n_need`, (`I18n__field_of_research`.`content`) AS `Innovation__i18n_field_of_research`, (`I18n__institution`.`content`) AS `Innovation__i18n_institution`, (`I18n__langauge`.`content`) AS `Innovation__i18n_langauge`, (`I18n__file_type`.`content`) AS `Innovation__i18n_file_type`, `InnovationsCategory`.`id`, `InnovationsCategory`.`title`, `InnovationsCategory`.`description`, `InnovationsNeed`.`id`, `InnovationsNeed`.`title`, `InnovationsNeed`.`description`, `User`.`id`, `User`.`group_id`, `User`.`email`, `User`.`first_name`, `User`.`last_name`, `User`.`password`, `User`.`mobile`, `User`.`balance`, `User`.`about`, `User`.`currency`, `User`.`country_id`, `User`.`random_hash`, `User`.`is_admin`, `User`.`locale`, `User`.`address_1`, `User`.`address_2`, `User`.`city`, `User`.`zip`, `User`.`state`, `User`.`old`, `User`.`signup_date`, `User`.`last_login`, `User`.`fb_access_token`, `Country`.`code`, `Country`.`country`, `Country`.`country_ar`, `Country`.`country_fr`, `Challenge`.`id`, `Challenge`.`country_id`, `Challenge`.`currency_id`, `Challenge`.`location`, `Challenge`.`challenges_category_id`, `Challenge`.`related_to_id`, `Challenge`.`title`, `Challenge`.`description`, `Challenge`.`end_date`, `Challenge`.`deadline_scenario`, `Challenge`.`reward`, `Challenge`.`notes`, `Challenge`.`impact`, `Challenge`.`previous_solution`, `Challenge`.`challenge_field`, `Challenge`.`specializations`, `Challenge`.`difficulty`, `Challenge`.`image`, `Challenge`.`video`, `Challenge`.`link`, `Challenge`.`award_number`, `Challenge`.`reward_type`, `Challenge`.`reward_amount`, `Challenge`.`reward_description`, `Challenge`.`team`, `Challenge`.`expect`, `Challenge`.`user_id`, `Challenge`.`mobile`, `Challenge`.`published`, `Challenge`.`solved`, `Challenge`.`reward_sponsors`, `Challenge`.`is_selected`, `Challenge`.`under_evl`, `Challenge`.`form_id`, `Challenge`.`solution_count`, `Challenge`.`comments`, `Challenge`.`created_at` FROM `yomken`.`y_innovations` AS `Innovation` INNER JOIN `yomken`.`y_i18n` AS `I18n__title` ON (`Innovation`.`id` = `I18n__title`.`foreign_key` AND `I18n__title`.`model` = 'Innovation' AND `I18n__title`.`field` = 'title' AND `I18n__title`.`locale` = 'ar') INNER JOIN `yomken`.`y_i18n` AS `I18n__short_description` ON (`Innovation`.`id` = `I18n__short_description`.`foreign_key` AND `I18n__short_description`.`model` = 'Innovation' AND `I18n__short_description`.`field` = 'short_description' AND `I18n__short_description`.`locale` = 'ar') INNER JOIN `yomken`.`y_i18n` AS `I18n__description` ON (`Innovation`.`id` = `I18n__description`.`foreign_key` AND `I18n__description`.`model` = 'Innovation' AND `I18n__description`.`field` = 'description' AND `I18n__description`.`locale` = 'ar') INNER JOIN `yomken`.`y_i18n` AS `I18n__need` ON (`Innovation`.`id` = `I18n__need`.`foreign_key` AND `I18n__need`.`model` = 'Innovation' AND `I18n__need`.`field` = 'need' AND `I18n__need`.`locale` = 'ar') INNER JOIN `yomken`.`y_i18n` AS `I18n__field_of_research` ON (`Innovation`.`id` = `I18n__field_of_research`.`foreign_key` AND `I18n__field_of_research`.`model` = 'Innovation' AND `I18n__field_of_research`.`field` = 'field_of_research' AND `I18n__field_of_research`.`locale` = 'ar') INNER JOIN `yomken`.`y_i18n` AS `I18n__institution` ON (`Innovation`.`id` = `I18n__institution`.`foreign_key` AND `I18n__institution`.`model` = 'Innovation' AND `I18n__institution`.`field` = 'institution' AND `I18n__institution`.`locale` = 'ar') INNER JOIN `yomken`.`y_i18n` AS `I18n__langauge` ON (`Innovation`.`id` = `I18n__langauge`.`foreign_key` AND `I18n__langauge`.`model` = 'Innovation' AND `I18n__langauge`.`field` = 'langauge' AND `I18n__langauge`.`locale` = 'ar') INNER JOIN `yomken`.`y_i18n` AS `I18n__file_type` ON (`Innovation`.`id` = `I18n__file_type`.`foreign_key` AND `I18n__file_type`.`model` = 'Innovation' AND `I18n__file_type`.`field` = 'file_type' AND `I18n__file_type`.`locale` = 'ar') LEFT JOIN `yomken`.`y_innovations_categories` AS `InnovationsCategory` ON (`Innovation`.`category_id` = `InnovationsCategory`.`id`) LEFT JOIN `yomken`.`y_innovations_needs` AS `InnovationsNeed` ON (`Innovation`.`need_id` = `InnovationsNeed`.`id`) LEFT JOIN `yomken`.`y_users` AS `User` ON (`Innovation`.`user_id` = `User`.`id`) LEFT JOIN `yomken`.`y_countries` AS `Country` ON (`Innovation`.`country_id` = `Country`.`code`) LEFT JOIN `yomken`.`y_challenges` AS `Challenge` ON (`Innovation`.`challenge_id` = `Challenge`.`id`) WHERE `Innovation`.`published` = 1 AND `category_id` = 13 AND `type` = 'Innovation' ORDER BY `Innovation`.`added_date` desc LIMIT 12

Notice: If you want to customize this error message, create app/View/Errors/pdo_error.ctp

Stack Trace