User 'motobelfqtmtbpre' has exceeded the 'max_questions' resource (current value: 40000)
SELECT `id_hook`
FROM `ps_hook`
WHERE `name` = 'taxManager'
OR `name` = 'actionTaxManager'
LIMIT 1
at line 604 in file classes/db/Db.php
598. if ($webservice_call && $errno)
599. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. Query was : '.$sql, 97);
600. else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))
601. {
602. if ($sql)
603. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
604. throw new PrestaShopDatabaseException($this->getMsgError());
605. }
606. }
607.
608. /**
302. if ($sql instanceof DbQuery)
303. $sql = $sql->build();
304.
305. $this->result = $this->_query($sql);
306. if (_PS_DEBUG_SQL_) {
307. $this->displayError($sql);
308. }
309. return $this->result;
310. }
311.
312. /**
Argument [0] SELECT `id_hook` FROM `ps_hook` WHERE `name` = 'taxManager' OR `name` = 'actionTaxManager' LIMIT 1
517. {
518. $this->last_cached = true;
519. return $result;
520. }
521.
522. $this->result = $this->query($sql);
523. if (!$this->result)
524. return false;
525.
526. $this->last_cached = false;
527. $result = $this->nextRow($this->result);
Argument [0] SELECT `id_hook` FROM `ps_hook` WHERE `name` = 'taxManager' OR `name` = 'actionTaxManager' LIMIT 1
540. public function getValue($sql, $use_cache = true)
541. {
542. if ($sql instanceof DbQuery)
543. $sql = $sql->build();
544.
545. if (!$result = $this->getRow($sql, $use_cache))
546. return false;
547. return array_shift($result);
548. }
549.
550. /**
Argument [0] SELECT `id_hook` FROM `ps_hook` WHERE `name` = 'taxManager' OR `name` = 'actionTaxManager' Argument [1] 1
113. Cache::store($cache_id, Db::getInstance()->getValue('
114. SELECT `id_hook`
115. FROM `'._DB_PREFIX_.'hook`
116. WHERE `name` = \''.pSQL($hook_name).'\'
117. OR `name` = \''.pSQL($retro_hook_name).'\'
118. '));
119. }
120.
121. return Cache::retrieve($cache_id);
122. }
123.
Argument [0] SELECT `id_hook` FROM `ps_hook` WHERE `name` = 'taxManager' OR `name` = 'actionTaxManager'
62. *
63. * @return TaxManager
64. */
65. public static function execHookTaxManagerFactory(Address $address, $type)
66. {
67. $modules_infos = Hook::getModulesFromHook(Hook::getIdByName('taxManager'));
68. $tax_manager = false;
69.
70. foreach ($modules_infos as $module_infos)
71. {
72. $module_instance = Module::getInstanceByName($module_infos['name']);
Argument [0] taxManager
42. public static function getManager(Address $address, $type)
43. {
44. $cache_id = TaxManagerFactory::getCacheKey($address).'-'.$type;
45. if (!isset(TaxManagerFactory::$cache_tax_manager[$cache_id]))
46. {
47. $tax_manager = TaxManagerFactory::execHookTaxManagerFactory($address, $type);
48. if (!($tax_manager instanceof TaxManagerInterface))
49. $tax_manager = new TaxRulesTaxManager($address, $type);
50.
51. TaxManagerFactory::$cache_tax_manager[$cache_id] = $tax_manager;
52. }
Argument [0]
Address Object
(
[id_customer] =>
[id_manufacturer] =>
[id_supplier] =>
[id_warehouse] =>
[id_country] => 8
[id_state] => 0
[country] =>
[alias] =>
[company] =>
[lastname] =>
[firstname] =>
[address1] =>
[address2] =>
[postcode] => 0
[city] =>
[other] =>
[phone] =>
[phone_mobile] =>
[vat_number] =>
[dni] =>
[date_add] =>
[date_upd] =>
[deleted] => 0
[_includeVars:protected] => Array
(
[addressType] => table
)
[_includeContainer:protected] =>
[webserviceParameters:protected] => Array
(
[objectsNodeName] => addresses
[fields] => Array
(
[id_customer] => Array
(
[xlink_resource] => customers
)
[id_manufacturer] => Array
(
[xlink_resource] => manufacturers
)
[id_supplier] => Array
(
[xlink_resource] => suppliers
)
[id_warehouse] => Array
(
[xlink_resource] => warehouse
)
[id_country] => Array
(
[xlink_resource] => countries
)
[id_state] => Array
(
[xlink_resource] => states
)
)
)
[id] =>
[id_lang:protected] =>
[id_shop:protected] =>
[get_shop_from_context:ObjectModelCore:private] => 1
[table:protected] => address
[identifier:protected] => id_address
[fieldsRequired:protected] => Array
(
[0] => id_country
[1] => alias
[2] => lastname
[3] => firstname
[4] => address1
[5] => city
)
[fieldsSize:protected] => Array
(
[alias] => 32
[company] => 32
[lastname] => 32
[firstname] => 32
[address1] => 128
[address2] => 128
[postcode] => 12
[city] => 64
[other] => 300
[phone] => 16
[phone_mobile] => 16
[dni] => 16
)
[fieldsValidate:protected] => Array
(
[id_customer] => isNullOrUnsignedId
[id_manufacturer] => isNullOrUnsignedId
[id_supplier] => isNullOrUnsignedId
[id_warehouse] => isNullOrUnsignedId
[id_country] => isUnsignedId
[id_state] => isNullOrUnsignedId
[alias] => isGenericName
[company] => isGenericName
[lastname] => isName
[firstname] => isName
[vat_number] => isGenericName
[address1] => isAddress
[address2] => isAddress
[postcode] => isPostCode
[city] => isCityName
[other] => isMessage
[phone] => isPhoneNumber
[phone_mobile] => isPhoneNumber
[dni] => isDniLite
[deleted] => 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] => address
[primary] => id_address
[fields] => Array
(
[id_customer] => Array
(
[type] => 1
[validate] => isNullOrUnsignedId
[copy_post] =>
)
[id_manufacturer] => Array
(
[type] => 1
[validate] => isNullOrUnsignedId
[copy_post] =>
)
[id_supplier] => Array
(
[type] => 1
[validate] => isNullOrUnsignedId
[copy_post] =>
)
[id_warehouse] => Array
(
[type] => 1
[validate] => isNullOrUnsignedId
[copy_post] =>
)
[id_country] => Array
(
[type] => 1
[validate] => isUnsignedId
[required] => 1
)
[id_state] => Array
(
[type] => 1
[validate] => isNullOrUnsignedId
)
[alias] => Array
(
[type] => 3
[validate] => isGenericName
[required] => 1
[size] => 32
)
[company] => Array
(
[type] => 3
[validate] => isGenericName
[size] => 32
)
[lastname] => Array
(
[type] => 3
[validate] => isName
[required] => 1
[size] => 32
)
[firstname] => Array
(
[type] => 3
[validate] => isName
[required] => 1
[size] => 32
)
[vat_number] => Array
(
[type] => 3
[validate] => isGenericName
)
[address1] => Array
(
[type] => 3
[validate] => isAddress
[required] => 1
[size] => 128
)
[address2] => Array
(
[type] => 3
[validate] => isAddress
[size] => 128
)
[postcode] => Array
(
[type] => 3
[validate] => isPostCode
[size] => 12
)
[city] => Array
(
[type] => 3
[validate] => isCityName
[required] => 1
[size] => 64
)
[other] => Array
(
[type] => 3
[validate] => isMessage
[size] => 300
)
[phone] => Array
(
[type] => 3
[validate] => isPhoneNumber
[size] => 16
)
[phone_mobile] => Array
(
[type] => 3
[validate] => isPhoneNumber
[size] => 16
)
[dni] => Array
(
[type] => 3
[validate] => isDniLite
[size] => 16
)
[deleted] => Array
(
[type] => 2
[validate] => isBool
[copy_post] =>
)
[date_add] => Array
(
[type] => 5
[validate] => isDateFormat
[copy_post] =>
)
[date_upd] => Array
(
[type] => 5
[validate] => isDateFormat
[copy_post] =>
)
)
[classname] => Address Object
*RECURSION*
)
)
Argument [1]
1
2470. $address = new Address();
2471. $address->id_country = $id_country;
2472. $address->id_state = $id_state;
2473. $address->postcode = $zipcode;
2474.
2475. $tax_manager = TaxManagerFactory::getManager($address, Product::getIdTaxRulesGroupByIdProduct((int)$id_product));
2476. $product_tax_calculator = $tax_manager->getTaxCalculator();
2477.
2478. // Add Tax
2479. if ($use_tax)
2480. $price = $product_tax_calculator->addTaxes($price);
Argument [0]
Address Object
(
[id_customer] =>
[id_manufacturer] =>
[id_supplier] =>
[id_warehouse] =>
[id_country] => 8
[id_state] => 0
[country] =>
[alias] =>
[company] =>
[lastname] =>
[firstname] =>
[address1] =>
[address2] =>
[postcode] => 0
[city] =>
[other] =>
[phone] =>
[phone_mobile] =>
[vat_number] =>
[dni] =>
[date_add] =>
[date_upd] =>
[deleted] => 0
[_includeVars:protected] => Array
(
[addressType] => table
)
[_includeContainer:protected] =>
[webserviceParameters:protected] => Array
(
[objectsNodeName] => addresses
[fields] => Array
(
[id_customer] => Array
(
[xlink_resource] => customers
)
[id_manufacturer] => Array
(
[xlink_resource] => manufacturers
)
[id_supplier] => Array
(
[xlink_resource] => suppliers
)
[id_warehouse] => Array
(
[xlink_resource] => warehouse
)
[id_country] => Array
(
[xlink_resource] => countries
)
[id_state] => Array
(
[xlink_resource] => states
)
)
)
[id] =>
[id_lang:protected] =>
[id_shop:protected] =>
[get_shop_from_context:ObjectModelCore:private] => 1
[table:protected] => address
[identifier:protected] => id_address
[fieldsRequired:protected] => Array
(
[0] => id_country
[1] => alias
[2] => lastname
[3] => firstname
[4] => address1
[5] => city
)
[fieldsSize:protected] => Array
(
[alias] => 32
[company] => 32
[lastname] => 32
[firstname] => 32
[address1] => 128
[address2] => 128
[postcode] => 12
[city] => 64
[other] => 300
[phone] => 16
[phone_mobile] => 16
[dni] => 16
)
[fieldsValidate:protected] => Array
(
[id_customer] => isNullOrUnsignedId
[id_manufacturer] => isNullOrUnsignedId
[id_supplier] => isNullOrUnsignedId
[id_warehouse] => isNullOrUnsignedId
[id_country] => isUnsignedId
[id_state] => isNullOrUnsignedId
[alias] => isGenericName
[company] => isGenericName
[lastname] => isName
[firstname] => isName
[vat_number] => isGenericName
[address1] => isAddress
[address2] => isAddress
[postcode] => isPostCode
[city] => isCityName
[other] => isMessage
[phone] => isPhoneNumber
[phone_mobile] => isPhoneNumber
[dni] => isDniLite
[deleted] => 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] => address
[primary] => id_address
[fields] => Array
(
[id_customer] => Array
(
[type] => 1
[validate] => isNullOrUnsignedId
[copy_post] =>
)
[id_manufacturer] => Array
(
[type] => 1
[validate] => isNullOrUnsignedId
[copy_post] =>
)
[id_supplier] => Array
(
[type] => 1
[validate] => isNullOrUnsignedId
[copy_post] =>
)
[id_warehouse] => Array
(
[type] => 1
[validate] => isNullOrUnsignedId
[copy_post] =>
)
[id_country] => Array
(
[type] => 1
[validate] => isUnsignedId
[required] => 1
)
[id_state] => Array
(
[type] => 1
[validate] => isNullOrUnsignedId
)
[alias] => Array
(
[type] => 3
[validate] => isGenericName
[required] => 1
[size] => 32
)
[company] => Array
(
[type] => 3
[validate] => isGenericName
[size] => 32
)
[lastname] => Array
(
[type] => 3
[validate] => isName
[required] => 1
[size] => 32
)
[firstname] => Array
(
[type] => 3
[validate] => isName
[required] => 1
[size] => 32
)
[vat_number] => Array
(
[type] => 3
[validate] => isGenericName
)
[address1] => Array
(
[type] => 3
[validate] => isAddress
[required] => 1
[size] => 128
)
[address2] => Array
(
[type] => 3
[validate] => isAddress
[size] => 128
)
[postcode] => Array
(
[type] => 3
[validate] => isPostCode
[size] => 12
)
[city] => Array
(
[type] => 3
[validate] => isCityName
[required] => 1
[size] => 64
)
[other] => Array
(
[type] => 3
[validate] => isMessage
[size] => 300
)
[phone] => Array
(
[type] => 3
[validate] => isPhoneNumber
[size] => 16
)
[phone_mobile] => Array
(
[type] => 3
[validate] => isPhoneNumber
[size] => 16
)
[dni] => Array
(
[type] => 3
[validate] => isDniLite
[size] => 16
)
[deleted] => Array
(
[type] => 2
[validate] => isBool
[copy_post] =>
)
[date_add] => Array
(
[type] => 5
[validate] => isDateFormat
[copy_post] =>
)
[date_upd] => Array
(
[type] => 5
[validate] => isDateFormat
[copy_post] =>
)
)
[classname] => Address Object
*RECURSION*
)
)
Argument [1]
1
2359. $specific_price_output,
2360. $use_group_reduction,
2361. $id_customer,
2362. $use_customer_price,
2363. $id_cart
2364. );
2365. }
2366.
2367. /**
2368. * Price calculation / Get product price
2369. *
Argument [0]
1
Argument [1]
9334
Argument [2]
1752
Argument [3]
8
Argument [4]
0
Argument [5]
0
Argument [6]
1
Argument [7]
1
Argument [8]
1
Argument [9]
Argument [10]
6
Argument [11]
Argument [12]
1
Argument [13]
1
Argument [14]
Array
(
[id_specific_price] => 7983
[id_specific_price_rule] => 0
[id_cart] => 0
[id_product] => 9334
[id_shop] => 0
[id_group_shop] => 0
[id_currency] => 0
[id_country] => 0
[id_group] => 0
[id_customer] => 0
[id_product_attribute] => 0
[price] => 0.000000
[from_quantity] => 1
[reduction] => 0.500000
[reduction_type] => percentage
[from] => 0000-00-00 00:00:00
[to] => 0000-00-00 00:00:00
[score] => 32
)
Argument [15]
1
Argument [16]
0
Argument [17]
1
Argument [18]
3504. $row['price_tax_exc'] = Product::getPriceStatic(
3505. (int)$row['id_product'],
3506. false,
3507. ((isset($row['id_product_attribute']) && !empty($row['id_product_attribute'])) ? (int)$row['id_product_attribute'] : null),
3508. (self::$_taxCalculationMethod == PS_TAX_EXC ? 2 : 6)
3509. );
3510.
3511. if (self::$_taxCalculationMethod == PS_TAX_EXC)
3512. {
3513. $row['price_tax_exc'] = Tools::ps_round($row['price_tax_exc'], 2);
3514. $row['price'] = Product::getPriceStatic(
Argument [0] 9334 Argument [1] Argument [2] 1752 Argument [3] 6
1970. WHERE p.id_product = '.(int)$id_product.'
1971. '.($front ? ' AND p.`visibility` IN ("both", "catalog")' : '');
1972. $row = Db::getInstance(_PS_USE_SQL_SLAVE_)->getRow($sql);
1973. if ($result['id_product_attribute'])
1974. $row['id_product_attribute'] = $result['id_product_attribute'];
1975. return Product::getProductProperties($id_lang, $row);
1976. }
1977. else
1978. return false;
1979. }
1980.
Argument [0]
4
Argument [1]
Array
(
[id_product] => 9334
[id_supplier] => 0
[id_manufacturer] => 11
[id_category_default] => 821
[on_sale] => 0
[online_only] => 0
[ean13] =>
[upc] =>
[ecotax] => 0.000000
[quantity] => 0
[minimal_quantity] => 1
[price] => 165.000000
[wholesale_price] => 0.000000
[unity] => kg
[unit_price_ratio] => 0.000000
[additional_shipping_cost] => 0.00
[reference] => 3SD05710
[supplier_reference] =>
[location] =>
[width] => 0
[height] => 0
[depth] => 0
[weight] => 2
[out_of_stock] => 0
[quantity_discount] => 0
[customizable] => 0
[uploadable_files] => 0
[text_fields] => 0
[active] => 1
[available_for_order] => 1
[available_date] => 0000-00-00
[condition] => new
[show_price] => 1
[indexed] => 1
[visibility] => both
[cache_is_pack] => 0
[cache_has_attachments] => 0
[is_virtual] => 0
[cache_default_attribute] => 1752
[date_add] => 2021-01-11 20:20:53
[date_upd] => 2021-01-11 20:28:34
[advanced_stock_management] => 0
[description] =>
-
Coque aérodynamique en ABS peint
-
Réfléchissants 3M bretelles et coque
-
Sangle ventrale et bretelles G2 Harness
-
Rangements intérieurs et emplacement ordinateur dimension 33cm X 23cm X 5cm (13’’)
-
Dorsale ventilée avec assise basse matelassée pour la stabilité
-
Etanchéité garantie pour le contenu
-
Fermeture par Lacets élastiqués
-
Dimensions : 490mm X 290mm X 150mm
-
Poids : 1800g. Volume : 15-20L
-
Blanc brillant, réf 3SD05710
-
Noir Mat, réf 3SD05725Â
[description_short] =>
Â
[link_rewrite] => people-delite-executive
[meta_description] => Boblbe-e People Delite Executive Ref:3SD05710
[meta_keywords] =>
[meta_title] =>
[name] => People Delite Executive
[id_image] => 4541
[legend] =>
[rate] => 20.000
[id_product_attribute] => 1752
)
84. public function hookRightColumn($params)
85. {
86. if (Configuration::get('PS_CATALOG_MODE'))
87. return ;
88.
89. if (!($special = Product::getRandomSpecial((int)$params['cookie']->id_lang)) && !Configuration::get('PS_BLOCK_SPECIALS_DISPLAY'))
90. return;
91.
92. $this->smarty->assign(array(
93. 'special' => $special,
94. 'priceWithoutReduction_tax_excl' => Tools::ps_round($special['price_without_reduction'], 2),
Argument [0] 4
369. $time_start2 = microtime(true);
370. // Call hook method
371. if ($hook_callable)
372. $display = $moduleInstance->{'hook'.$hook_name}($hookArgs);
373. else if ($hook_retro_callable)
374. $display = $moduleInstance->{'hook'.$retro_hook_name}($hookArgs);
375. $time_end = microtime(true);
376. $delay = $time_end - $time_start2;
377. if($delay > 0.1) {
378. $delay = $time_end - $time_start;
379. // error_log(__FILE__ . ' ' . __LINE__ . ' ' . $delay . ' ' . 'hook'.$hook_name . ' ' . $array['module']);
Argument [0]
Array
(
[cart] => Cart Object
(
[id] =>
[id_group_shop] => 1
[id_shop] => 1
[id_address_delivery] => 0
[id_address_invoice] => 0
[id_currency] => 1
[id_customer] =>
[id_guest] => 0
[id_lang] => 4
[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
)
)
)
)
)
[get_shop_from_context:ObjectModelCore:private] => 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_group_shop] => 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_group_shop] => 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 Object
*RECURSION*
)
)
[cookie] => Cookie Object
(
[_content:protected] => Array
(
[date_add] => 2025-12-13 03:38:41
[id_lang] => 4
[id_currency] => 1
[last_visited_category] => 468
[viewed] => 1161
)
[_name:protected] => 9ffb800e76372160cbb02415dccd7dec
[_expire:protected] => 1767321522
[_domain:protected] => www.motobel.fr
[_path:protected] => /
[_cipherTool:protected] => Rijndael Object
(
[_key:protected] => rvUDbYI459NJcS1aso30RCsjKuNfWogd
[_iv:protected] => eâxû¤@Š2ì%µàÀäZ
)
[_key:protected] => 2foI3Yh6FaLaoun9kvM1ixgrCxR6RQ9wd8G9tDpzIKVTI9eSCjuIJaEc
[_iv:protected] => fTLNORxn
[_modified:protected] => 1
)
[altern] => 3
)
461. $Left = Hook::exec('displayLeftColumn');
462. }
463.
464. $Right = '';
465. if($this->display_column_right) {
466. $Right = Hook::exec('displayRightColumn', array('cart' => $this->context->cart));
467. }
468. $this->context->smarty->assign(array(
469. 'HOOK_HEADER' => $Header,
470. 'HOOK_TOP' => $Top,
471. 'HOOK_LEFT_COLUMN' => $Left,
Argument [0]
displayRightColumn
Argument [1]
Array
(
[cart] => Cart Object
(
[id] =>
[id_group_shop] => 1
[id_shop] => 1
[id_address_delivery] => 0
[id_address_invoice] => 0
[id_currency] => 1
[id_customer] =>
[id_guest] => 0
[id_lang] => 4
[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
)
)
)
)
)
[get_shop_from_context:ObjectModelCore:private] => 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_group_shop] => 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_group_shop] => 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 Object
*RECURSION*
)
)
)
88. $this->errors[] = Tools::displayError('You do not have access to this category.');
89. }
90.
91. public function initContent()
92. {
93. parent::initContent();
94.
95. // BR 20140407
96. // categorie inactive, on renvoit à la catégorie parente
97. if(!$this->category->active) {
98. $Parents = $this->category->getParentsCategories();
163. }
164. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))
165. $this->initHeader();
166.
167. if ($this->viewAccess()) {
168. $this->initContent();
169. }
170. else {
171. $this->errors[] = Tools::displayError('Access denied.');
172. }
173.
390. {
391. $mycontroller = Controller::getController($controller_class);
392. if( $_SERVER['REMOTE_ADDR']== IP_DEBUG_BLAISE) {
393. // mail('blaise2@motobel.fr', $time_start . ' ' . __FILE__ . ' ' . __LINE__, $_SERVER['REQUEST_URI'] . print_r($this, true));
394. }
395. $mycontroller->run();
396. if( $_SERVER['REMOTE_ADDR']== IP_DEBUG_BLAISE) {
397. // mail('blaise2@motobel.fr', $time_start . ' ' . __FILE__ . ' ' . __LINE__, $_SERVER['REQUEST_URI'] . print_r($this, true));
398. }
399. }
400. catch (PrestaShopException $e)
75.
76. if( $_SERVER['REMOTE_ADDR']== IP_DEBUG_BLAISE) {
77. //mail('blaise2@motobel.fr', $time_start . ' ' . __FILE__ . ' ' . __LINE__, $_SERVER['REQUEST_URI']);
78. }
79.
80. Dispatcher::getInstance()->dispatch();
81.
82. $time_end = microtime(true);
83. $delay = $time_end - $time_start;
84. if($delay > 1) {
85. // error_log(__FILE__ . ' ' . __LINE__ . ' ' . $delay);