object(dbException)#20 (6) { ["message:protected"]=> string(42) "Unknown column 'tickets' in 'where clause'" ["string:private"]=> string(0) "" ["code:protected"]=> int(0) ["file:protected"]=> string(57) "/var/www/archmedia/ida/awards_2012/kshan/lib/database.php" ["line:protected"]=> int(74) ["trace:private"]=> array(6) { [0]=> array(6) { ["file"]=> string(72) "/var/www/archmedia/ida/awards_2012/application/helper/helper_gallery.php" ["line"]=> int(115) ["function"]=> string(5) "query" ["class"]=> string(8) "Database" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> &string(233) "SELECT a.id,b.result_type,b.gallery_entry_id FROM gallery_new a,gallery_result_new b WHERE a.id = b.gallery_id AND a.award_year = tickets AND b.result_type in ('winner')" } } [1]=> array(6) { ["file"]=> string(72) "/var/www/archmedia/ida/awards_2012/application/helper/helper_gallery.php" ["line"]=> int(72) ["function"]=> string(27) "set_main_page_award_entries" ["class"]=> string(13) "helperGallery" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [2]=> array(6) { ["file"]=> string(87) "/var/www/archmedia/ida/awards_2012/application/controllers/gallery/award_controller.php" ["line"]=> int(350) ["function"]=> string(17) "main_page_entries" ["class"]=> string(13) "helperGallery" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [3]=> array(6) { ["file"]=> string(87) "/var/www/archmedia/ida/awards_2012/application/controllers/gallery/award_controller.php" ["line"]=> int(53) ["function"]=> string(9) "show_main" ["class"]=> string(22) "galleryAwardController" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> &string(7) "tickets" } } [4]=> array(6) { ["file"]=> string(59) "/var/www/archmedia/ida/awards_2012/kshan/lib/dispatcher.php" ["line"]=> int(57) ["function"]=> string(4) "init" ["class"]=> string(22) "galleryAwardController" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [5]=> array(6) { ["file"]=> string(51) "/var/www/archmedia/ida/awards_2012/public/index.php" ["line"]=> int(64) ["function"]=> string(8) "dispatch" ["class"]=> string(10) "Dispatcher" ["type"]=> string(2) "->" ["args"]=> array(0) { } } } }