Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'db1020599_stovet.ps_layered_category.id_layered_category' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_bySELECT * FROM ps_layered_category
WHERE id_category = 22
AND id_shop = 1
GROUP BY `type`, id_value ORDER BY position ASC
at line 605 in file classes/db/Db.php
599. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
600. }
601. else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))
602. {
603. if ($sql)
604. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
605. throw new PrestaShopDatabaseException($this->getMsgError());
606. }
607. }
608.
609. /**
301. if ($sql instanceof DbQuery)
302. $sql = $sql->build();
303.
304. $this->result = $this->_query($sql);
305. if (_PS_DEBUG_SQL_)
306. $this->displayError($sql);
307. return $this->result;
308. }
309.
310. /**
311. * Execute an INSERT query
Argument [0] SELECT * FROM ps_layered_category WHERE id_category = 22 AND id_shop = 1 GROUP BY `type`, id_value ORDER BY position ASC
476. {
477. $this->last_cached = true;
478. return $result;
479. }
480.
481. $this->result = $this->query($sql);
482. if (!$this->result)
483. return false;
484.
485. $this->last_cached = false;
486. if (!$array)
Argument [0] SELECT * FROM ps_layered_category WHERE id_category = 22 AND id_shop = 1 GROUP BY `type`, id_value ORDER BY position ASC
2584.
2585. /* Get the filters for the current category */
2586. $filters = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS('SELECT * FROM '._DB_PREFIX_.'layered_category
2587. WHERE id_category = '.(int)$id_parent.'
2588. AND id_shop = '.$id_shop.'
2589. GROUP BY `type`, id_value ORDER BY position ASC');
2590. // Remove all empty selected filters
2591. foreach ($selected_filters as $key => $value)
2592. switch ($key)
2593. {
2594. case 'price':
Argument [0] SELECT * FROM ps_layered_category WHERE id_category = 22 AND id_shop = 1 GROUP BY `type`, id_value ORDER BY position ASC
1201. public function hookHeader($params)
1202. {
1203. global $smarty, $cookie;
1204.
1205. // No filters => module disable
1206. if ($filter_block = $this->getFilterBlock($this->getSelectedFilters()))
1207. if ($filter_block['nbr_filterBlocks'] == 0)
1208. return false;
1209.
1210. if (Tools::getValue('id_category', Tools::getValue('id_category_layered', 1)) == 1)
1211. return;
Argument [0] Array ( [category] => Array ( ) )
413.
414. // Call hook method
415. if ($hook_callable)
416. $display = $moduleInstance->{'hook'.$hook_name}($hook_args);
417. else if ($hook_retro_callable)
418. $display = $moduleInstance->{'hook'.$retro_hook_name}($hook_args);
419. // Live edit
420. if (!$array_return && $array['live_edit'] && Tools::isSubmit('live_edit') && Tools::getValue('ad') && Tools::getValue('liveToken') == Tools::getAdminToken('AdminModulesPositions'.(int)Tab::getIdFromClassName('AdminModulesPositions').(int)Tools::getValue('id_employee')))
421. {
422. $live_edit = true;
423. $output .= self::wrapLiveEdit($display, $moduleInstance, $array['id_hook']);
Argument [0] Array ( [cookie] => Cookie Object ( [_content:protected] => Array ( [date_add] => 2022-08-14 17:44:18 [id_lang] => 1 [id_currency] => 1 ) [_name:protected] => 3f99a2f33f7744ef0eca694ec6b1a644 [_expire:protected] => 1662219858 [_domain:protected] => www.thestovedepot.ie [_path:protected] => / [_cipherTool:protected] => Blowfish Object ( [_P] => Array ( [0] => 572233843 [1] => 112857294 [2] => 6634324270 [3] => 10364243487 [4] => 358553009 [5] => 5662905517 [6] => 1556967268 [7] => 3645338000 [8] => 3121351831 [9] => 9541535041 [10] => 15589879601 [11] => 12261809725 [12] => 10854961855 [13] => 7324744027 [14] => 8582104811 [15] => 3559175041 [16] => 10609965166 [17] => 11500398956 ) [_S] => Array ( [0] => Array ( [0] => 1674633227 [1] => 10639736535 [2] => 9906784537 [3] => 16431815557 [4] => 2051208775 [5] => 6346465146 [6] => 11640540664 [7] => 5139449949 [8] => 6559373623 [9] => 11730622540 [10] => 2135297634 [11] => 25708481512 [12] => 26493587845 [13] => 32649544097 [14] => 9772909801 [15] => 18102229588 [16] => 32545339833 [17] => 13357090210 [18] => 16031453129 [19] => 22002868775 [20] => 14050104802 [21] => 13369805365 [22] => 11948205550 [23] => 2428791463 [24] => 1792739116 [25] => 30998870414 [26] => 31810297685 [27] => 10563747223 [28] => 3491887983 [29] => 22198067244 [30] => 31034793497 [31] => 8489019046 [32] => 784717924 [33] => 20853819891 [34] => 252510977 [35] => 28438942655 [36] => 19257511008 [37] => 19090171398 [38] => 26643559380 [39] => 10670740465 [40] => 27308119512 [41] => 731470907 [42] => 24042747225 [43] => 33966201883 [44] => 17820348130 [45] => 29140447942 [46] => 33141270503 [47] => 32177186687 [48] => 13967549178 [49] => 20005728634 [50] => 13605186635 [51] => 32146806912 [52] => 16644497153 [53] => 29096113072 [54] => 21672401042 [55] => 7484858973 [56] => 14914052267 [57] => 2956889992 [58] => 21739798166 [59] => 4680141413 [60] => 55427523160 [61] => 56512147546 [62] => 55109650584 [63] => 41602587729 [64] => 52989515129 [65] => 60273107444 [66] => 65996600594 [67] => 40797133649 [68] => 49945902019 [69] => 43282675745 [70] => 63062962058 [71] => 50080564103 [72] => 51308966056 [73] => 56653417142 [74] => 58280369473 [75] => 12409020678 [76] => 10106829855 [77] => 64214983065 [78] => 16428356601 [79] => 10477091448 [80] => 22870970458 [81] => 22481261535 [82] => 31824040202 [83] => 18158585823 [84] => 28963506603 [85] => 64136608899 [86] => 2122674835 [87] => 1840880141 [88] => 61668831379 [89] => 12150254995 [90] => 75815740172 [91] => 65055093 [92] => 79783618020 [93] => 122102735508 [94] => 86814567175 [95] => 82143562898 [96] => 97272488578 [97] => 90437499795 [98] => 83130589689 [99] => 105235111268 [100] => 108029681821 [101] => 100197029100 [102] => 673303883 [103] => 67786405029 [104] => 62871310647 [105] => 91994276856 [106] => 114566572625 [107] => 43147982380 [108] => 28994774976 [109] => 33006587513 [110] => 93934266764 [111] => 26802204224 [112] => 5122900950 [113] => 98999516827 [114] => 74249272810 [115] => 44114007762 [116] => 36720104089 [117] => 79715126356 [118] => 35016629344 [119] => 53668889893 [120] => 118246441080 [121] => 7080584508 [122] => 42697509535 [123] => 35782417767 [124] => 65565784485 [125] => 35345993874 [126] => 117449527623 [127] => 117724475904 [128] => 64140620729 [129] => 104825691138 [130] => 47116774 [131] => 101932420960 [132] => 99282797299 [133] => 65315218669 [134] => 23500377195 [135] => 136221986802 [136] => 80542126200 [137] => 92009207796 [138] => 42297089973 [139] => 51274728151 [140] => 104031023292 [141] => 42709246075 [142] => 223048764 [143] => 31851505589 [144] => 120908327641 [145] => 101286193392 [146] => 103611903748 [147] => 95303636445 [148] => 83893087738 [149] => 66751676660 [150] => 42258792896 [151] => 159336921726 [152] => 255064039410 [153] => 105508802801 [154] => 88523485476 [155] => 167664397862 [156] => 199599732363 [157] => 63346002791 [158] => 31172796795 [159] => 37771413212 [160] => 882843933 [161] => 87348025361 [162] => 135182560423 [163] => 40270902499 [164] => 59807808664 [165] => 37152735141 [166] => 3801591789 [167] => 9098400941 [168] => 41935646538 [169] => 15849670261 [170] => 86993878594 [171] => 71899904733 [172] => 238579805715 [173] => 127461172887 [174] => 109208511839 [175] => 139110912249 [176] => 116413605618 [177] => 137139638363 [178] => 262457315 [179] => 222576339000 [180] => 243397913780 [181] => 70278816858 [182] => 25042829761 [183] => 177080283594 [184] => 54654124645 [185] => 131917752336 [186] => 252682522674 [187] => 42841922010 [188] => 150358447641 [189] => 252792325621 [190] => 53468188218 [191] => 73519507712 [192] => 121647045537 [193] => 165157015449 [194] => 63350354094 [195] => 67844207761 [196] => 215472370914 [197] => 190450372492 [198] => 40003649891 [199] => 240097033175 [200] => 46449389453 [201] => 273266629139 [202] => 274768460111 [203] => 40576180044 [204] => 235849946937 [205] => 262480752405 [206] => 12463716337 [207] => 167670719225 [208] => 244596478833 [209] => 42500672338 [210] => 175368226529 [211] => 252436603712 [212] => 156970677877 [213] => 187768054694 [214] => 6638725696 [215] => 87476273320 [216] => 259621790646 [217] => 67800418668 [218] => 58303098368 [219] => 56445184362 [220] => 16871057181 [221] => 9013707544 [222] => 805779068 [223] => 62001067727 [224] => 166918558905 [225] => 63503233644 [226] => 7251717651 [227] => 128274245267 [228] => 243437021695 [229] => 145264997703 [230] => 51929772506 [231] => 292156286989 [232] => 530643384430 [233] => 209411434772 [234] => 239309907007 [235] => 347146503860 [236] => 426182684288 [237] => 51646664027 [238] => 78291038240 [239] => 312431341395 [240] => 280638274112 [241] => 268503862519 [242] => 15927364889 [243] => 481065240973 [244] => 476027410663 [245] => 265142590046 [246] => 66400786355 [247] => 534679603736 [248] => 158585700542 [249] => 260555407628 [250] => 54251885310 [251] => 312539026765 [252] => 329901744924 [253] => 114716166923 [254] => 473674456394 [255] => 535414972921 ) [1] => Array ( [0] => 329590330897 [1] => 408469001436 [2] => 427819401108 [3] => 503449111386 [4] => 418420484028 [5] => 432706479156 [6] => 389847626912 [7] => 292472143166 [8] => 508792368257 [9] => 133749940992 [10] => 201000484080 [11] => 544974643630 [12] => 138287167071 [13] => 29813868981 [14] => 16655894530 [15] => 341958685090 [16] => 809039579315 [17] => 366325980784 [18] => 803776776148 [19] => 1009301640946 [20] => 686131694534 [21] => 733692885491 [22] => 598498743172 [23] => 1011890510748 [24] => 898465447475 [25] => 769378480734 [26] => 686735614003 [27] => 885976148375 [28] => 703796999138 [29] => 821555425262 [30] => 674960953298 [31] => 1269816963796 [32] => 2046305971207 [33] => 1081696084680 [34] => 1086027229411 [35] => 1760949776094 [36] => 1710787962016 [37] => 296051967608 [38] => 937718452748 [39] => 1295603511845 [40] => 1665011734854 [41] => 1962094552639 [42] => 1664962139278 [43] => 1487061176715 [44] => 2068899016833 [45] => 552690182335 [46] => 2006862369098 [47] => 215612263877 [48] => 1203331065140 [49] => 1535097867631 [50] => 1526061296309 [51] => 1810860421051 [52] => 1034606316451 [53] => 62818267949 [54] => 756394247733 [55] => 594639712267 [56] => 623599505901 [57] => 329684517362 [58] => 812712706787 [59] => 269657639889 [60] => 201835461893 [61] => 1309002139422 [62] => 1225368883658 [63] => 168814912204 [64] => 1524309970584 [65] => 1849755729200 [66] => 898843378338 [67] => 1877083257767 [68] => 1414221168376 [69] => 846392015679 [70] => 1947403264650 [71] => 1965409059137 [72] => 1028661723053 [73] => 1313012460963 [74] => 232963611746 [75] => 1699969003028 [76] => 1327678332709 [77] => 1615116589392 [78] => 969698425733 [79] => 276624283959 [80] => 183598724144 [81] => 1363662357174 [82] => 1997998121454 [83] => 2976075872701 [84] => 2880622363640 [85] => 2171211191496 [86] => 1031458297620 [87] => 4271186057352 [88] => 2371202065715 [89] => 784969388603 [90] => 2098329288435 [91] => 3170178063866 [92] => 2569364465975 [93] => 1954122016258 [94] => 510659066265 [95] => 2315397401372 [96] => 3618718503933 [97] => 2479388853250 [98] => 2576764891182 [99] => 4391956524313 [100] => 3856501294459 [101] => 4230557959263 [102] => 3946891949047 [103] => 526496852856 [104] => 316362956402 [105] => 3991154281155 [106] => 1829678031643 [107] => 2115340272280 [108] => 454447721302 [109] => 1198499728033 [110] => 672444422465 [111] => 1810840078794 [112] => 246799240806 [113] => 973748919066 [114] => 2879330810693 [115] => 484284911775 [116] => 3547295786283 [117] => 1690909381061 [118] => 4058728389993 [119] => 2014947055277 [120] => 1494121093224 [121] => 2668073625423 [122] => 2061252006088 [123] => 3543814014433 [124] => 210052132732 [125] => 2604276778254 [126] => 2678400912182 [127] => 7171156659161 [128] => 6840532797958 [129] => 1154024662152 [130] => 7424156702534 [131] => 6144116797657 [132] => 5400743043409 [133] => 8767576283554 [134] => 7047794628968 [135] => 6298283836469 [136] => 8589172632856 [137] => 6079719861165 [138] => 5070396661680 [139] => 8563003870467 [140] => 6064055419759 [141] => 867109460811 [142] => 4466084278420 [143] => 7301352269012 [144] => 5750017804720 [145] => 4026560386220 [146] => 629864075874 [147] => 5952535662186 [148] => 5052995836574 [149] => 1224118016783 [150] => 8716008073445 [151] => 4303715182048 [152] => 12965946149207 [153] => 6096563760393 [154] => 1516954887144 [155] => 13926312072153 [156] => 9633581227767 [157] => 2718644496643 [158] => 4721829316673 [159] => 12078745246152 [160] => 10884072264048 [161] => 4400980959977 [162] => 1435030073175 [163] => 15703683817719 [164] => 11896558132434 [165] => 2224142237209 [166] => 3210830543478 [167] => 10200296050873 [168] => 4527376360476 [169] => 4422981828408 [170] => 6989112724439 [171] => 16696112857479 [172] => 12623554856277 [173] => 11138808812253 [174] => 2581852085233 [175] => 9526529479640 [176] => 14923767940689 [177] => 10555983176268 [178] => 17079840027217 [179] => 8663118483374 [180] => 1195292399078 [181] => 5304033135293 [182] => 6027267837074 [183] => 6550914029465 [184] => 8295600042811 [185] => 1565711973726 [186] => 589825582145 [187] => 16780076415817 [188] => 17567056079908 [189] => 1795288400929 [190] => 9234864777823 [191] => 1625286764230 [192] => 10850137876179 [193] => 11674942877961 [194] => 13182997960315 [195] => 7828153696082 [196] => 7979792570390 [197] => 13216451265068 [198] => 5423427381326 [199] => 14739247871497 [200] => 15160003992070 [201] => 8379838149622 [202] => 25852982563738 [203] => 2686040174077 [204] => 15717995645627 [205] => 28112957771891 [206] => 19074504012974 [207] => 16788342110896 [208] => 4726221383510 [209] => 26616757583256 [210] => 29388075930498 [211] => 28707905390802 [212] => 18215114048379 [213] => 27207378523503 [214] => 32792292031888 [215] => 22630303167126 [216] => 21359567085451 [217] => 33403788565713 [218] => 10295620021786 [219] => 24890363235671 [220] => 2975206725754 [221] => 18076727600074 [222] => 28486315122689 [223] => 31768366604244 [224] => 26229507695216 [225] => 27808277504912 [226] => 32267779383694 [227] => 20756818772929 [228] => 6405364514147 [229] => 28759869493198 [230] => 23796238565045 [231] => 32735834230404 [232] => 14579410475895 [233] => 3758248909365 [234] => 4823416990174 [235] => 3347459756771 [236] => 27841063583696 [237] => 25009658451040 [238] => 32753841639124 [239] => 6527353447308 [240] => 30104146010702 [241] => 29803145200525 [242] => 41875994592 [243] => 33639061220418 [244] => 1781888194860 [245] => 14664361137934 [246] => 3386730369826 [247] => 33507711649040 [248] => 25328072583833 [249] => 34268062981317 [250] => 19541540648272 [251] => 5052566972811 [252] => 20594712399809 [253] => 5350845872856 [254] => 14542032735681 [255] => 28308712522130 ) [2] => Array ( [0] => 10988826594279 [1] => 12098786998569 [2] => 23458572393412 [3] => 22567646982003 [4] => 26369671154976 [5] => 8428329774004 [6] => 21145087532212 [7] => 970263251249 [8] => 1397396054411 [9] => 16168648005402 [10] => 24704048952721 [11] => 17625620155246 [12] => 28415960701974 [13] => 7775400998788 [14] => 13324043473774 [15] => 23379229951707 [16] => 26889160072524 [17] => 34856898025738 [18] => 28365860050941 [19] => 24693082379774 [20] => 3575631418017 [21] => 11914214532908 [22] => 706406646179 [23] => 18351811138807 [24] => 29736102156315 [25] => 30910892081236 [26] => 11662069734733 [27] => 14375963337642 [28] => 5086868778652 [29] => 24361943870943 [30] => 19997240468451 [31] => 9332770847851 [32] => 6272844131140 [33] => 404433283704 [34] => 22250924060598 [35] => 14397868405335 [36] => 83500610929 [37] => 25024999758502 [38] => 28413293431532 [39] => 19012478787502 [40] => 25951027602302 [41] => 16188879499679 [42] => 28862852930938 [43] => 27558517152403 [44] => 27827781728910 [45] => 30159811681639 [46] => 5055009421649 [47] => 34357085031609 [48] => 20390791193817 [49] => 9844194757800 [50] => 19059570999286 [51] => 31926644582688 [52] => 744431337186 [53] => 15570680578761 [54] => 21891996585846 [55] => 16922336940452 [56] => 21129854516482 [57] => 26706019647698 [58] => 2765609721678 [59] => 24074400243881 [60] => 15968132266969 [61] => 17279154708353 [62] => 22438133465023 [63] => 8635975816318 [64] => 12400482246936 [65] => 7657667756400 [66] => 21282220734448 [67] => 10522922424115 [68] => 3868965886738 [69] => 23137923939736 [70] => 17344662018773 [71] => 3097107232036 [72] => 333468759554 [73] => 19745013571059 [74] => 13622603177387 [75] => 8508026938099 [76] => 16736935990612 [77] => 12247548673106 [78] => 110172371464 [79] => 2460441645586 [80] => 31428604542395 [81] => 9380236914497 [82] => 23378247703704 [83] => 5779983503509 [84] => 11272712281461 [85] => 32500305821228 [86] => 1204508549405 [87] => 3263039617415 [88] => 23876769013868 [89] => 8935503045260 [90] => 3689447177093 [91] => 19788565275815 [92] => 32945267333331 [93] => 14005961725030 [94] => 17026415540774 [95] => 20009080810990 [96] => 30226100256817 [97] => 30400505781573 [98] => 1597314374046 [99] => 19774015528084 [100] => 6023574117278 [101] => 18245293243493 [102] => 28743028637805 [103] => 5658178645674 [104] => 9709928477595 [105] => 22403012279164 [106] => 19382760083816 [107] => 29506234404968 [108] => 5751459402360 [109] => 4949834991928 [110] => 12635307343512 [111] => 33812066037050 [112] => 25346448281977 [113] => 5522044300632 [114] => 16607257568918 [115] => 23693213975047 [116] => 29437667203053 [117] => 20344722227291 [118] => 8269063694136 [119] => 18679435142552 [120] => 75977834140 [121] => 14130962380383 [122] => 19532275178609 [123] => 11082372945153 [124] => 30386292802412 [125] => 16997098282475 [126] => 28094404436492 [127] => 10161803583162 [128] => 23629092415017 [129] => 10278136447933 [130] => 14448428158300 [131] => 14431596149758 [132] => 20819840793796 [133] => 5440060081425 [134] => 13732378090936 [135] => 16530470309205 [136] => 23364128248422 [137] => 28387563102016 [138] => 30948898881742 [139] => 15017004640468 [140] => 17143733033867 [141] => 12646920855504 [142] => 1591007098198 [143] => 33232346271722 [144] => 35123712348955 [145] => 5839176696856 [146] => 6225555900789 [147] => 25765615492389 [148] => 25687212068207 [149] => 27240604751682 [150] => 16430170487815 [151] => 8310451172029 [152] => 30379571613332 [153] => 16213957770324 [154] => 956532292209 [155] => 32145943227098 [156] => 22463878724983 [157] => 1369104135536 [158] => 17810073486192 [159] => 3037739838107 [160] => 8143312742734 [161] => 13658838630385 [162] => 327991167694 [163] => 25980531127927 [164] => 22144608895183 [165] => 33238689480898 [166] => 13056724017302 [167] => 30400372186873 [168] => 4368335086915 [169] => 2897422831064 [170] => 20936102776462 [171] => 14467349039140 [172] => 2090757992317 [173] => 22065779859702 [174] => 29381108544667 [175] => 15593152468419 [176] => 15899864911855 [177] => 33580274860184 [178] => 6739603914897 [179] => 26934397878720 [180] => 31127508445117 [181] => 5375934289467 [182] => 12134500638124 [183] => 7256196184702 [184] => 22123820893941 [185] => 31655208220442 [186] => 31612077199074 [187] => 33284540056066 [188] => 23286517104076 [189] => 18442175070608 [190] => 21666351635988 [191] => 419951454671 [192] => 13076033892587 [193] => 25906133355224 [194] => 8853027832207 [195] => 14395629975914 [196] => 16235878228324 [197] => 9871620264933 [198] => 8673758114352 [199] => 25783861105657 [200] => 7875742878921 [201] => 27831682486629 [202] => 16418670333292 [203] => 9349400965352 [204] => 16129637561575 [205] => 8598088132982 [206] => 31732162631863 [207] => 7802648388888 [208] => 24385161182437 [209] => 29073974100578 [210] => 6022143282910 [211] => 27624170749447 [212] => 15489118021670 [213] => 17728704348033 [214] => 17016261059042 [215] => 14769857035343 [216] => 9858781018410 [217] => 5176258984005 [218] => 19166645949435 [219] => 5035910924 [220] => 29840987537264 [221] => 34123083239304 [222] => 33775418371026 [223] => 32720345096851 [224] => 152759872098 [225] => 13909279587078 [226] => 10049312436542 [227] => 8824285798503 [228] => 13475042319756 [229] => 25243135200496 [230] => 12504732629402 [231] => 724070094981 [232] => 34441729558821 [233] => 16126346648415 [234] => 20400713048749 [235] => 12139698512987 [236] => 5417006047021 [237] => 33725589691339 [238] => 26079704416488 [239] => 33432396908966 [240] => 10433443069041 [241] => 29179067567650 [242] => 3903166088737 [243] => 15294990517549 [244] => 22832632752726 [245] => 2652581509667 [246] => 5809156208250 [247] => 14444550703723 [248] => 22736561556412 [249] => 5438862086706 [250] => 5943899117692 [251] => 11844944224677 [252] => 17664111328894 [253] => 26312037161457 [254] => 7951787470665 [255] => 16364269928743 ) [3] => Array ( [0] => 3208136754346 [1] => 4627886877237 [2] => 24362142546442 [3] => 30314073054594 [4] => 26663406863684 [5] => 27020343181722 [6] => 34067839118812 [7] => 28736316201923 [8] => 26848211423339 [9] => 36397881918175 [10] => 65103794737463 [11] => 29158788899267 [12] => 21545625629277 [13] => 61404458506529 [14] => 64969026742753 [15] => 29021286418350 [16] => 30147345134000 [17] => 50834653409854 [18] => 44232492663592 [19] => 61260814077399 [20] => 54106193426048 [21] => 55195565271243 [22] => 10494389929505 [23] => 22108521477282 [24] => 18770500410644 [25] => 31619032166718 [26] => 12554313632989 [27] => 8648148590613 [28] => 14613186222947 [29] => 12047041046472 [30] => 77098229766029 [31] => 23098960626169 [32] => 74407792503421 [33] => 111468672023208 [34] => 112251050255625 [35] => 8212378471625 [36] => 21423795186375 [37] => 49684251060679 [38] => 11150148231125 [39] => 60820351824497 [40] => 51325993374002 [41] => 15423914484607 [42] => 41564388019294 [43] => 65341807384367 [44] => 43263570049516 [45] => 68835763293003 [46] => 27354274022605 [47] => 98659279263397 [48] => 116077850475294 [49] => 60224757895725 [50] => 54640241223382 [51] => 111133006988389 [52] => 84835795070846 [53] => 145421640654746 [54] => 251393143195154 [55] => 100378182325411 [56] => 89432247731164 [57] => 223817240880547 [58] => 237924642860675 [59] => 105810791756284 [60] => 125817679087261 [61] => 79661254485234 [62] => 48299088937882 [63] => 114817170248995 [64] => 129960136888018 [65] => 43538505332179 [66] => 37973098558188 [67] => 87353714842235 [68] => 134833572992523 [69] => 96882851109795 [70] => 81261115100972 [71] => 59432406723370 [72] => 97303717449657 [73] => 75094672813950 [74] => 157716481435106 [75] => 214813727571395 [76] => 219073491471905 [77] => 166695341154097 [78] => 244170328434732 [79] => 103956269211573 [80] => 128949232989478 [81] => 274544253023019 [82] => 23025953938452 [83] => 112757766234667 [84] => 256888847764951 [85] => 49822755289768 [86] => 8922187930073 [87] => 267145638919702 [88] => 230410579076910 [89] => 116283251135436 [90] => 18248161978293 [91] => 175111443856034 [92] => 141172306353512 [93] => 226683745864363 [94] => 161026379091590 [95] => 100731376087844 [96] => 75081439665066 [97] => 153554806384154 [98] => 134626120019066 [99] => 65098785538602 [100] => 5110342386168 [101] => 153066576748165 [102] => 62449294647064 [103] => 32908658648268 [104] => 44545324166130 [105] => 385618438536270 [106] => 533930146588409 [107] => 12283486234162 [108] => 116213414884790 [109] => 425393633985597 [110] => 3418753372972 [111] => 142839613270743 [112] => 65193414467213 [113] => 107474862106100 [114] => 354581514964417 [115] => 40499120886733 [116] => 249730699208551 [117] => 322947337743394 [118] => 428869310469771 [119] => 243065689166966 [120] => 281415277999642 [121] => 35255774888346 [122] => 378517003218882 [123] => 259072441258016 [124] => 259070621201864 [125] => 533471808363398 [126] => 562464747533865 [127] => 13763089631336 [128] => 146096656472095 [129] => 132828282952446 [130] => 69254296293930 [131] => 33950272831539 [132] => 377220135831378 [133] => 156678534357222 [134] => 139693870859840 [135] => 376468109519596 [136] => 433911648820415 [137] => 562200354900394 [138] => 318135189105259 [139] => 530888814590130 [140] => 449987741444028 [141] => 457381799922404 [142] => 559242011638744 [143] => 517966978957632 [144] => 490789330698678 [145] => 557484362117332 [146] => 466780363546094 [147] => 389377025817778 [148] => 874823253232519 [149] => 359779096023223 [150] => 945643952155153 [151] => 20064933037687 [152] => 128022392312684 [153] => 897386037134754 [154] => 1047812613528765 [155] => 252279550748083 [156] => 444935575574970 [157] => 620440157661974 [158] => 625913707685621 [159] => 474019295273145 [160] => 315330927750638 [161] => 694487591415772 [162] => 721228808588686 [163] => 384919675345383 [164] => 475050906585698 [165] => 310754034707460 [166] => 578465895060096 [167] => 526075090947714 [168] => 476381071474464 [169] => 684739213975144 [170] => 393927579029127 [171] => 251507914902973 [172] => 153996557813567 [173] => 843105495726164 [174] => 1039314747280523 [175] => 500526492253235 [176] => 131164247090330 [177] => 167879396471993 [178] => 657048989244610 [179] => 183003255500184 [180] => 4744753462276 [181] => 68279600101633 [182] => 352580826986508 [183] => 187085406168127 [184] => 359195116491589 [185] => 927233271833385 [186] => 1002875890618690 [187] => 690321904616245 [188] => 1073956435848234 [189] => 949936282939032 [190] => 1037463523293154 [191] => 330277934550354 [192] => 552201243147962 [193] => 1077834799835356 [194] => 1106986711558104 [195] => 230427829911196 [196] => 898796006594490 [197] => 170181398283965 [198] => 764403712535185 [199] => 143787626144751 [200] => 774304830699568 [201] => 1124451106954678 [202] => 1067745867876190 [203] => 908125652653066 [204] => 1037662844594293 [205] => 574264981485414 [206] => 315615201827963 [207] => 665051243022395 [208] => 713546015004288 [209] => 1007078641364757 [210] => 207479906022620 [211] => 79987309709862 [212] => 804232827788637 [213] => 133806603444715 [214] => 165309972475389 [215] => 917929912157044 [216] => 413353554767323 [217] => 136622783719318 [218] => 881466397773940 [219] => 542986938060724 [220] => 437431379804571 [221] => 35698464059402 [222] => 33238063721191 [223] => 431338720822980 [224] => 10951558788166 [225] => 824114127134595 [226] => 1104394414451254 [227] => 480660584927107 [228] => 1062293387935384 [229] => 680431436040592 [230] => 377401483172396 [231] => 781659593249314 [232] => 744042683162070 [233] => 708753810443182 [234] => 710160063543889 [235] => 108290268644323 [236] => 384169269797373 [237] => 147101855053790 [238] => 435581385500021 [239] => 1288509798570031 [240] => 1339661652439766 [241] => 211765550465099 [242] => 1468757916314402 [243] => 1920441911470526 [244] => 1152473571383428 [245] => 1161695210401635 [246] => 1156565296916371 [247] => 230002157034793 [248] => 526791915001502 [249] => 216934914372425 [250] => 862044933562121 [251] => 918244208070894 [252] => 92734021480631 [253] => 726607187941769 [254] => 1975481955602239 [255] => 1104965561722991 ) ) [_iv] => [_unpackMode:protected] => 1 ) [_key:protected] => T42VAoNs4zn7XRaGowhcSV1vBmQnvHx0eLoVo8ztjZL38UUDfQ6ajg2q [_iv:protected] => eLQeFvkf [_modified:protected] => 1 [_allow_writing:protected] => 1 ) [cart] => Cart Object ( [id] => [id_shop_group] => 1 [id_shop] => 1 [id_address_delivery] => 0 [id_address_invoice] => 0 [id_currency] => 1 [id_customer] => [id_guest] => 0 [id_lang] => 1 [recyclable] => 1 [gift] => 0 [gift_message] => [date_add] => [secure_key] => [id_carrier] => 0 [date_upd] => [checkedTos] => [pictures] => [textFields] => [delivery_option] => [allow_seperated_package] => [_products:protected] => [_taxCalculationMethod:protected] => 0 [webserviceParameters:protected] => Array ( [fields] => Array ( [id_address_delivery] => Array ( [xlink_resource] => addresses ) [id_address_invoice] => Array ( [xlink_resource] => addresses ) [id_currency] => Array ( [xlink_resource] => currencies ) [id_customer] => Array ( [xlink_resource] => customers ) [id_guest] => Array ( [xlink_resource] => guests ) [id_lang] => Array ( [xlink_resource] => languages ) ) [associations] => Array ( [cart_rows] => Array ( [resource] => cart_row [virtual_entity] => 1 [fields] => Array ( [id_product] => Array ( [required] => 1 [xlink_resource] => products ) [id_product_attribute] => Array ( [required] => 1 [xlink_resource] => combinations ) [quantity] => Array ( [required] => 1 ) ) ) ) ) [id_shop_list] => [get_shop_from_context:protected] => 1 [table:protected] => cart [identifier:protected] => id_cart [fieldsRequired:protected] => Array ( [0] => id_currency [1] => id_lang ) [fieldsSize:protected] => Array ( [secure_key] => 32 ) [fieldsValidate:protected] => Array ( [id_shop_group] => isUnsignedId [id_shop] => isUnsignedId [id_address_delivery] => isUnsignedId [id_address_invoice] => isUnsignedId [id_carrier] => isUnsignedId [id_currency] => isUnsignedId [id_customer] => isUnsignedId [id_guest] => isUnsignedId [id_lang] => isUnsignedId [recyclable] => isBool [gift] => isBool [gift_message] => isMessage [allow_seperated_package] => isBool [date_add] => isDateFormat [date_upd] => isDateFormat ) [fieldsRequiredLang:protected] => Array ( ) [fieldsSizeLang:protected] => Array ( ) [fieldsValidateLang:protected] => Array ( ) [tables:protected] => Array ( ) [image_dir:protected] => [image_format:protected] => jpg [def:protected] => Array ( [table] => cart [primary] => id_cart [fields] => Array ( [id_shop_group] => Array ( [type] => 1 [validate] => isUnsignedId ) [id_shop] => Array ( [type] => 1 [validate] => isUnsignedId ) [id_address_delivery] => Array ( [type] => 1 [validate] => isUnsignedId ) [id_address_invoice] => Array ( [type] => 1 [validate] => isUnsignedId ) [id_carrier] => Array ( [type] => 1 [validate] => isUnsignedId ) [id_currency] => Array ( [type] => 1 [validate] => isUnsignedId [required] => 1 ) [id_customer] => Array ( [type] => 1 [validate] => isUnsignedId ) [id_guest] => Array ( [type] => 1 [validate] => isUnsignedId ) [id_lang] => Array ( [type] => 1 [validate] => isUnsignedId [required] => 1 ) [recyclable] => Array ( [type] => 2 [validate] => isBool ) [gift] => Array ( [type] => 2 [validate] => isBool ) [gift_message] => Array ( [type] => 3 [validate] => isMessage ) [delivery_option] => Array ( [type] => 3 ) [secure_key] => Array ( [type] => 3 [size] => 32 ) [allow_seperated_package] => Array ( [type] => 2 [validate] => isBool ) [date_add] => Array ( [type] => 5 [validate] => isDateFormat ) [date_upd] => Array ( [type] => 5 [validate] => isDateFormat ) ) [classname] => Cart ) [update_fields:protected] => ) [altern] => 8 )
435. // These hooks aren't used for the mobile theme.
436. // Needed hooks are called in the tpl files.
437. if (!isset($this->context->cart))
438. $this->context->cart = new Cart();
439. $this->context->smarty->assign(array(
440. 'HOOK_HEADER' => Hook::exec('displayHeader'),
441. 'HOOK_TOP' => Hook::exec('displayTop'),
442. 'HOOK_LEFT_COLUMN' => ($this->display_column_left ? Hook::exec('displayLeftColumn') : ''),
443. 'HOOK_RIGHT_COLUMN' => ($this->display_column_right ? Hook::exec('displayRightColumn', array('cart' => $this->context->cart)) : ''),
444. ));
445. }
Argument [0] displayHeader
92. }
93. }
94.
95. public function initContent()
96. {
97. parent::initContent();
98.
99. $this->setTemplate(_PS_THEME_DIR_.'category.tpl');
100.
101. if (!$this->customer_access)
102. return;
161.
162. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))
163. $this->initHeader();
164.
165. if ($this->viewAccess())
166. $this->initContent();
167. else
168. $this->errors[] = Tools::displayError('Access denied.');
169.
170. if (!$this->content_only && ($this->display_footer || (isset($this->className) && $this->className)))
171. $this->initFooter();
342. // Execute hook dispatcher
343. if (isset($params_hook_action_dispatcher))
344. Hook::exec('actionDispatcher', $params_hook_action_dispatcher);
345.
346. // Running controller
347. $controller->run();
348. }
349. catch (PrestaShopException $e)
350. {
351. $e->displayMessage();
352. }
22. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
23. * International Registered Trademark & Property of PrestaShop SA
24. */
25.
26. require(dirname(__FILE__).'/config/config.inc.php');
27. Dispatcher::getInstance()->dispatch();
28.