User 'ordimedi_ordimed' has exceeded the 'max_questions' resource (current value: 1)
SELECT public_name
FROM `ps_attribute_group_lang` agl
LEFT JOIN `ps_layered_indexable_attribute_group` liag
ON liag.id_attribute_group = agl.id_attribute_group
WHERE indexable IS NULL OR indexable = 0
AND id_lang = 5
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 public_name FROM `ps_attribute_group_lang` agl LEFT JOIN `ps_layered_indexable_attribute_group` liag ON liag.id_attribute_group = agl.id_attribute_group WHERE indexable IS NULL OR indexable = 0 AND id_lang = 5
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 public_name FROM `ps_attribute_group_lang` agl LEFT JOIN `ps_layered_indexable_attribute_group` liag ON liag.id_attribute_group = agl.id_attribute_group WHERE indexable IS NULL OR indexable = 0 AND id_lang = 5
3151. SELECT public_name
3152. FROM `'._DB_PREFIX_.'attribute_group_lang` agl
3153. LEFT JOIN `'._DB_PREFIX_.'layered_indexable_attribute_group` liag
3154. ON liag.id_attribute_group = agl.id_attribute_group
3155. WHERE indexable IS NULL OR indexable = 0
3156. AND id_lang = '.$id_lang) as $attribute)
3157. $non_indexable[] = Tools::link_rewrite($attribute['public_name']);
3158.
3159. // Get all non indexable features
3160. foreach (Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS('
3161. SELECT name
Argument [0] SELECT public_name FROM `ps_attribute_group_lang` agl LEFT JOIN `ps_layered_indexable_attribute_group` liag ON liag.id_attribute_group = agl.id_attribute_group WHERE indexable IS NULL OR indexable = 0 AND id_lang = 5
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] => 2026-07-25 20:04:16
[id_lang] => 5
[id_currency] => 1
)
[_name:protected] => 3f99a2f33f7744ef0eca694ec6b1a644
[_expire:protected] => 1786752256
[_domain:protected] => www.ordimedia.net
[_path:protected] => /
[_cipherTool:protected] => Rijndael Object
(
[_key:protected] => 13V2AmyUUkmqXs1qGKZfcItP2WrWcXAd
[_iv:protected] => 3ñ:îãµ7ÔÕÐ9fñËèë
)
[_key:protected] => oPGqohQtKyLSKUn3kDTYp6yvJBMiLyBXQm6btktOdcnqvaO94VT6Z3HK
[_iv:protected] => sM1SodhX
[_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] => 5
[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] => 1
[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] => 30
)
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 https://opensource.org/licenses/OSL-3.0 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.
29. include "themes/leohite/footer.php";
30. ?>