Queries total time: 0.03451 s.
Query Time Actions
1
SELECT storefronts.* FROM cscart_storefronts AS storefronts  WHERE 1 = 1 AND (storefronts.url = 'bost.ir' OR storefronts.url = 'www.bost.ir' OR storefronts.url LIKE 'www_.bost.ir' OR storefronts.url LIKE 'bost.ir/%' OR storefronts.url LIKE 'www.bost.ir/%' OR storefronts.url LIKE 'www_.bost.ir/%') GROUP BY storefronts.storefront_id   ORDER BY storefronts.url = 'bost.ir' DESC, storefronts.url = 'www.bost.ir' DESC, storefronts.url LIKE 'www_.bost.ir' DESC, storefronts.url LIKE 'bost.ir/%' DESC, storefronts.url LIKE 'www.bost.ir/%' DESC, storefronts.url LIKE 'www_.bost.ir/%' desc 

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • include(/home/bostir/public_html/init.php) /home/bostir/public_html/index.php:24
  • fn_init() /home/bostir/public_html/init.php:177
  • fn_init_redirect_to_regional_storefront() /home/bostir/public_html/app/functions/fn.init.php:1194
  • Tygh\Storefront\Repository::findByUrl() /home/bostir/public_html/app/functions/fn.init.php:1419
  • Tygh\Storefront\Repository::find() /home/bostir/public_html/app/Tygh/Storefront/Repository.php:125
  • Tygh\Database\Connection::getHash() /home/bostir/public_html/app/Tygh/Storefront/Repository.php:359
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:345
0.00053 Re-run Backtrace
2
SELECT data FROM cscart_storage_data WHERE data_key = 'store_mode'

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • include(/home/bostir/public_html/init.php) /home/bostir/public_html/index.php:24
  • fn_init() /home/bostir/public_html/init.php:177
  • fn_init_http_params_by_storefront() /home/bostir/public_html/app/functions/fn.init.php:1194
  • fn_allowed_for() /home/bostir/public_html/app/functions/fn.init.php:1575
  • fn_get_storage_data() /home/bostir/public_html/app/functions/fn.control.php:943
  • db_get_row() /home/bostir/public_html/app/functions/fn.control.php:1018
  • Tygh\Database\Connection::getRow() /home/bostir/public_html/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:388
0.00038 Re-run Backtrace
3
SELECT company_id FROM cscart_storefronts_companies WHERE storefront_id = 1

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • include(/home/bostir/public_html/init.php) /home/bostir/public_html/index.php:24
  • fn_init() /home/bostir/public_html/init.php:177
  • fn_init_http_params_by_storefront() /home/bostir/public_html/app/functions/fn.init.php:1194
  • Tygh\Storefront\Storefront::getCompanyIds() /home/bostir/public_html/app/functions/fn.init.php:1576
  • Tygh\Storefront\Storefront::__call() /home/bostir/public_html/app/functions/fn.init.php:1576
  • Tygh\Storefront\Storefront::getRelationValue() /home/bostir/public_html/app/Tygh/Storefront/Storefront.php:227
  • Tygh\Storefront\RelationsManager::getRelationValue() /home/bostir/public_html/app/Tygh/Storefront/Storefront.php:265
  • Tygh\Storefront\RelationsManager::getRelatedValues() /home/bostir/public_html/app/Tygh/Storefront/RelationsManager.php:80
  • Tygh\Database\Connection::getColumn() /home/bostir/public_html/app/Tygh/Storefront/RelationsManager.php:116
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:454
0.00036 Re-run Backtrace
4
SELECT entry_page FROM cscart_companies WHERE company_id = 1 AND redirect_customer != 'Y'

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • include(/home/bostir/public_html/init.php) /home/bostir/public_html/index.php:24
  • fn_init() /home/bostir/public_html/init.php:177
  • fn_init_company_id() /home/bostir/public_html/app/functions/fn.init.php:1194
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.init.php:403
  • fn_ult_init_company_id() /home/bostir/public_html/app/functions/fn.control.php:104
  • db_get_field() /home/bostir/public_html/app/functions/fn.ultimate.php:553
  • Tygh\Database\Connection::getField() /home/bostir/public_html/app/functions/fn.database.php:73
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:422
0.00038 Re-run Backtrace
5
SELECT COUNT(*) FROM cscart_companies

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • include(/home/bostir/public_html/init.php) /home/bostir/public_html/index.php:24
  • fn_init() /home/bostir/public_html/init.php:177
  • fn_init_company_id() /home/bostir/public_html/app/functions/fn.init.php:1194
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.init.php:403
  • fn_ult_init_company_id() /home/bostir/public_html/app/functions/fn.control.php:104
  • db_get_field() /home/bostir/public_html/app/functions/fn.ultimate.php:572
  • Tygh\Database\Connection::getField() /home/bostir/public_html/app/functions/fn.database.php:73
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:422
0.00033 Re-run Backtrace
6
SET time_zone = '+03:30'

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • include(/home/bostir/public_html/init.php) /home/bostir/public_html/index.php:24
  • fn_init() /home/bostir/public_html/init.php:177
  • fn_init_settings() /home/bostir/public_html/app/functions/fn.init.php:1194
  • fn_init_time_zone() /home/bostir/public_html/app/functions/fn.init.php:1019
  • db_query() /home/bostir/public_html/app/functions/fn.init.php:1040
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/functions/fn.database.php:138
0.00028 Re-run Backtrace
7
SELECT company_id, storefront, secure_storefront FROM cscart_companies WHERE company_id = 1

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • include(/home/bostir/public_html/init.php) /home/bostir/public_html/index.php:24
  • fn_init() /home/bostir/public_html/init.php:177
  • fn_get_route() /home/bostir/public_html/app/functions/fn.init.php:1194
  • fn_get_request_uri() /home/bostir/public_html/app/functions/fn.control.php:788
  • fn_get_storefront_urls() /home/bostir/public_html/app/functions/fn.control.php:1107
  • db_get_row() /home/bostir/public_html/app/functions/fn.ultimate.php:3448
  • Tygh\Database\Connection::getRow() /home/bostir/public_html/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:388
0.00049 Re-run Backtrace
8
SELECT type FROM cscart_seo_names WHERE name = '43bn3070km'  AND ( cscart_seo_names.company_id = 1 OR cscart_seo_names.company_id = 0)

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • include(/home/bostir/public_html/init.php) /home/bostir/public_html/index.php:24
  • fn_init() /home/bostir/public_html/init.php:177
  • fn_get_route() /home/bostir/public_html/app/functions/fn.init.php:1194
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.control.php:799
  • fn_seo_get_route() /home/bostir/public_html/app/functions/fn.control.php:123
  • db_get_field() /home/bostir/public_html/app/addons/seo/func.php:534
  • Tygh\Database\Connection::getField() /home/bostir/public_html/app/functions/fn.database.php:73
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:422
0.00042 Re-run Backtrace
9
SELECT * FROM cscart_seo_names WHERE name = '43bn3070km'  AND cscart_seo_names.company_id IN (0, 1) 

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • include(/home/bostir/public_html/init.php) /home/bostir/public_html/index.php:24
  • fn_init() /home/bostir/public_html/init.php:177
  • fn_get_route() /home/bostir/public_html/app/functions/fn.init.php:1194
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.control.php:799
  • fn_seo_get_route() /home/bostir/public_html/app/functions/fn.control.php:123
  • db_get_array() /home/bostir/public_html/app/addons/seo/func.php:541
  • Tygh\Database\Connection::getArray() /home/bostir/public_html/app/functions/fn.database.php:35
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:307
0.00035 Re-run Backtrace
10
SELECT storefronts.* FROM cscart_storefronts AS storefronts  WHERE 1 = 1 AND storefronts.storefront_id IN (1) GROUP BY storefronts.storefront_id   ORDER BY storefronts.is_default desc 

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • include(/home/bostir/public_html/init.php) /home/bostir/public_html/index.php:24
  • fn_init() /home/bostir/public_html/init.php:177
  • fn_get_route() /home/bostir/public_html/app/functions/fn.init.php:1194
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.control.php:799
  • fn_seo_get_route() /home/bostir/public_html/app/functions/fn.control.php:123
  • fn_seo_validate_object() /home/bostir/public_html/app/addons/seo/func.php:577
  • Tygh\Languages\Languages::getSimpleLanguages() /home/bostir/public_html/app/addons/seo/func.php:918
  • fn_set_hook() /home/bostir/public_html/app/Tygh/Languages/Languages.php:446
  • fn_ult_get_simple_languages() /home/bostir/public_html/app/functions/fn.control.php:104
  • Tygh\Application::offsetGet() /home/bostir/public_html/app/functions/fn.ultimate.php:4182
  • Tygh\Application::offsetGet() /home/bostir/public_html/app/Tygh/Application.php:135
  • Tygh\Providers\StorefrontProvider::Tygh\Providers\{closure:/home/bostir/public_html/app/Tygh/Providers/StorefrontProvider.php:156-210}() /home/bostir/public_html/app/lib/vendor/pimple/pimple/src/Pimple/Container.php:118
  • Tygh\Storefront\Repository::findById() /home/bostir/public_html/app/Tygh/Providers/StorefrontProvider.php:186
  • Tygh\Storefront\Repository::find() /home/bostir/public_html/app/Tygh/Storefront/Repository.php:163
  • Tygh\Database\Connection::getHash() /home/bostir/public_html/app/Tygh/Storefront/Repository.php:362
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:345
0.00037 Re-run Backtrace
11
SELECT company_id FROM cscart_storefronts_companies WHERE storefront_id = 1

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • include(/home/bostir/public_html/init.php) /home/bostir/public_html/index.php:24
  • fn_init() /home/bostir/public_html/init.php:177
  • fn_get_route() /home/bostir/public_html/app/functions/fn.init.php:1194
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.control.php:799
  • fn_seo_get_route() /home/bostir/public_html/app/functions/fn.control.php:123
  • fn_seo_validate_object() /home/bostir/public_html/app/addons/seo/func.php:577
  • Tygh\Languages\Languages::getSimpleLanguages() /home/bostir/public_html/app/addons/seo/func.php:918
  • fn_set_hook() /home/bostir/public_html/app/Tygh/Languages/Languages.php:446
  • fn_ult_get_simple_languages() /home/bostir/public_html/app/functions/fn.control.php:104
  • Tygh\Application::offsetGet() /home/bostir/public_html/app/functions/fn.ultimate.php:4182
  • Tygh\Application::offsetGet() /home/bostir/public_html/app/Tygh/Application.php:135
  • Tygh\Providers\StorefrontProvider::Tygh\Providers\{closure:/home/bostir/public_html/app/Tygh/Providers/StorefrontProvider.php:156-210}() /home/bostir/public_html/app/lib/vendor/pimple/pimple/src/Pimple/Container.php:118
  • Tygh\Storefront\Storefront::getCompanyIds() /home/bostir/public_html/app/Tygh/Providers/StorefrontProvider.php:191
  • Tygh\Storefront\Storefront::__call() /home/bostir/public_html/app/Tygh/Providers/StorefrontProvider.php:191
  • Tygh\Storefront\Storefront::getRelationValue() /home/bostir/public_html/app/Tygh/Storefront/Storefront.php:227
  • Tygh\Storefront\RelationsManager::getRelationValue() /home/bostir/public_html/app/Tygh/Storefront/Storefront.php:265
  • Tygh\Storefront\RelationsManager::getRelatedValues() /home/bostir/public_html/app/Tygh/Storefront/RelationsManager.php:80
  • Tygh\Database\Connection::getColumn() /home/bostir/public_html/app/Tygh/Storefront/RelationsManager.php:116
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:454
0.00076 Re-run Backtrace
12
SELECT cscart_languages.lang_code, cscart_languages.name FROM cscart_languages  LEFT JOIN cscart_storefronts_languages AS storefronts_languages ON storefronts_languages.language_id = cscart_languages.lang_id WHERE 1 AND cscart_languages.status = 'A'AND (storefronts_languages.storefront_id = 1 OR storefronts_languages.storefront_id IS NULL)   

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • include(/home/bostir/public_html/init.php) /home/bostir/public_html/index.php:24
  • fn_init() /home/bostir/public_html/init.php:177
  • fn_get_route() /home/bostir/public_html/app/functions/fn.init.php:1194
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.control.php:799
  • fn_seo_get_route() /home/bostir/public_html/app/functions/fn.control.php:123
  • fn_seo_validate_object() /home/bostir/public_html/app/addons/seo/func.php:577
  • Tygh\Languages\Languages::getSimpleLanguages() /home/bostir/public_html/app/addons/seo/func.php:918
  • db_get_hash_single_array() /home/bostir/public_html/app/Tygh/Languages/Languages.php:448
  • Tygh\Database\Connection::getSingleHash() /home/bostir/public_html/app/functions/fn.database.php:111
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:546
0.00020 Re-run Backtrace
13
SELECT object_id, name FROM cscart_seo_names WHERE name IN ('productions', 'tv') AND type = 'c' AND lang_code = 'fa'  AND ( cscart_seo_names.company_id = 1 OR cscart_seo_names.company_id = 0)

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • include(/home/bostir/public_html/init.php) /home/bostir/public_html/index.php:24
  • fn_init() /home/bostir/public_html/init.php:177
  • fn_get_route() /home/bostir/public_html/app/functions/fn.init.php:1194
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.control.php:799
  • fn_seo_get_route() /home/bostir/public_html/app/functions/fn.control.php:123
  • fn_seo_validate_object() /home/bostir/public_html/app/addons/seo/func.php:577
  • fn_seo_validate_parents() /home/bostir/public_html/app/addons/seo/func.php:938
  • db_get_hash_single_array() /home/bostir/public_html/app/addons/seo/func.php:975
  • Tygh\Database\Connection::getSingleHash() /home/bostir/public_html/app/functions/fn.database.php:111
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:546
0.00019 Re-run Backtrace
14
SELECT product_id, parent_product_id FROM cscart_product_variation_group_products WHERE product_id IN (1026)

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • include(/home/bostir/public_html/init.php) /home/bostir/public_html/index.php:24
  • fn_init() /home/bostir/public_html/init.php:177
  • fn_get_route() /home/bostir/public_html/app/functions/fn.init.php:1194
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.control.php:799
  • fn_seo_get_route() /home/bostir/public_html/app/functions/fn.control.php:123
  • fn_url() /home/bostir/public_html/app/addons/seo/func.php:663
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.common.php:3702
  • Tygh\Addons\Loader::Tygh\Addons\{closure:/home/bostir/public_html/app/Tygh/Addons/Loader.php:145-153}() /home/bostir/public_html/app/functions/fn.control.php:123
  • call_user_func_array:{/home/bostir/public_html/app/Tygh/Addons/Loader.php:148}() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\HookHandlers\SeoHookHandler::onUrlPre() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\Product\ProductIdMap::getParentProductId() /home/bostir/public_html/app/addons/product_variations/src/HookHandlers/SeoHookHandler.php:79
  • Tygh\Addons\ProductVariations\Product\ProductIdMap::loadParentProductIdMapFromDbById() /home/bostir/public_html/app/addons/product_variations/src/Product/ProductIdMap.php:171
  • Tygh\Addons\ProductVariations\Product\Group\Repository::getParentProductIdMap() /home/bostir/public_html/app/addons/product_variations/src/Product/ProductIdMap.php:260
  • Tygh\Addons\ProductVariations\Tools\Query::column() /home/bostir/public_html/app/addons/product_variations/src/Product/Group/Repository.php:577
  • Tygh\Database\Connection::getSingleHash() /home/bostir/public_html/app/addons/product_variations/src/Tools/Query.php:329
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:546
0.00021 Re-run Backtrace
15
SELECT storefronts.* FROM cscart_storefronts AS storefronts LEFT JOIN cscart_storefronts_companies AS companies ON storefronts.storefront_id = companies.storefront_id WHERE 1 = 1 AND (companies.company_id IN ('1') ) GROUP BY storefronts.storefront_id   ORDER BY storefronts.is_default desc 

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • include(/home/bostir/public_html/init.php) /home/bostir/public_html/index.php:24
  • fn_init() /home/bostir/public_html/init.php:177
  • fn_get_route() /home/bostir/public_html/app/functions/fn.init.php:1194
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.control.php:799
  • fn_seo_get_route() /home/bostir/public_html/app/functions/fn.control.php:123
  • fn_url() /home/bostir/public_html/app/addons/seo/func.php:663
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.common.php:3783
  • fn_ult_url_before_get_storefront_location() /home/bostir/public_html/app/functions/fn.control.php:104
  • fn_ult_bootstrap_company_storefront() /home/bostir/public_html/app/functions/fn.ultimate.php:1417
  • Tygh\Storefront\Repository::findByCompanyId() /home/bostir/public_html/app/functions/fn.ultimate.php:3988
  • Tygh\Storefront\Repository::find() /home/bostir/public_html/app/Tygh/Storefront/Repository.php:215
  • Tygh\Database\Connection::getHash() /home/bostir/public_html/app/Tygh/Storefront/Repository.php:362
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:345
0.00026 Re-run Backtrace
16
SELECT name, path FROM cscart_seo_names WHERE `object_id` = 1026 AND `type` = 'p' AND `dispatch` = '' AND `lang_code` = 'fa'  AND cscart_seo_names.company_id IN (0, 1)

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • include(/home/bostir/public_html/init.php) /home/bostir/public_html/index.php:24
  • fn_init() /home/bostir/public_html/init.php:177
  • fn_get_route() /home/bostir/public_html/app/functions/fn.init.php:1194
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.control.php:799
  • fn_seo_get_route() /home/bostir/public_html/app/functions/fn.control.php:123
  • fn_url() /home/bostir/public_html/app/addons/seo/func.php:663
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.common.php:3898
  • fn_seo_url_post() /home/bostir/public_html/app/functions/fn.control.php:123
  • fn_seo_get_name() /home/bostir/public_html/app/addons/seo/func.php:1428
  • db_get_row() /home/bostir/public_html/app/addons/seo/func.php:1164
  • Tygh\Database\Connection::getRow() /home/bostir/public_html/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:388
0.00021 Re-run Backtrace
17
SELECT name, path FROM cscart_seo_names WHERE `object_id` = 331 AND `type` = 'c' AND `dispatch` = '' AND `lang_code` = 'fa'  AND cscart_seo_names.company_id IN (0, 1)

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • include(/home/bostir/public_html/init.php) /home/bostir/public_html/index.php:24
  • fn_init() /home/bostir/public_html/init.php:177
  • fn_get_route() /home/bostir/public_html/app/functions/fn.init.php:1194
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.control.php:799
  • fn_seo_get_route() /home/bostir/public_html/app/functions/fn.control.php:123
  • fn_url() /home/bostir/public_html/app/addons/seo/func.php:663
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.common.php:3898
  • fn_seo_url_post() /home/bostir/public_html/app/functions/fn.control.php:123
  • fn_seo_get_parent_items_path() /home/bostir/public_html/app/addons/seo/func.php:1438
  • fn_seo_get_name() /home/bostir/public_html/app/addons/seo/func.php:1024
  • db_get_row() /home/bostir/public_html/app/addons/seo/func.php:1164
  • Tygh\Database\Connection::getRow() /home/bostir/public_html/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:388
0.00019 Re-run Backtrace
18
SELECT name, path FROM cscart_seo_names WHERE `object_id` = 319 AND `type` = 'c' AND `dispatch` = '' AND `lang_code` = 'fa'  AND cscart_seo_names.company_id IN (0, 1)

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • include(/home/bostir/public_html/init.php) /home/bostir/public_html/index.php:24
  • fn_init() /home/bostir/public_html/init.php:177
  • fn_get_route() /home/bostir/public_html/app/functions/fn.init.php:1194
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.control.php:799
  • fn_seo_get_route() /home/bostir/public_html/app/functions/fn.control.php:123
  • fn_url() /home/bostir/public_html/app/addons/seo/func.php:663
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.common.php:3898
  • fn_seo_url_post() /home/bostir/public_html/app/functions/fn.control.php:123
  • fn_seo_get_parent_items_path() /home/bostir/public_html/app/addons/seo/func.php:1438
  • fn_seo_get_name() /home/bostir/public_html/app/addons/seo/func.php:1024
  • db_get_row() /home/bostir/public_html/app/addons/seo/func.php:1164
  • Tygh\Database\Connection::getRow() /home/bostir/public_html/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:388
0.00018 Re-run Backtrace
19
SELECT companies.* FROM cscart_companies AS companies  WHERE companies.company_id = 1 

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • include(/home/bostir/public_html/init.php) /home/bostir/public_html/index.php:24
  • fn_init() /home/bostir/public_html/init.php:177
  • fn_init_company_data() /home/bostir/public_html/app/functions/fn.init.php:1194
  • fn_get_company_data() /home/bostir/public_html/app/functions/fn.init.php:294
  • db_get_row() /home/bostir/public_html/app/functions/fn.companies.php:586
  • Tygh\Database\Connection::getRow() /home/bostir/public_html/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:388
0.00024 Re-run Backtrace
20
SELECT cscart_bm_layouts.* FROM cscart_bm_layouts  WHERE 1  AND is_default = 1 AND theme_name = 'bost_theme' AND storefront_id = 1

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • include(/home/bostir/public_html/init.php) /home/bostir/public_html/index.php:24
  • fn_init() /home/bostir/public_html/init.php:177
  • fn_init_layout() /home/bostir/public_html/app/functions/fn.init.php:1194
  • Tygh\BlockManager\Layout::getDefault() /home/bostir/public_html/app/functions/fn.init.php:639
  • db_get_row() /home/bostir/public_html/app/Tygh/BlockManager/Layout.php:95
  • Tygh\Database\Connection::getRow() /home/bostir/public_html/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:388
0.00021 Re-run Backtrace
21
SELECT data FROM cscart_storage_data WHERE data_key = 'cart_products_next_check'

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • include(/home/bostir/public_html/init.php) /home/bostir/public_html/index.php:24
  • fn_init() /home/bostir/public_html/init.php:177
  • fn_init_user() /home/bostir/public_html/app/functions/fn.init.php:1194
  • fn_login_user() /home/bostir/public_html/app/functions/fn.init.php:715
  • fn_init_user() /home/bostir/public_html/app/functions/fn.users.php:3322
  • fn_is_expired_storage_data() /home/bostir/public_html/app/functions/fn.init.php:747
  • fn_get_storage_data() /home/bostir/public_html/app/functions/fn.control.php:1036
  • db_get_row() /home/bostir/public_html/app/functions/fn.control.php:1018
  • Tygh\Database\Connection::getRow() /home/bostir/public_html/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:388
0.00020 Re-run Backtrace
22
SELECT data FROM cscart_storage_data WHERE data_key = 'dev_mode'

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • include(/home/bostir/public_html/init.php) /home/bostir/public_html/index.php:24
  • fn_init() /home/bostir/public_html/init.php:177
  • fn_init_templater() /home/bostir/public_html/app/functions/fn.init.php:1194
  • Tygh\Development::isEnabled() /home/bostir/public_html/app/functions/fn.init.php:116
  • Tygh\Development::read() /home/bostir/public_html/app/Tygh/Development.php:28
  • fn_get_storage_data() /home/bostir/public_html/app/Tygh/Development.php:81
  • db_get_row() /home/bostir/public_html/app/functions/fn.control.php:1018
  • Tygh\Database\Connection::getRow() /home/bostir/public_html/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:388
0.00029 Re-run Backtrace
23
SELECT * FROM cscart_bm_layouts WHERE 1  AND storefront_id = 1 AND layout_id = 3

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/init.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • Tygh\BlockManager\Location::instance() /home/bostir/public_html/app/controllers/frontend/init.php:142
  • Tygh\BlockManager\Layout::get() /home/bostir/public_html/app/Tygh/BlockManager/Location.php:456
  • db_get_row() /home/bostir/public_html/app/Tygh/BlockManager/Layout.php:61
  • Tygh\Database\Connection::getRow() /home/bostir/public_html/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:388
0.00024 Re-run Backtrace
24
SELECT * FROM cscart_bm_locations as l LEFT JOIN cscart_bm_locations_descriptions as d ON d.location_id = l.location_id AND d.lang_code = 'fa' WHERE l.layout_id = 3  AND l.dispatch IN ('products.view') AND (FIND_IN_SET(1026, l.object_ids) OR l.object_ids = '')  ORDER BY l.object_ids desc  LIMIT 1

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/init.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • Tygh\BlockManager\Location::get() /home/bostir/public_html/app/controllers/frontend/init.php:142
  • Tygh\BlockManager\Location::getList() /home/bostir/public_html/app/Tygh/BlockManager/Location.php:159
  • db_get_hash_array() /home/bostir/public_html/app/Tygh/BlockManager/Location.php:95
  • Tygh\Database\Connection::getHash() /home/bostir/public_html/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:345
0.00031 Re-run Backtrace
25
SELECT usergroup_ids FROM cscart_products WHERE product_id = 1026

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • db_get_field() /home/bostir/public_html/app/controllers/frontend/products.php:84
  • Tygh\Database\Connection::getField() /home/bostir/public_html/app/functions/fn.database.php:73
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:422
0.00018 Re-run Backtrace
26
SELECT category_id FROM cscart_products_categories WHERE product_id = 1026 AND link_type = 'M'

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_get_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:103
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.products.php:239
  • fn_bestsellers_get_product_data() /home/bostir/public_html/app/functions/fn.control.php:123
  • db_get_field() /home/bostir/public_html/app/addons/bestsellers/func.php:243
  • Tygh\Database\Connection::getField() /home/bostir/public_html/app/functions/fn.database.php:73
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:422
0.00018 Re-run Backtrace
27
SELECT storefronts.* FROM cscart_storefronts AS storefronts  WHERE 1 = 1 AND storefronts.is_default IN ('Y') GROUP BY storefronts.storefront_id   ORDER BY storefronts.is_default desc 

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_get_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:103
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.products.php:239
  • fn_seo_get_product_data() /home/bostir/public_html/app/functions/fn.control.php:123
  • fn_get_corrected_seo_lang_code() /home/bostir/public_html/app/addons/seo/func.php:2089
  • fn_seo_get_default_storefront_lang_code() /home/bostir/public_html/app/addons/seo/func.php:338
  • Tygh\Storefront\Repository::findDefault() /home/bostir/public_html/app/addons/seo/func.php:357
  • Tygh\Storefront\Repository::find() /home/bostir/public_html/app/Tygh/Storefront/Repository.php:187
  • Tygh\Database\Connection::getHash() /home/bostir/public_html/app/Tygh/Storefront/Repository.php:362
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:345
0.00017 Re-run Backtrace
28
SELECT cscart_products.*, cscart_product_descriptions.*, MIN(IF(cscart_product_prices.percentage_discount = 0, cscart_product_prices.price, cscart_product_prices.price - (cscart_product_prices.price * cscart_product_prices.percentage_discount)/100)) as price, GROUP_CONCAT( CASE   WHEN (cscart_products_categories.link_type = 'M') THEN CONCAT(cscart_products_categories.category_id, 'M')   ELSE cscart_products_categories.category_id END ORDER BY cscart_categories.company_id = 1 DESC, (cscart_products_categories.link_type = 'M') DESC, cscart_products_categories.category_position ASC, cscart_products_categories.category_id ASC) as category_ids, popularity.total as popularity, IF(shared_prices.product_id IS NOT NULL,MIN(IF(shared_prices.percentage_discount = 0, shared_prices.price, shared_prices.price - (shared_prices.price * shared_prices.percentage_discount)/100)),MIN(IF(cscart_product_prices.percentage_discount = 0, cscart_product_prices.price, cscart_product_prices.price - (cscart_product_prices.price * cscart_product_prices.percentage_discount)/100))) as price, companies.company as company_name, cscart_product_sales.amount as sales_amount, cscart_seo_names.name as seo_name, cscart_seo_names.path as seo_path, cscart_discussion.type as discussion_type FROM cscart_products LEFT JOIN cscart_product_prices ON cscart_product_prices.product_id = cscart_products.product_id AND cscart_product_prices.lower_limit = 1  AND cscart_product_prices.usergroup_id IN (0, 0, 1)  LEFT JOIN cscart_product_descriptions ON cscart_product_descriptions.product_id = cscart_products.product_id AND cscart_product_descriptions.lang_code = 'fa' LEFT JOIN cscart_ult_product_prices shared_prices ON shared_prices.product_id = cscart_products.product_id AND shared_prices.company_id = 1 AND shared_prices.lower_limit = 1  AND shared_prices.usergroup_id IN (0, 0, 1) LEFT JOIN cscart_companies as companies ON companies.company_id = cscart_products.company_id INNER JOIN cscart_products_categories ON cscart_products_categories.product_id = cscart_products.product_id INNER JOIN cscart_categories ON cscart_categories.category_id = cscart_products_categories.category_id  AND cscart_categories.company_id = 1 AND (cscart_categories.usergroup_ids = '' OR FIND_IN_SET(0, cscart_categories.usergroup_ids) OR FIND_IN_SET(1, cscart_categories.usergroup_ids)) AND (cscart_products.usergroup_ids = '' OR FIND_IN_SET(0, cscart_products.usergroup_ids) OR FIND_IN_SET(1, cscart_products.usergroup_ids)) AND cscart_categories.status IN ('A', 'H') AND cscart_products.status IN ('A', 'H') LEFT JOIN cscart_product_popularity as popularity ON popularity.product_id = cscart_products.product_id LEFT JOIN cscart_product_sales ON cscart_product_sales.product_id = cscart_products.product_id AND cscart_product_sales.category_id = 319 LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = 1026 AND cscart_seo_names.type = 'p' AND cscart_seo_names.dispatch = '' AND cscart_seo_names.lang_code = 'fa' AND cscart_seo_names.company_id = 1 LEFT JOIN cscart_discussion ON cscart_discussion.object_id = cscart_products.product_id AND cscart_discussion.object_type = 'P' AND cscart_discussion.company_id = 1 WHERE cscart_products.product_id = 1026  AND (companies.status IN ('A') OR cscart_products.company_id = 0) GROUP BY cscart_products.product_id

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_get_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:103
  • db_get_row() /home/bostir/public_html/app/functions/fn.products.php:254
  • Tygh\Database\Connection::getRow() /home/bostir/public_html/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:388
0.00255 Re-run Backtrace
29
SELECT cscart_images.*, cscart_images_links.*, cscart_common_descriptions.description AS alt, cscart_images.image_id AS images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'fa' WHERE cscart_images_links.object_type = 'product' AND cscart_images_links.type = 'A' AND cscart_images_links.object_id = '1026' ORDER BY cscart_images_links.position, cscart_images_links.pair_id;SELECT cscart_images.*, cscart_images_links.*, cscart_common_descriptions.description AS alt, cscart_images.image_id AS images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'fa' WHERE cscart_images_links.object_type = 'product' AND cscart_images_links.type = 'A' AND cscart_images_links.object_id = '1026' ORDER BY cscart_images_links.position, cscart_images_links.pair_id

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_get_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:103
  • fn_get_image_pairs() /home/bostir/public_html/app/functions/fn.products.php:317
  • db_multi_query() /home/bostir/public_html/app/functions/fn.images.php:344
  • Tygh\Database\Connection::multiQuery() /home/bostir/public_html/app/functions/fn.database.php:168
0.00083 Re-run Backtrace
30
SELECT cscart_images.*, cscart_images_links.*, cscart_common_descriptions.description AS alt, cscart_images.image_id AS images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'fa' WHERE cscart_images_links.object_type = 'product' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id = '1026' ORDER BY cscart_images_links.position, cscart_images_links.pair_id;SELECT cscart_images.*, cscart_images_links.*, cscart_common_descriptions.description AS alt, cscart_images.image_id AS images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'fa' WHERE cscart_images_links.object_type = 'product' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id = '1026' ORDER BY cscart_images_links.position, cscart_images_links.pair_id

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_get_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:103
  • fn_get_image_pairs() /home/bostir/public_html/app/functions/fn.products.php:322
  • db_multi_query() /home/bostir/public_html/app/functions/fn.images.php:344
  • Tygh\Database\Connection::multiQuery() /home/bostir/public_html/app/functions/fn.database.php:168
0.00068 Re-run Backtrace
31
SELECT prices.product_id, prices.lower_limit, usergroup_id, prices.percentage_discount, IF(prices.percentage_discount = 0, prices.price, prices.price - (prices.price * prices.percentage_discount)/100) as price FROM cscart_product_prices prices WHERE prices.product_id = 1026  AND lower_limit > 1 AND prices.usergroup_id IN (0, 0, 1) ORDER BY lower_limit

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_get_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:103
  • fn_get_product_prices() /home/bostir/public_html/app/functions/fn.products.php:330
  • db_get_hash_multi_array() /home/bostir/public_html/app/functions/fn.products.php:3183
  • Tygh\Database\Connection::getMultiHash() /home/bostir/public_html/app/functions/fn.database.php:98
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:500
0.00036 Re-run Backtrace
32
SELECT c.company_id FROM cscart_products_categories pc LEFT JOIN cscart_categories c ON c.category_id = pc.category_id WHERE pc.product_id = 1026  GROUP BY c.company_id LIMIT 2

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_get_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:103
  • fn_ult_is_shared_product() /home/bostir/public_html/app/functions/fn.products.php:334
  • db_get_fields() /home/bostir/public_html/app/functions/fn.ultimate.php:1674
  • Tygh\Database\Connection::getColumn() /home/bostir/public_html/app/functions/fn.database.php:85
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:454
0.00016 Re-run Backtrace
33
SELECT id_path FROM cscart_categories WHERE category_id IN (319)

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_get_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:103
  • fn_get_category_ids_with_parent() /home/bostir/public_html/app/functions/fn.products.php:339
  • db_get_fields() /home/bostir/public_html/app/functions/fn.categories.php:1972
  • Tygh\Database\Connection::getColumn() /home/bostir/public_html/app/functions/fn.database.php:85
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:454
0.00017 Re-run Backtrace
34
SELECT pf.feature_id, pf.company_id, pf.feature_type, pf.parent_id, pf.display_on_product, pf.display_on_catalog, pf.display_on_header, cscart_product_features_descriptions.description, cscart_product_features_descriptions.internal_name, cscart_product_features_descriptions.lang_code, cscart_product_features_descriptions.prefix, cscart_product_features_descriptions.suffix, pf.categories_path, cscart_product_features_descriptions.full_description, pf.status, pf.comparison, pf.position, pf.purpose, pf.feature_style, pf.filter_style, pf.feature_code, pf.timestamp, pf.updated_timestamp, pf_groups.position AS group_position, cscart_product_features_values.value, cscart_product_features_values.variant_id, cscart_product_features_values.value_int FROM cscart_product_features AS pf  LEFT JOIN cscart_product_features AS pf_groups ON pf.parent_id = pf_groups.feature_id LEFT JOIN cscart_product_features_descriptions AS pf_groups_description ON pf_groups_description.feature_id = pf.parent_id AND pf_groups_description.lang_code = 'fa' LEFT JOIN cscart_product_features_descriptions ON cscart_product_features_descriptions.feature_id = pf.feature_id AND cscart_product_features_descriptions.lang_code = 'fa' INNER JOIN cscart_product_features_values ON cscart_product_features_values.feature_id = pf.feature_id AND cscart_product_features_values.product_id = 1026 AND cscart_product_features_values.lang_code = 'fa' INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = pf.feature_id AND cscart_ult_objects_sharing.share_company_id = 1 AND cscart_ult_objects_sharing.share_object_type = 'product_features') WHERE 1  AND pf.feature_type != 'G' AND pf.status IN ('A') AND (pf_groups.status IN ('A') OR pf_groups.status IS NULL) AND pf.display_on_product = 'Y' AND ( pf.categories_path = '' OR ISNULL(pf.categories_path)OR FIND_IN_SET(331, pf.categories_path) OR FIND_IN_SET(319, pf.categories_path) ) GROUP BY pf.feature_id ORDER BY group_position, pf_groups_description.description, pf_groups.feature_id, pf.position, cscart_product_features_descriptions.description, pf.feature_id 

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_get_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:103
  • fn_get_product_features() /home/bostir/public_html/app/functions/fn.products.php:352
  • db_get_hash_array() /home/bostir/public_html/app/functions/fn.features.php:523
  • Tygh\Database\Connection::getHash() /home/bostir/public_html/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:345
0.00034 Re-run Backtrace
35
SELECT cscart_product_feature_variant_descriptions.variant, cscart_product_feature_variants.variant_id, cscart_product_feature_variants.feature_id, cscart_product_features_values.variant_id as selected, cscart_product_features.feature_type, cscart_seo_names.name as seo_name, cscart_seo_names.path as seo_path FROM cscart_product_feature_variants  LEFT JOIN cscart_product_feature_variant_descriptions ON cscart_product_feature_variant_descriptions.variant_id = cscart_product_feature_variants.variant_id AND cscart_product_feature_variant_descriptions.lang_code = 'fa' INNER JOIN cscart_product_features_values ON cscart_product_features_values.variant_id = cscart_product_feature_variants.variant_id AND cscart_product_features_values.lang_code = 'fa' AND cscart_product_features_values.product_id = 1026 LEFT JOIN cscart_product_features ON cscart_product_features.feature_id = cscart_product_feature_variants.feature_id LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = cscart_product_feature_variants.variant_id AND cscart_seo_names.type = 'e' AND cscart_seo_names.dispatch = '' AND cscart_seo_names.lang_code = 'fa'  AND ( cscart_seo_names.company_id = 1 OR cscart_seo_names.company_id = 0) WHERE 1  AND cscart_product_feature_variants.feature_id IN (3588, 2980, 2979, 3067, 2976, 2975, 2974, 2970, 3272, 2965, 2996, 2988, 2995, 2994, 2992, 2999, 2991, 3000, 3370, 2998, 2997, 2989, 2993, 2990, 3579, 2987, 3011, 3014, 3013, 3021, 3027, 3017, 3019, 3012, 3023, 3025, 3024, 3022, 3026, 3018, 3020, 3016, 3015, 3071, 3010, 3048, 3051, 3050, 3049, 3047, 3052, 3045, 3046, 3053, 3372, 3044, 3371, 3373, 3043, 3376, 3006, 3561, 3003, 3068, 3002, 3005, 3004, 3069, 3008, 3007, 3070, 3442, 3377, 3573, 2968, 3072, 3073, 3575, 3576, 3577, 3578, 2981, 2977, 2972, 2983, 2985, 2984)  GROUP BY cscart_product_feature_variants.variant_id ORDER BY cscart_product_feature_variants.position, cscart_product_feature_variant_descriptions.variant 

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_get_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:103
  • fn_get_product_features() /home/bostir/public_html/app/functions/fn.products.php:352
  • fn_get_product_feature_variants() /home/bostir/public_html/app/functions/fn.features.php:599
  • db_get_hash_array() /home/bostir/public_html/app/functions/fn.features.php:1203
  • Tygh\Database\Connection::getHash() /home/bostir/public_html/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:345
0.00024 Re-run Backtrace
36
SELECT cscart_images.*, cscart_images_links.*, cscart_common_descriptions.description AS alt, cscart_images.image_id AS images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'fa' WHERE cscart_images_links.object_type = 'feature_variant' AND cscart_images_links.type = 'V' AND cscart_images_links.object_id IN (9710, 7932, 8597, 7821, 7822, 7808, 8584, 8701, 7835, 7803, 7791, 7797, 7805, 7806, 7815, 7811, 8697, 9709, 7818, 7784, 7773, 7804, 9789, 8256, 8682, 8692, 8253, 7850, 8699, 8257, 7830, 9791, 8683, 8700, 8698, 9717, 7788, 7828, 7793, 8632, 7819, 7789, 7848, 7777, 8750, 7782, 7816, 9755, 7847, 8595, 8591, 8587, 8590, 8589, 8593, 8588, 8594, 8601, 8630, 8629, 8627, 8625, 8623, 8624, 8621, 8596, 8592, 8599, 8598, 8617, 7813, 7779, 9719, 8600, 8616, 8620, 8619, 9708, 8631, 9704, 9705, 8628, 8618, 7800, 8626, 8586, 8585) ORDER BY cscart_images_links.position, cscart_images_links.pair_id;SELECT cscart_images.*, cscart_images_links.*, cscart_common_descriptions.description AS alt, cscart_images.image_id AS images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'fa' WHERE cscart_images_links.object_type = 'feature_variant' AND cscart_images_links.type = 'V' AND cscart_images_links.object_id IN (9710, 7932, 8597, 7821, 7822, 7808, 8584, 8701, 7835, 7803, 7791, 7797, 7805, 7806, 7815, 7811, 8697, 9709, 7818, 7784, 7773, 7804, 9789, 8256, 8682, 8692, 8253, 7850, 8699, 8257, 7830, 9791, 8683, 8700, 8698, 9717, 7788, 7828, 7793, 8632, 7819, 7789, 7848, 7777, 8750, 7782, 7816, 9755, 7847, 8595, 8591, 8587, 8590, 8589, 8593, 8588, 8594, 8601, 8630, 8629, 8627, 8625, 8623, 8624, 8621, 8596, 8592, 8599, 8598, 8617, 7813, 7779, 9719, 8600, 8616, 8620, 8619, 9708, 8631, 9704, 9705, 8628, 8618, 7800, 8626, 8586, 8585) ORDER BY cscart_images_links.position, cscart_images_links.pair_id

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_get_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:103
  • fn_get_product_features() /home/bostir/public_html/app/functions/fn.products.php:352
  • fn_get_product_feature_variants() /home/bostir/public_html/app/functions/fn.features.php:599
  • fn_get_image_pairs() /home/bostir/public_html/app/functions/fn.features.php:1207
  • db_multi_query() /home/bostir/public_html/app/functions/fn.images.php:344
  • Tygh\Database\Connection::multiQuery() /home/bostir/public_html/app/functions/fn.database.php:168
0.00203 Re-run Backtrace
37
SELECT feature_id FROM cscart_product_features INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = cscart_product_features.feature_id AND cscart_ult_objects_sharing.share_company_id = 1 AND cscart_ult_objects_sharing.share_object_type = 'product_features') WHERE feature_id IN (3588, 2980, 2979, 3067, 2976, 2975, 2974, 2970, 3272, 2965, 2996, 2988, 2995, 2994, 2992, 2999, 2991, 3000, 3370, 2998, 2997, 2989, 2993, 2990, 3579, 2987, 3011, 3014, 3013, 3021, 3027, 3017, 3019, 3012, 3023, 3025, 3024, 3022, 3026, 3018, 3020, 3016, 3015, 3071, 3010, 3048, 3051, 3050, 3049, 3047, 3052, 3045, 3046, 3053, 3372, 3044, 3371, 3373, 3043, 3376, 3006, 3561, 3003, 3068, 3002, 3005, 3004, 3069, 3008, 3007, 3070, 3442, 3377, 3573, 2968, 3072, 3073, 3575, 3576, 3577, 3578, 2981, 2977, 2972, 2983, 2985, 2984) AND feature_type = 'E' 

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_get_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:103
  • fn_get_product_features() /home/bostir/public_html/app/functions/fn.products.php:352
  • fn_get_product_feature_variants() /home/bostir/public_html/app/functions/fn.features.php:599
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.features.php:1222
  • fn_seo_get_product_feature_variants_post() /home/bostir/public_html/app/functions/fn.control.php:123
  • db_get_fields() /home/bostir/public_html/app/addons/seo/func.php:2693
  • Tygh\Database\Connection::getColumn() /home/bostir/public_html/app/functions/fn.database.php:85
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:454
0.00030 Re-run Backtrace
38
SELECT pf.feature_id, pf.company_id, pf.feature_type, pf.parent_id, pf.display_on_product, pf.display_on_catalog, pf.display_on_header, cscart_product_features_descriptions.description, cscart_product_features_descriptions.internal_name, cscart_product_features_descriptions.lang_code, cscart_product_features_descriptions.prefix, cscart_product_features_descriptions.suffix, pf.categories_path, cscart_product_features_descriptions.full_description, pf.status, pf.comparison, pf.position, pf.purpose, pf.feature_style, pf.filter_style, pf.feature_code, pf.timestamp, pf.updated_timestamp FROM cscart_product_features AS pf LEFT JOIN cscart_product_features_descriptions ON cscart_product_features_descriptions.feature_id = pf.feature_id AND cscart_product_features_descriptions.lang_code = 'fa' INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = pf.feature_id AND cscart_ult_objects_sharing.share_company_id = 1 AND cscart_ult_objects_sharing.share_object_type = 'product_features') WHERE pf.feature_type = 'G' AND (pf.feature_id IN (2978, 2973, 2964, 3054, 2986, 3009, 3042, 3001, 3055, 2967, 3028, 3574, 2971, 2982) OR pf.feature_id NOT IN (SELECT parent_id FROM cscart_product_features))  AND pf.display_on_product = 'Y' AND ( pf.categories_path = '' OR ISNULL(pf.categories_path)OR FIND_IN_SET(331, pf.categories_path) OR FIND_IN_SET(319, pf.categories_path) ) ORDER BY pf.position, cscart_product_features_descriptions.description

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_get_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:103
  • fn_get_product_features() /home/bostir/public_html/app/functions/fn.products.php:352
  • db_get_hash_array() /home/bostir/public_html/app/functions/fn.features.php:641
  • Tygh\Database\Connection::getHash() /home/bostir/public_html/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:345
0.00025 Re-run Backtrace
39
SELECT v.feature_id,         v.value,         v.value_int,         v.variant_id,         f.feature_type,         fd.description,         fd.prefix,         fd.suffix,         vd.variant,         f.parent_id,         f.position,         gf.position as gposition,         f.display_on_header,         f.display_on_catalog,         f.display_on_product,         f.feature_code,         f.purpose FROM cscart_product_features as f LEFT JOIN cscart_product_features_values as v ON v.feature_id = f.feature_id  LEFT JOIN cscart_product_features_descriptions as fd ON fd.feature_id = v.feature_id AND fd.lang_code = 'fa' LEFT JOIN cscart_product_feature_variants fv ON fv.variant_id = v.variant_id LEFT JOIN cscart_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id AND vd.lang_code = 'fa' LEFT JOIN cscart_product_features as gf ON gf.feature_id = f.parent_id AND gf.feature_type = 'G' INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = f.feature_id AND cscart_ult_objects_sharing.share_company_id = 1 AND cscart_ult_objects_sharing.share_object_type = 'product_features') WHERE f.status IN ('A') AND v.product_id = 1026  AND f.display_on_header = 'Y' AND ( f.categories_path = '' OR FIND_IN_SET(331, f.categories_path) OR FIND_IN_SET(319, f.categories_path) ) AND IF(f.parent_id, (SELECT status FROM cscart_product_features as df WHERE df.feature_id = f.parent_id), 'A') IN ('A') AND ( v.variant_id != 0 OR (f.feature_type != 'C' AND v.value != '') OR (f.feature_type = 'C') OR v.value_int != '') AND v.lang_code = 'fa' ORDER BY fd.description, fv.position

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_get_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:103
  • fn_get_product_features_list() /home/bostir/public_html/app/functions/fn.products.php:355
  • db_get_array() /home/bostir/public_html/app/functions/fn.features.php:927
  • Tygh\Database\Connection::getArray() /home/bostir/public_html/app/functions/fn.database.php:35
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:307
0.00023 Re-run Backtrace
40
SELECT filter_id, feature_id FROM cscart_product_filters INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = cscart_product_filters.filter_id AND cscart_ult_objects_sharing.share_company_id = 1 AND cscart_ult_objects_sharing.share_object_type = 'product_filters') WHERE status = 'A' 

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_get_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:103
  • fn_get_product_features_list() /home/bostir/public_html/app/functions/fn.products.php:355
  • db_get_hash_array() /home/bostir/public_html/app/functions/fn.features.php:938
  • Tygh\Database\Connection::getHash() /home/bostir/public_html/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:345
0.00016 Re-run Backtrace
41
SELECT cscart_images.*, cscart_images_links.*, cscart_common_descriptions.description AS alt, cscart_images.image_id AS images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'fa' WHERE cscart_images_links.object_type = 'feature_variant' AND cscart_images_links.type = 'V' AND cscart_images_links.object_id IN (8257, 8682) ORDER BY cscart_images_links.position, cscart_images_links.pair_id;SELECT cscart_images.*, cscart_images_links.*, cscart_common_descriptions.description AS alt, cscart_images.image_id AS images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'fa' WHERE cscart_images_links.object_type = 'feature_variant' AND cscart_images_links.type = 'V' AND cscart_images_links.object_id IN (8257, 8682) ORDER BY cscart_images_links.position, cscart_images_links.pair_id

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_get_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:103
  • fn_get_product_features_list() /home/bostir/public_html/app/functions/fn.products.php:355
  • fn_get_image_pairs() /home/bostir/public_html/app/functions/fn.features.php:973
  • db_multi_query() /home/bostir/public_html/app/functions/fn.images.php:344
  • Tygh\Database\Connection::multiQuery() /home/bostir/public_html/app/functions/fn.database.php:168
0.00107 Re-run Backtrace
42
SELECT c.company_id FROM cscart_products_categories pc LEFT JOIN cscart_categories c ON c.category_id = pc.category_id WHERE pc.product_id = 1026 GROUP BY c.company_id

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_get_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:103
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.products.php:372
  • fn_ult_get_product_data_post() /home/bostir/public_html/app/functions/fn.control.php:104
  • fn_ult_get_shared_product_companies() /home/bostir/public_html/app/functions/fn.ultimate.php:117
  • db_get_fields() /home/bostir/public_html/app/functions/fn.ultimate.php:1714
  • Tygh\Database\Connection::getColumn() /home/bostir/public_html/app/functions/fn.database.php:85
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:454
0.00031 Re-run Backtrace
43
SELECT SQL_CALC_FOUND_ROWS products.product_id, IF(shared_descr.product_id IS NOT NULL, shared_descr.product, descr1.product) as product, products.product_type, products.parent_product_id FROM cscart_products as products  LEFT JOIN cscart_product_descriptions as descr1 ON descr1.product_id = products.product_id AND descr1.lang_code = 'fa'  LEFT JOIN cscart_product_prices as prices ON prices.product_id = products.product_id AND prices.lower_limit = 1 INNER JOIN cscart_products_categories as products_categories ON products_categories.product_id = products.product_id INNER JOIN cscart_categories ON cscart_categories.category_id = products_categories.category_id  AND (cscart_categories.usergroup_ids = '' OR FIND_IN_SET(0, cscart_categories.usergroup_ids) OR FIND_IN_SET(1, cscart_categories.usergroup_ids)) AND cscart_categories.status IN ('A', 'H')   LEFT JOIN cscart_ult_product_descriptions shared_descr ON shared_descr.product_id = products.product_id  AND shared_descr.company_id = 1 AND shared_descr.lang_code = 'fa' LEFT JOIN cscart_product_required_products ON products.product_id = cscart_product_required_products.required_id WHERE 1  AND cscart_categories.company_id = 1 AND (products.usergroup_ids = '' OR FIND_IN_SET(0, products.usergroup_ids) OR FIND_IN_SET(1, products.usergroup_ids)) AND products.status IN ('A') AND prices.usergroup_id IN (0, 0, 1) AND cscart_product_required_products.product_id = 1026 GROUP BY products.product_id   ORDER BY products_categories.position asc, products.product_id ASC 

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_get_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:103
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.products.php:372
  • fn_required_products_get_product_data_post() /home/bostir/public_html/app/functions/fn.control.php:123
  • fn_get_products() /home/bostir/public_html/app/addons/required_products/func.php:35
  • {closure:/home/bostir/public_html/app/functions/fn.products.php:2239-2246}() /home/bostir/public_html/app/functions/fn.products.php:2323
  • db_get_array() /home/bostir/public_html/app/functions/fn.products.php:2240
  • Tygh\Database\Connection::getArray() /home/bostir/public_html/app/functions/fn.database.php:35
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:307
0.00024 Re-run Backtrace
44
SELECT meta_description, meta_keywords FROM cscart_category_descriptions WHERE category_id = 319 AND lang_code = 'fa'

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • db_get_row() /home/bostir/public_html/app/controllers/frontend/products.php:140
  • Tygh\Database\Connection::getRow() /home/bostir/public_html/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:388
0.00017 Re-run Backtrace
45
SELECT category_id, category FROM cscart_category_descriptions WHERE category_id IN (331, 319) AND lang_code = 'fa'

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_get_category_name() /home/bostir/public_html/app/controllers/frontend/products.php:154
  • db_get_hash_single_array() /home/bostir/public_html/app/functions/fn.categories.php:799
  • Tygh\Database\Connection::getSingleHash() /home/bostir/public_html/app/functions/fn.database.php:111
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:546
0.00015 Re-run Backtrace
46
SELECT cscart_images.*, cscart_images_links.*, cscart_common_descriptions.description AS alt, cscart_images.image_id AS images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'fa' WHERE cscart_images_links.object_type = 'product' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id IN (1026) ORDER BY cscart_images_links.position, cscart_images_links.pair_id;SELECT cscart_images.*, cscart_images_links.*, cscart_common_descriptions.description AS alt, cscart_images.image_id AS images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'fa' WHERE cscart_images_links.object_type = 'product' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id IN (1026) ORDER BY cscart_images_links.position, cscart_images_links.pair_id

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_gather_additional_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:166
  • fn_gather_additional_products_data() /home/bostir/public_html/app/functions/fn.products.php:962
  • fn_get_image_pairs() /home/bostir/public_html/app/functions/fn.products.php:606
  • db_multi_query() /home/bostir/public_html/app/functions/fn.images.php:344
  • Tygh\Database\Connection::multiQuery() /home/bostir/public_html/app/functions/fn.database.php:168
0.00079 Re-run Backtrace
47
SELECT a.*, b.option_name, b.internal_option_name, b.option_text, b.description, b.inner_hint, b.incorrect_message, b.comment FROM cscart_product_options as a  LEFT JOIN cscart_product_options_descriptions as b ON a.option_id = b.option_id AND b.lang_code = 'fa'  WHERE a.product_id IN (1026) AND a.status = 'A' ORDER BY a.position

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_gather_additional_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:166
  • fn_gather_additional_products_data() /home/bostir/public_html/app/functions/fn.products.php:962
  • fn_get_product_options() /home/bostir/public_html/app/functions/fn.products.php:619
  • db_get_hash_multi_array() /home/bostir/public_html/app/functions/fn.options.php:245
  • Tygh\Database\Connection::getMultiHash() /home/bostir/public_html/app/functions/fn.database.php:98
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:500
0.00033 Re-run Backtrace
48
SELECT c.product_id AS cur_product_id, a.*, b.option_name, b.internal_option_name, b.option_text, b.description, b.inner_hint, b.incorrect_message, b.comment FROM cscart_product_options as a LEFT JOIN cscart_product_options_descriptions as b ON a.option_id = b.option_id AND b.lang_code = 'fa' LEFT JOIN cscart_product_global_option_links as c ON c.option_id = a.option_id WHERE c.product_id IN (1026) AND a.product_id = 0 AND a.status = 'A' ORDER BY a.position

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_gather_additional_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:166
  • fn_gather_additional_products_data() /home/bostir/public_html/app/functions/fn.products.php:962
  • fn_get_product_options() /home/bostir/public_html/app/functions/fn.products.php:619
  • db_get_hash_multi_array() /home/bostir/public_html/app/functions/fn.options.php:256
  • Tygh\Database\Connection::getMultiHash() /home/bostir/public_html/app/functions/fn.database.php:98
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:500
0.00022 Re-run Backtrace
49
SELECT cscart_languages.* FROM cscart_languages  LEFT JOIN cscart_storefronts_languages AS storefronts_languages ON storefronts_languages.language_id = cscart_languages.lang_id WHERE 1 AND (storefronts_languages.storefront_id = 1 OR storefronts_languages.storefront_id IS NULL)   

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_gather_additional_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:166
  • fn_gather_additional_products_data() /home/bostir/public_html/app/functions/fn.products.php:962
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.products.php:639
  • Tygh\Addons\Loader::Tygh\Addons\{closure:/home/bostir/public_html/app/Tygh/Addons/Loader.php:145-153}() /home/bostir/public_html/app/functions/fn.control.php:123
  • call_user_func_array:{/home/bostir/public_html/app/Tygh/Addons/Loader.php:148}() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\HookHandlers\ProductsHookHandler::onGatherAdditionalProductsDataParams() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\ServiceProvider::getProductRepository() /home/bostir/public_html/app/addons/product_variations/src/HookHandlers/ProductsHookHandler.php:307
  • Tygh\Application::offsetGet() /home/bostir/public_html/app/addons/product_variations/src/ServiceProvider.php:167
  • Tygh\Application::offsetGet() /home/bostir/public_html/app/Tygh/Application.php:135
  • Tygh\Addons\ProductVariations\ServiceProvider::Tygh\Addons\ProductVariations\{closure:/home/bostir/public_html/app/addons/product_variations/src/ServiceProvider.php:64-72}() /home/bostir/public_html/app/lib/vendor/pimple/pimple/src/Pimple/Container.php:118
  • Tygh\Application::offsetGet() /home/bostir/public_html/app/addons/product_variations/src/ServiceProvider.php:70
  • Tygh\Application::offsetGet() /home/bostir/public_html/app/Tygh/Application.php:135
  • Tygh\Providers\CommonProvider::Tygh\Providers\{closure:/home/bostir/public_html/app/Tygh/Providers/CommonProvider.php:38-40}() /home/bostir/public_html/app/lib/vendor/pimple/pimple/src/Pimple/Container.php:118
  • Tygh\Languages\Languages::getAll() /home/bostir/public_html/app/Tygh/Providers/CommonProvider.php:39
  • db_get_hash_array() /home/bostir/public_html/app/Tygh/Languages/Languages.php:138
  • Tygh\Database\Connection::getHash() /home/bostir/public_html/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:345
0.00017 Re-run Backtrace
50
SELECT storefronts.* FROM cscart_storefronts AS storefronts LEFT JOIN cscart_storefronts_languages AS languages ON storefronts.storefront_id = languages.storefront_id WHERE 1 = 1 AND (languages.language_id IN ('1') ) GROUP BY storefronts.storefront_id   ORDER BY storefronts.is_default desc 

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_gather_additional_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:166
  • fn_gather_additional_products_data() /home/bostir/public_html/app/functions/fn.products.php:962
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.products.php:639
  • Tygh\Addons\Loader::Tygh\Addons\{closure:/home/bostir/public_html/app/Tygh/Addons/Loader.php:145-153}() /home/bostir/public_html/app/functions/fn.control.php:123
  • call_user_func_array:{/home/bostir/public_html/app/Tygh/Addons/Loader.php:148}() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\HookHandlers\ProductsHookHandler::onGatherAdditionalProductsDataParams() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\ServiceProvider::getProductRepository() /home/bostir/public_html/app/addons/product_variations/src/HookHandlers/ProductsHookHandler.php:307
  • Tygh\Application::offsetGet() /home/bostir/public_html/app/addons/product_variations/src/ServiceProvider.php:167
  • Tygh\Application::offsetGet() /home/bostir/public_html/app/Tygh/Application.php:135
  • Tygh\Addons\ProductVariations\ServiceProvider::Tygh\Addons\ProductVariations\{closure:/home/bostir/public_html/app/addons/product_variations/src/ServiceProvider.php:64-72}() /home/bostir/public_html/app/lib/vendor/pimple/pimple/src/Pimple/Container.php:118
  • Tygh\Application::offsetGet() /home/bostir/public_html/app/addons/product_variations/src/ServiceProvider.php:70
  • Tygh\Application::offsetGet() /home/bostir/public_html/app/Tygh/Application.php:135
  • Tygh\Providers\CommonProvider::Tygh\Providers\{closure:/home/bostir/public_html/app/Tygh/Providers/CommonProvider.php:38-40}() /home/bostir/public_html/app/lib/vendor/pimple/pimple/src/Pimple/Container.php:118
  • Tygh\Languages\Languages::getAll() /home/bostir/public_html/app/Tygh/Providers/CommonProvider.php:39
  • Tygh\Languages\Languages::afterFind() /home/bostir/public_html/app/Tygh/Languages/Languages.php:139
  • Tygh\Languages\Languages::attachStorefrontIds() /home/bostir/public_html/app/Tygh/Languages/Languages.php:1605
  • array_walk() /home/bostir/public_html/app/Tygh/Languages/Languages.php:1693
  • Tygh\Languages\Languages::Tygh\Languages\{closure:/home/bostir/public_html/app/Tygh/Languages/Languages.php:1685-1693}() /home/bostir/public_html/app/Tygh/Languages/Languages.php:1693
  • Tygh\Storefront\Repository::find() /home/bostir/public_html/app/Tygh/Languages/Languages.php:1690
  • Tygh\Database\Connection::getHash() /home/bostir/public_html/app/Tygh/Storefront/Repository.php:362
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:345
0.00015 Re-run Backtrace
51
SELECT storefronts.* FROM cscart_storefronts AS storefronts LEFT JOIN cscart_storefronts_languages AS languages ON storefronts.storefront_id = languages.storefront_id WHERE 1 = 1 AND (languages.language_id IN ('2') ) GROUP BY storefronts.storefront_id   ORDER BY storefronts.is_default desc 

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_gather_additional_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:166
  • fn_gather_additional_products_data() /home/bostir/public_html/app/functions/fn.products.php:962
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.products.php:639
  • Tygh\Addons\Loader::Tygh\Addons\{closure:/home/bostir/public_html/app/Tygh/Addons/Loader.php:145-153}() /home/bostir/public_html/app/functions/fn.control.php:123
  • call_user_func_array:{/home/bostir/public_html/app/Tygh/Addons/Loader.php:148}() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\HookHandlers\ProductsHookHandler::onGatherAdditionalProductsDataParams() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\ServiceProvider::getProductRepository() /home/bostir/public_html/app/addons/product_variations/src/HookHandlers/ProductsHookHandler.php:307
  • Tygh\Application::offsetGet() /home/bostir/public_html/app/addons/product_variations/src/ServiceProvider.php:167
  • Tygh\Application::offsetGet() /home/bostir/public_html/app/Tygh/Application.php:135
  • Tygh\Addons\ProductVariations\ServiceProvider::Tygh\Addons\ProductVariations\{closure:/home/bostir/public_html/app/addons/product_variations/src/ServiceProvider.php:64-72}() /home/bostir/public_html/app/lib/vendor/pimple/pimple/src/Pimple/Container.php:118
  • Tygh\Application::offsetGet() /home/bostir/public_html/app/addons/product_variations/src/ServiceProvider.php:70
  • Tygh\Application::offsetGet() /home/bostir/public_html/app/Tygh/Application.php:135
  • Tygh\Providers\CommonProvider::Tygh\Providers\{closure:/home/bostir/public_html/app/Tygh/Providers/CommonProvider.php:38-40}() /home/bostir/public_html/app/lib/vendor/pimple/pimple/src/Pimple/Container.php:118
  • Tygh\Languages\Languages::getAll() /home/bostir/public_html/app/Tygh/Providers/CommonProvider.php:39
  • Tygh\Languages\Languages::afterFind() /home/bostir/public_html/app/Tygh/Languages/Languages.php:139
  • Tygh\Languages\Languages::attachStorefrontIds() /home/bostir/public_html/app/Tygh/Languages/Languages.php:1605
  • array_walk() /home/bostir/public_html/app/Tygh/Languages/Languages.php:1693
  • Tygh\Languages\Languages::Tygh\Languages\{closure:/home/bostir/public_html/app/Tygh/Languages/Languages.php:1685-1693}() /home/bostir/public_html/app/Tygh/Languages/Languages.php:1693
  • Tygh\Storefront\Repository::find() /home/bostir/public_html/app/Tygh/Languages/Languages.php:1690
  • Tygh\Database\Connection::getHash() /home/bostir/public_html/app/Tygh/Storefront/Repository.php:362
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:345
0.00016 Re-run Backtrace
52
SELECT f.feature_id, f.purpose, p.product_id, p.parent_product_id, g.id, g.code FROM cscart_product_variation_group_features AS f INNER JOIN cscart_product_variation_groups AS g ON f.group_id = g.id INNER JOIN cscart_product_variation_group_products AS p ON f.group_id = p.group_id WHERE p.product_id IN (1026)

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_gather_additional_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:166
  • fn_gather_additional_products_data() /home/bostir/public_html/app/functions/fn.products.php:962
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.products.php:639
  • Tygh\Addons\Loader::Tygh\Addons\{closure:/home/bostir/public_html/app/Tygh/Addons/Loader.php:145-153}() /home/bostir/public_html/app/functions/fn.control.php:123
  • call_user_func_array:{/home/bostir/public_html/app/Tygh/Addons/Loader.php:148}() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\HookHandlers\ProductsHookHandler::onGatherAdditionalProductsDataParams() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\Product\Repository::loadProductsGroupInfo() /home/bostir/public_html/app/addons/product_variations/src/HookHandlers/ProductsHookHandler.php:310
  • Tygh\Addons\ProductVariations\Product\Group\Repository::findGroupInfoByProductIds() /home/bostir/public_html/app/addons/product_variations/src/Product/Repository.php:424
  • Tygh\Addons\ProductVariations\Tools\Query::select() /home/bostir/public_html/app/addons/product_variations/src/Product/Group/Repository.php:355
  • Tygh\Database\Connection::getArray() /home/bostir/public_html/app/addons/product_variations/src/Tools/Query.php:310
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:307
0.00019 Re-run Backtrace
53
SELECT pf.feature_id, pf.feature_style, pf.position, pf.purpose, pf.display_on_catalog, pfd.description, pfd.internal_name, pfd.prefix, pfd.suffix, (CASE WHEN pf.purpose = 'group_catalog_item' THEN 0 ELSE 1 END) AS purpose_position FROM cscart_product_features AS pf INNER JOIN cscart_product_features_descriptions AS pfd ON pf.feature_id = pfd.feature_id AND pfd.lang_code = 'fa' WHERE pf.feature_id IN (3588) ORDER BY purpose_position ASC, pf.position ASC, pf.feature_id ASC

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_gather_additional_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:166
  • fn_gather_additional_products_data() /home/bostir/public_html/app/functions/fn.products.php:962
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.products.php:639
  • Tygh\Addons\Loader::Tygh\Addons\{closure:/home/bostir/public_html/app/Tygh/Addons/Loader.php:145-153}() /home/bostir/public_html/app/functions/fn.control.php:123
  • call_user_func_array:{/home/bostir/public_html/app/Tygh/Addons/Loader.php:148}() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\HookHandlers\ProductsHookHandler::onGatherAdditionalProductsDataParams() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\Product\Repository::loadProductsGroupInfo() /home/bostir/public_html/app/addons/product_variations/src/HookHandlers/ProductsHookHandler.php:310
  • Tygh\Addons\ProductVariations\Product\Repository::loadProductsFeatures() /home/bostir/public_html/app/addons/product_variations/src/Product/Repository.php:446
  • Tygh\Addons\ProductVariations\Product\Repository::findFeatures() /home/bostir/public_html/app/addons/product_variations/src/Product/Repository.php:526
  • Tygh\Addons\ProductVariations\Tools\Query::executeWithoutSharing() /home/bostir/public_html/app/addons/product_variations/src/Product/Repository.php:307
  • call_user_func:{/home/bostir/public_html/app/addons/product_variations/src/Tools/Query.php:397}() /home/bostir/public_html/app/addons/product_variations/src/Tools/Query.php:397
  • Tygh\Addons\ProductVariations\Product\Repository::Tygh\Addons\ProductVariations\Product\{closure:/home/bostir/public_html/app/addons/product_variations/src/Product/Repository.php:305-307}() /home/bostir/public_html/app/addons/product_variations/src/Tools/Query.php:397
  • Tygh\Addons\ProductVariations\Tools\Query::select() /home/bostir/public_html/app/addons/product_variations/src/Product/Repository.php:306
  • Tygh\Database\Connection::getHash() /home/bostir/public_html/app/addons/product_variations/src/Tools/Query.php:268
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:345
0.00019 Re-run Backtrace
54
SELECT pfv.feature_id, pfv.product_id, pfv.variant_id, fv.position, fvd.variant FROM cscart_product_features_values AS pfv INNER JOIN cscart_product_feature_variants AS fv ON pfv.feature_id = fv.feature_id AND pfv.variant_id = fv.variant_id INNER JOIN cscart_product_feature_variant_descriptions AS fvd ON pfv.variant_id = fvd.variant_id AND fvd.lang_code = 'fa' WHERE pfv.feature_id IN (3588) AND pfv.product_id IN (1026) AND pfv.lang_code = 'fa'

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_gather_additional_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:166
  • fn_gather_additional_products_data() /home/bostir/public_html/app/functions/fn.products.php:962
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.products.php:639
  • Tygh\Addons\Loader::Tygh\Addons\{closure:/home/bostir/public_html/app/Tygh/Addons/Loader.php:145-153}() /home/bostir/public_html/app/functions/fn.control.php:123
  • call_user_func_array:{/home/bostir/public_html/app/Tygh/Addons/Loader.php:148}() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\HookHandlers\ProductsHookHandler::onGatherAdditionalProductsDataParams() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\Product\Repository::loadProductsGroupInfo() /home/bostir/public_html/app/addons/product_variations/src/HookHandlers/ProductsHookHandler.php:310
  • Tygh\Addons\ProductVariations\Product\Repository::loadProductsFeatures() /home/bostir/public_html/app/addons/product_variations/src/Product/Repository.php:446
  • Tygh\Addons\ProductVariations\Tools\Query::select() /home/bostir/public_html/app/addons/product_variations/src/Product/Repository.php:564
  • Tygh\Database\Connection::getMultiHash() /home/bostir/public_html/app/addons/product_variations/src/Tools/Query.php:274
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:500
0.00016 Re-run Backtrace
55
SELECT SQL_CALC_FOUND_ROWS products.product_id, IF(shared_descr.product_id IS NOT NULL, shared_descr.product, descr1.product) as product, variation_group_products.group_id AS variation_group_id, products.product_type, products.parent_product_id FROM cscart_products as products  LEFT JOIN cscart_product_descriptions as descr1 ON descr1.product_id = products.product_id AND descr1.lang_code = 'fa'  INNER JOIN cscart_products_categories as products_categories ON products_categories.product_id = products.product_id INNER JOIN cscart_categories ON cscart_categories.category_id = products_categories.category_id  AND (cscart_categories.usergroup_ids = '' OR FIND_IN_SET(0, cscart_categories.usergroup_ids) OR FIND_IN_SET(1, cscart_categories.usergroup_ids)) AND cscart_categories.status IN ('A', 'H')   LEFT JOIN cscart_ult_product_descriptions shared_descr ON shared_descr.product_id = products.product_id  AND shared_descr.company_id = 1 AND shared_descr.lang_code = 'fa' INNER JOIN cscart_product_variation_group_products AS variation_group_products ON variation_group_products.product_id = products.product_id WHERE 1  AND cscart_categories.company_id = 1 AND (products.usergroup_ids = '' OR FIND_IN_SET(0, products.usergroup_ids) OR FIND_IN_SET(1, products.usergroup_ids)) AND products.status IN ('A') AND variation_group_products.group_id IN (86) GROUP BY products.product_id   ORDER BY NULL asc 

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_gather_additional_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:166
  • fn_gather_additional_products_data() /home/bostir/public_html/app/functions/fn.products.php:962
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.products.php:639
  • Tygh\Addons\Loader::Tygh\Addons\{closure:/home/bostir/public_html/app/Tygh/Addons/Loader.php:145-153}() /home/bostir/public_html/app/functions/fn.control.php:123
  • call_user_func_array:{/home/bostir/public_html/app/Tygh/Addons/Loader.php:148}() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\HookHandlers\ProductsHookHandler::onGatherAdditionalProductsDataParams() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\Product\Repository::loadProductsFeaturesVariants() /home/bostir/public_html/app/addons/product_variations/src/HookHandlers/ProductsHookHandler.php:314
  • Tygh\Addons\ProductVariations\Product\Repository::findVariationProductsByProductCollection() /home/bostir/public_html/app/addons/product_variations/src/Product/Repository.php:628
  • Tygh\Addons\ProductVariations\Product\Repository::findProductsByParams() /home/bostir/public_html/app/addons/product_variations/src/Product/Repository.php:194
  • fn_get_products() /home/bostir/public_html/app/addons/product_variations/src/Product/Repository.php:166
  • {closure:/home/bostir/public_html/app/functions/fn.products.php:2239-2246}() /home/bostir/public_html/app/functions/fn.products.php:2323
  • db_get_array() /home/bostir/public_html/app/functions/fn.products.php:2240
  • Tygh\Database\Connection::getArray() /home/bostir/public_html/app/functions/fn.database.php:35
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:307
0.00019 Re-run Backtrace
56
SELECT pfv.feature_id, pfv.product_id, pfv.variant_id, gp.group_id FROM cscart_product_features_values AS pfv INNER JOIN cscart_product_variation_group_products AS gp ON pfv.product_id = gp.product_id INNER JOIN cscart_product_variation_group_features AS gpf ON gpf.group_id = gp.group_id AND gpf.feature_id = pfv.feature_id WHERE pfv.lang_code = 'fa' AND gp.group_id IN (86)

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_gather_additional_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:166
  • fn_gather_additional_products_data() /home/bostir/public_html/app/functions/fn.products.php:962
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.products.php:639
  • Tygh\Addons\Loader::Tygh\Addons\{closure:/home/bostir/public_html/app/Tygh/Addons/Loader.php:145-153}() /home/bostir/public_html/app/functions/fn.control.php:123
  • call_user_func_array:{/home/bostir/public_html/app/Tygh/Addons/Loader.php:148}() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\HookHandlers\ProductsHookHandler::onGatherAdditionalProductsDataParams() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\Product\Repository::loadProductsFeaturesVariants() /home/bostir/public_html/app/addons/product_variations/src/HookHandlers/ProductsHookHandler.php:314
  • Tygh\Addons\ProductVariations\Product\Repository::findVariationProductsByProductCollection() /home/bostir/public_html/app/addons/product_variations/src/Product/Repository.php:628
  • Tygh\Addons\ProductVariations\Product\Group\Repository::findGroupProductsFeaturesValues() /home/bostir/public_html/app/addons/product_variations/src/Product/Repository.php:201
  • Tygh\Addons\ProductVariations\Tools\Query::select() /home/bostir/public_html/app/addons/product_variations/src/Product/Group/Repository.php:399
  • Tygh\Database\Connection::getMultiHash() /home/bostir/public_html/app/addons/product_variations/src/Tools/Query.php:274
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:500
0.00016 Re-run Backtrace
57
SELECT pfv.variant_id, pfv.position, pfvd.variant FROM cscart_product_feature_variants AS pfv INNER JOIN cscart_product_feature_variant_descriptions AS pfvd ON pfv.variant_id = pfvd.variant_id AND pfvd.lang_code = 'fa' WHERE pfv.variant_id IN (9755)

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_gather_additional_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:166
  • fn_gather_additional_products_data() /home/bostir/public_html/app/functions/fn.products.php:962
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.products.php:639
  • Tygh\Addons\Loader::Tygh\Addons\{closure:/home/bostir/public_html/app/Tygh/Addons/Loader.php:145-153}() /home/bostir/public_html/app/functions/fn.control.php:123
  • call_user_func_array:{/home/bostir/public_html/app/Tygh/Addons/Loader.php:148}() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\HookHandlers\ProductsHookHandler::onGatherAdditionalProductsDataParams() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\Product\Repository::loadProductsFeaturesVariants() /home/bostir/public_html/app/addons/product_variations/src/HookHandlers/ProductsHookHandler.php:314
  • Tygh\Addons\ProductVariations\Product\Repository::findVariationProductsByProductCollection() /home/bostir/public_html/app/addons/product_variations/src/Product/Repository.php:628
  • Tygh\Addons\ProductVariations\Product\Repository::findFeaturesVariants() /home/bostir/public_html/app/addons/product_variations/src/Product/Repository.php:226
  • Tygh\Addons\ProductVariations\Tools\Query::select() /home/bostir/public_html/app/addons/product_variations/src/Product/Repository.php:330
  • Tygh\Database\Connection::getHash() /home/bostir/public_html/app/addons/product_variations/src/Tools/Query.php:268
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:345
0.00016 Re-run Backtrace
58
SELECT cscart_images.*, cscart_images_links.*, cscart_common_descriptions.description AS alt, cscart_images.image_id AS images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'fa' WHERE cscart_images_links.object_type = 'product' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id IN (1026) ORDER BY cscart_images_links.position, cscart_images_links.pair_id

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_gather_additional_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:166
  • fn_gather_additional_products_data() /home/bostir/public_html/app/functions/fn.products.php:962
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.products.php:639
  • Tygh\Addons\Loader::Tygh\Addons\{closure:/home/bostir/public_html/app/Tygh/Addons/Loader.php:145-153}() /home/bostir/public_html/app/functions/fn.control.php:123
  • call_user_func_array:{/home/bostir/public_html/app/Tygh/Addons/Loader.php:148}() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\HookHandlers\ProductsHookHandler::onGatherAdditionalProductsDataParams() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\Product\Repository::loadProductsFeaturesVariants() /home/bostir/public_html/app/addons/product_variations/src/HookHandlers/ProductsHookHandler.php:314
  • Tygh\Addons\ProductVariations\Product\Repository::loadProductsMainImage() /home/bostir/public_html/app/addons/product_variations/src/Product/Repository.php:693
  • fn_get_image_pairs() /home/bostir/public_html/app/addons/product_variations/src/Product/Repository.php:744
  • db_multi_query() /home/bostir/public_html/app/functions/fn.images.php:344
  • Tygh\Database\Connection::multiQuery() /home/bostir/public_html/app/functions/fn.database.php:168
0.00029 Re-run Backtrace
59
SELECT cscart_promotions.*, cscart_promotion_descriptions.name, cscart_promotion_descriptions.detailed_description, cscart_promotion_descriptions.short_description FROM cscart_promotions  LEFT JOIN cscart_promotion_descriptions ON cscart_promotion_descriptions.promotion_id = cscart_promotions.promotion_id AND cscart_promotion_descriptions.lang_code = 'fa' LEFT JOIN cscart_storefronts_promotions AS storefronts_promotions ON storefronts_promotions.promotion_id = cscart_promotions.promotion_id WHERE 1  AND IF(from_date, from_date <= 1674694298, 1) AND IF(to_date, to_date >= 1674694298, 1) AND status IN ('A', 'H') AND cscart_promotions.zone = 'catalog' AND (storefronts_promotions.storefront_id = 1 OR storefronts_promotions.storefront_id IS NULL)   ORDER BY cscart_promotions.stop_other_rules desc, cscart_promotions.priority asc 

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_gather_additional_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:166
  • fn_gather_additional_products_data() /home/bostir/public_html/app/functions/fn.products.php:962
  • fn_promotion_apply() /home/bostir/public_html/app/functions/fn.products.php:773
  • fn_get_promotions() /home/bostir/public_html/app/functions/fn.promotions.php:281
  • db_get_hash_array() /home/bostir/public_html/app/functions/fn.promotions.php:204
  • Tygh\Database\Connection::getHash() /home/bostir/public_html/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:345
0.00158 Re-run Backtrace
60
SELECT tax_id, address_type, priority, price_includes_tax, regnumber FROM cscart_taxes WHERE tax_id IN (7) AND status = 'A' ORDER BY priority

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_gather_additional_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:166
  • fn_gather_additional_products_data() /home/bostir/public_html/app/functions/fn.products.php:962
  • fn_get_taxed_and_clean_prices() /home/bostir/public_html/app/functions/fn.products.php:809
  • fn_get_set_taxes() /home/bostir/public_html/app/functions/fn.cart.php:6807
  • db_get_hash_array() /home/bostir/public_html/app/functions/fn.cart.php:3549
  • Tygh\Database\Connection::getHash() /home/bostir/public_html/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:345
0.00066 Re-run Backtrace
61
SELECT COUNT(*) FROM cscart_countries WHERE code = '8' AND status = 'A'

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_gather_additional_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:166
  • fn_gather_additional_products_data() /home/bostir/public_html/app/functions/fn.products.php:962
  • fn_get_taxed_and_clean_prices() /home/bostir/public_html/app/functions/fn.products.php:809
  • fn_calculate_tax_rates() /home/bostir/public_html/app/functions/fn.cart.php:6809
  • fn_get_customer_location() /home/bostir/public_html/app/functions/fn.cart.php:6473
  • db_get_field() /home/bostir/public_html/app/functions/fn.cart.php:4713
  • Tygh\Database\Connection::getField() /home/bostir/public_html/app/functions/fn.database.php:73
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:422
0.00016 Re-run Backtrace
62
SELECT COUNT(*) FROM cscart_states WHERE country_code = '8' AND code = '197' AND status = 'A'

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_gather_additional_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:166
  • fn_gather_additional_products_data() /home/bostir/public_html/app/functions/fn.products.php:962
  • fn_get_taxed_and_clean_prices() /home/bostir/public_html/app/functions/fn.products.php:809
  • fn_calculate_tax_rates() /home/bostir/public_html/app/functions/fn.cart.php:6809
  • fn_get_customer_location() /home/bostir/public_html/app/functions/fn.cart.php:6473
  • db_get_field() /home/bostir/public_html/app/functions/fn.cart.php:4719
  • Tygh\Database\Connection::getField() /home/bostir/public_html/app/functions/fn.database.php:73
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:422
0.00018 Re-run Backtrace
63
SELECT state_id FROM cscart_states WHERE code = '197' AND country_code = '8'

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_gather_additional_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:166
  • fn_gather_additional_products_data() /home/bostir/public_html/app/functions/fn.products.php:962
  • fn_get_taxed_and_clean_prices() /home/bostir/public_html/app/functions/fn.products.php:809
  • fn_calculate_tax_rates() /home/bostir/public_html/app/functions/fn.cart.php:6809
  • fn_get_available_destination() /home/bostir/public_html/app/functions/fn.cart.php:6474
  • fn_get_state_id() /home/bostir/public_html/app/functions/fn.locations.php:409
  • db_get_field() /home/bostir/public_html/app/functions/fn.locations.php:524
  • Tygh\Database\Connection::getField() /home/bostir/public_html/app/functions/fn.database.php:73
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:422
0.00014 Re-run Backtrace
64
SELECT a.* FROM cscart_destination_elements as a LEFT JOIN cscart_destinations as b ON b.destination_id = a.destination_id WHERE b.status = 'A' 

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_gather_additional_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:166
  • fn_gather_additional_products_data() /home/bostir/public_html/app/functions/fn.products.php:962
  • fn_get_taxed_and_clean_prices() /home/bostir/public_html/app/functions/fn.products.php:809
  • fn_calculate_tax_rates() /home/bostir/public_html/app/functions/fn.cart.php:6809
  • fn_get_available_destination() /home/bostir/public_html/app/functions/fn.cart.php:6474
  • db_get_array() /home/bostir/public_html/app/functions/fn.locations.php:420
  • Tygh\Database\Connection::getArray() /home/bostir/public_html/app/functions/fn.database.php:35
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:307
0.00028 Re-run Backtrace
65
SELECT a.code, b.state FROM cscart_states as a LEFT JOIN cscart_state_descriptions as b ON b.state_id = a.state_id AND b.lang_code = 'fa' WHERE  a.country_code = '8' AND a.status = 'A' ORDER BY b.state

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_gather_additional_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:166
  • fn_gather_additional_products_data() /home/bostir/public_html/app/functions/fn.products.php:962
  • fn_get_taxed_and_clean_prices() /home/bostir/public_html/app/functions/fn.products.php:809
  • fn_calculate_tax_rates() /home/bostir/public_html/app/functions/fn.cart.php:6809
  • fn_get_available_destination() /home/bostir/public_html/app/functions/fn.cart.php:6474
  • fn_get_country_states() /home/bostir/public_html/app/functions/fn.locations.php:448
  • db_get_hash_single_array() /home/bostir/public_html/app/functions/fn.locations.php:234
  • Tygh\Database\Connection::getSingleHash() /home/bostir/public_html/app/functions/fn.database.php:111
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:546
0.00018 Re-run Backtrace
66
SELECT COUNT(*) FROM cscart_countries WHERE code = '8' AND status = 'A'

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_gather_additional_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:166
  • fn_gather_additional_products_data() /home/bostir/public_html/app/functions/fn.products.php:962
  • fn_get_taxed_and_clean_prices() /home/bostir/public_html/app/functions/fn.products.php:809
  • fn_calculate_tax_rates() /home/bostir/public_html/app/functions/fn.cart.php:6809
  • fn_get_customer_location() /home/bostir/public_html/app/functions/fn.cart.php:6477
  • db_get_field() /home/bostir/public_html/app/functions/fn.cart.php:4713
  • Tygh\Database\Connection::getField() /home/bostir/public_html/app/functions/fn.database.php:73
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:422
0.00015 Re-run Backtrace
67
SELECT COUNT(*) FROM cscart_states WHERE country_code = '8' AND code = '197' AND status = 'A'

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_gather_additional_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:166
  • fn_gather_additional_products_data() /home/bostir/public_html/app/functions/fn.products.php:962
  • fn_get_taxed_and_clean_prices() /home/bostir/public_html/app/functions/fn.products.php:809
  • fn_calculate_tax_rates() /home/bostir/public_html/app/functions/fn.cart.php:6809
  • fn_get_customer_location() /home/bostir/public_html/app/functions/fn.cart.php:6477
  • db_get_field() /home/bostir/public_html/app/functions/fn.cart.php:4719
  • Tygh\Database\Connection::getField() /home/bostir/public_html/app/functions/fn.database.php:73
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:422
0.00020 Re-run Backtrace
68
SELECT a.* FROM cscart_destination_elements as a LEFT JOIN cscart_destinations as b ON b.destination_id = a.destination_id WHERE b.status = 'A' 

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_gather_additional_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:166
  • fn_gather_additional_products_data() /home/bostir/public_html/app/functions/fn.products.php:962
  • fn_get_taxed_and_clean_prices() /home/bostir/public_html/app/functions/fn.products.php:809
  • fn_calculate_tax_rates() /home/bostir/public_html/app/functions/fn.cart.php:6809
  • fn_get_available_destination() /home/bostir/public_html/app/functions/fn.cart.php:6478
  • db_get_array() /home/bostir/public_html/app/functions/fn.locations.php:420
  • Tygh\Database\Connection::getArray() /home/bostir/public_html/app/functions/fn.database.php:35
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:307
0.00028 Re-run Backtrace
69
SELECT a.code, b.state FROM cscart_states as a LEFT JOIN cscart_state_descriptions as b ON b.state_id = a.state_id AND b.lang_code = 'fa' WHERE  a.country_code = '8' AND a.status = 'A' ORDER BY b.state

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_gather_additional_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:166
  • fn_gather_additional_products_data() /home/bostir/public_html/app/functions/fn.products.php:962
  • fn_get_taxed_and_clean_prices() /home/bostir/public_html/app/functions/fn.products.php:809
  • fn_calculate_tax_rates() /home/bostir/public_html/app/functions/fn.cart.php:6809
  • fn_get_available_destination() /home/bostir/public_html/app/functions/fn.cart.php:6478
  • fn_get_country_states() /home/bostir/public_html/app/functions/fn.locations.php:448
  • db_get_hash_single_array() /home/bostir/public_html/app/functions/fn.locations.php:234
  • Tygh\Database\Connection::getSingleHash() /home/bostir/public_html/app/functions/fn.database.php:111
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:546
0.00017 Re-run Backtrace
70
SELECT destination_id, rate_value, rate_type FROM cscart_tax_rates WHERE tax_id = 7 AND destination_id = 1

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_gather_additional_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:166
  • fn_gather_additional_products_data() /home/bostir/public_html/app/functions/fn.products.php:962
  • fn_get_taxed_and_clean_prices() /home/bostir/public_html/app/functions/fn.products.php:809
  • fn_calculate_tax_rates() /home/bostir/public_html/app/functions/fn.cart.php:6809
  • db_get_row() /home/bostir/public_html/app/functions/fn.cart.php:6513
  • Tygh\Database\Connection::getRow() /home/bostir/public_html/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:388
0.00017 Re-run Backtrace
71
SELECT tax FROM cscart_tax_descriptions WHERE tax_id = 7 AND lang_code = 'fa'

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_gather_additional_product_data() /home/bostir/public_html/app/controllers/frontend/products.php:166
  • fn_gather_additional_products_data() /home/bostir/public_html/app/functions/fn.products.php:962
  • fn_get_taxed_and_clean_prices() /home/bostir/public_html/app/functions/fn.products.php:809
  • fn_calculate_tax_rates() /home/bostir/public_html/app/functions/fn.cart.php:6809
  • db_get_field() /home/bostir/public_html/app/functions/fn.cart.php:6543
  • Tygh\Database\Connection::getField() /home/bostir/public_html/app/functions/fn.database.php:73
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:422
0.00014 Re-run Backtrace
72
SELECT cscart_product_files.*, cscart_product_file_descriptions.file_name, cscart_product_file_descriptions.license, cscart_product_file_descriptions.readme FROM cscart_product_files  LEFT JOIN cscart_product_file_descriptions ON cscart_product_file_descriptions.file_id = cscart_product_files.file_id AND cscart_product_file_descriptions.lang_code = 'fa' WHERE 1=1  AND cscart_product_files.product_id = 1026 AND preview_path != '' AND cscart_product_files.status = 'A'  ORDER BY cscart_product_files.position asc, cscart_product_file_descriptions.file_name asc

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_get_product_files() /home/bostir/public_html/app/controllers/frontend/products.php:178
  • db_get_array() /home/bostir/public_html/app/functions/fn.product_files.php:614
  • Tygh\Database\Connection::getArray() /home/bostir/public_html/app/functions/fn.database.php:35
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:307
0.00019 Re-run Backtrace
73
SELECT *,cscart_product_tabs.status as status,cscart_product_tabs.block_id as block_id,cscart_product_tabs.company_id as company_id,cscart_product_tabs_descriptions.name as name  FROM cscart_product_tabs LEFT JOIN cscart_product_tabs_descriptions ON cscart_product_tabs.tab_id = cscart_product_tabs_descriptions.tab_id LEFT JOIN cscart_bm_blocks ON cscart_bm_blocks.block_id = cscart_product_tabs.block_id  WHERE cscart_product_tabs_descriptions.lang_code = 'fa'  AND cscart_product_tabs.company_id = 1  ORDER BY position

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_init_product_tabs() /home/bostir/public_html/app/controllers/frontend/products.php:185
  • Tygh\BlockManager\ProductTabs::getList() /home/bostir/public_html/app/functions/fn.products.php:3750
  • db_get_hash_array() /home/bostir/public_html/app/Tygh/BlockManager/ProductTabs.php:61
  • Tygh\Database\Connection::getHash() /home/bostir/public_html/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:345
0.00020 Re-run Backtrace
74
SHOW COLUMNS FROM cscart_product_popularity

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_set_product_popularity() /home/bostir/public_html/app/controllers/frontend/products.php:191
  • fn_update_product_popularity() /home/bostir/public_html/app/controllers/frontend/products.php:293
  • db_query() /home/bostir/public_html/app/functions/fn.products.php:3875
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/functions/fn.database.php:138
  • Tygh\Database\Connection::process() /home/bostir/public_html/app/Tygh/Database/Connection.php:658
  • Tygh\Database\Connection::checkTableFields() /home/bostir/public_html/app/Tygh/Database/Connection.php:927
  • Tygh\Database\Connection::getTableFields() /home/bostir/public_html/app/Tygh/Database/Connection.php:1078
  • Tygh\Database\Connection::getColumn() /home/bostir/public_html/app/Tygh/Database/Connection.php:1046
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:454
0.00090 Re-run Backtrace
75
INSERT INTO cscart_product_popularity (`viewed`, `added`, `deleted`, `bought`, `total`, `product_id`) VALUES (1, 0, 0, 0, 3, 1026) ON DUPLICATE KEY UPDATE viewed = viewed + 1, added = added + 0, deleted = deleted + 0, bought = bought + 0, total = total + 3

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_set_product_popularity() /home/bostir/public_html/app/controllers/frontend/products.php:191
  • fn_update_product_popularity() /home/bostir/public_html/app/controllers/frontend/products.php:293
  • db_query() /home/bostir/public_html/app/functions/fn.products.php:3875
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/functions/fn.database.php:138
0.00261 Re-run Backtrace
76
SELECT product_id, parent_product_id FROM cscart_product_variation_group_products WHERE parent_product_id = 1026

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_set_product_popularity() /home/bostir/public_html/app/controllers/frontend/products.php:191
  • fn_update_product_popularity() /home/bostir/public_html/app/controllers/frontend/products.php:293
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.products.php:3884
  • Tygh\Addons\Loader::Tygh\Addons\{closure:/home/bostir/public_html/app/Tygh/Addons/Loader.php:145-153}() /home/bostir/public_html/app/functions/fn.control.php:123
  • call_user_func_array:{/home/bostir/public_html/app/Tygh/Addons/Loader.php:148}() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\HookHandlers\ProductsHookHandler::onUpdateProductPopularity() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\Product\ProductIdMap::getProductChildrenIds() /home/bostir/public_html/app/addons/product_variations/src/HookHandlers/ProductsHookHandler.php:1228
  • Tygh\Addons\ProductVariations\Product\ProductIdMap::loadProductChildrenFromDb() /home/bostir/public_html/app/addons/product_variations/src/Product/ProductIdMap.php:192
  • Tygh\Addons\ProductVariations\Product\Group\Repository::getProductChildrenIds() /home/bostir/public_html/app/addons/product_variations/src/Product/ProductIdMap.php:225
  • Tygh\Addons\ProductVariations\Tools\Query::column() /home/bostir/public_html/app/addons/product_variations/src/Product/Group/Repository.php:617
  • Tygh\Database\Connection::getSingleHash() /home/bostir/public_html/app/addons/product_variations/src/Tools/Query.php:329
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:546
0.00020 Re-run Backtrace
77
SELECT * FROM cscart_product_popularity WHERE product_id = 1026

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_set_product_popularity() /home/bostir/public_html/app/controllers/frontend/products.php:191
  • fn_update_product_popularity() /home/bostir/public_html/app/controllers/frontend/products.php:293
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.products.php:3884
  • Tygh\Addons\Loader::Tygh\Addons\{closure:/home/bostir/public_html/app/Tygh/Addons/Loader.php:145-153}() /home/bostir/public_html/app/functions/fn.control.php:123
  • call_user_func_array:{/home/bostir/public_html/app/Tygh/Addons/Loader.php:148}() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\HookHandlers\ProductsHookHandler::onUpdateProductPopularity() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\SyncService::sync() /home/bostir/public_html/app/addons/product_variations/src/HookHandlers/ProductsHookHandler.php:1231
  • Tygh\Addons\ProductVariations\Product\Sync\Table\OneToManyViaPrimaryKeyTable::sync() /home/bostir/public_html/app/addons/product_variations/src/SyncService.php:85
  • Tygh\Addons\ProductVariations\Tools\Query::select() /home/bostir/public_html/app/addons/product_variations/src/Product/Sync/Table/OneToManyViaPrimaryKeyTable.php:45
  • Tygh\Database\Connection::getArray() /home/bostir/public_html/app/addons/product_variations/src/Tools/Query.php:279
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:307
0.00044 Re-run Backtrace
78
SELECT product_id FROM cscart_product_popularity WHERE product_id IN (1037)

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_set_product_popularity() /home/bostir/public_html/app/controllers/frontend/products.php:191
  • fn_update_product_popularity() /home/bostir/public_html/app/controllers/frontend/products.php:293
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.products.php:3884
  • Tygh\Addons\Loader::Tygh\Addons\{closure:/home/bostir/public_html/app/Tygh/Addons/Loader.php:145-153}() /home/bostir/public_html/app/functions/fn.control.php:123
  • call_user_func_array:{/home/bostir/public_html/app/Tygh/Addons/Loader.php:148}() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\HookHandlers\ProductsHookHandler::onUpdateProductPopularity() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\SyncService::sync() /home/bostir/public_html/app/addons/product_variations/src/HookHandlers/ProductsHookHandler.php:1231
  • Tygh\Addons\ProductVariations\Product\Sync\Table\OneToManyViaPrimaryKeyTable::sync() /home/bostir/public_html/app/addons/product_variations/src/SyncService.php:85
  • Tygh\Addons\ProductVariations\Tools\Query::select() /home/bostir/public_html/app/addons/product_variations/src/Product/Sync/Table/OneToManyViaPrimaryKeyTable.php:57
  • Tygh\Database\Connection::getArray() /home/bostir/public_html/app/addons/product_variations/src/Tools/Query.php:279
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:307
0.00050 Re-run Backtrace
79
UPDATE cscart_product_popularity SET `viewed` = 1605, `added` = 120, `deleted` = 50, `bought` = 2, `total` = 5682 WHERE product_id IN (1037)

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_set_product_popularity() /home/bostir/public_html/app/controllers/frontend/products.php:191
  • fn_update_product_popularity() /home/bostir/public_html/app/controllers/frontend/products.php:293
  • fn_set_hook() /home/bostir/public_html/app/functions/fn.products.php:3884
  • Tygh\Addons\Loader::Tygh\Addons\{closure:/home/bostir/public_html/app/Tygh/Addons/Loader.php:145-153}() /home/bostir/public_html/app/functions/fn.control.php:123
  • call_user_func_array:{/home/bostir/public_html/app/Tygh/Addons/Loader.php:148}() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\HookHandlers\ProductsHookHandler::onUpdateProductPopularity() /home/bostir/public_html/app/Tygh/Addons/Loader.php:148
  • Tygh\Addons\ProductVariations\SyncService::sync() /home/bostir/public_html/app/addons/product_variations/src/HookHandlers/ProductsHookHandler.php:1231
  • Tygh\Addons\ProductVariations\Product\Sync\Table\OneToManyViaPrimaryKeyTable::sync() /home/bostir/public_html/app/addons/product_variations/src/SyncService.php:85
  • Tygh\Addons\ProductVariations\Product\Sync\Table\OneToManyViaPrimaryKeyTable::executeUpdate() /home/bostir/public_html/app/addons/product_variations/src/Product/Sync/Table/OneToManyViaPrimaryKeyTable.php:61
  • Tygh\Addons\ProductVariations\Tools\Query::update() /home/bostir/public_html/app/addons/product_variations/src/Product/Sync/Table/OneToManyViaPrimaryKeyTable.php:77
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/addons/product_variations/src/Tools/Query.php:373
0.00093 Re-run Backtrace
80
SELECT subscription_id FROM cscart_product_subscriptions WHERE product_id = 1026 AND user_id = 0

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/controllers/frontend/products.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • db_get_field() /home/bostir/public_html/app/controllers/frontend/products.php:199
  • Tygh\Database\Connection::getField() /home/bostir/public_html/app/functions/fn.database.php:73
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:422
0.00018 Re-run Backtrace
81
SELECT cscart_tags.tag_id, cscart_tag_links.object_id, cscart_tag_links.object_type, cscart_tags.tag, cscart_tags.status, COUNT(cscart_tag_links.tag_id) as popularity FROM cscart_tags LEFT JOIN cscart_tag_links ON cscart_tag_links.tag_id = cscart_tags.tag_id WHERE 1  AND cscart_tags.company_id = 1 AND cscart_tag_links.object_type = 'P' AND cscart_tags.status IN ('A') AND cscart_tag_links.object_id = 1026 GROUP BY cscart_tags.tag_id  ORDER BY cscart_tags.tag asc 

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/addons/tags/controllers/frontend/products.post.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_get_tags() /home/bostir/public_html/app/addons/tags/controllers/frontend/products.post.php:26
  • db_get_hash_array() /home/bostir/public_html/app/addons/tags/func.php:142
  • Tygh\Database\Connection::getHash() /home/bostir/public_html/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:345
0.00019 Re-run Backtrace
82
SELECT object_id, thread_id, type, object_type, company_id FROM cscart_discussion  WHERE 1  AND object_id = 1026 AND object_type = 'P'  AND cscart_discussion.company_id = 1  

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/addons/discussion/controllers/frontend/products.post.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_get_discussion() /home/bostir/public_html/app/addons/discussion/controllers/frontend/products.post.php:25
  • db_get_row() /home/bostir/public_html/app/addons/discussion/func.php:247
  • Tygh\Database\Connection::getRow() /home/bostir/public_html/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:388
0.00020 Re-run Backtrace
83
SELECT thread_id, type, object_type, object_id FROM cscart_discussion WHERE thread_id = 764  AND cscart_discussion.company_id = 1

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/addons/discussion/controllers/frontend/products.post.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_get_discussion() /home/bostir/public_html/app/addons/discussion/controllers/frontend/products.post.php:25
  • fn_get_discussion_posts() /home/bostir/public_html/app/addons/discussion/func.php:297
  • db_get_row() /home/bostir/public_html/app/addons/discussion/func.php:352
  • Tygh\Database\Connection::getRow() /home/bostir/public_html/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:388
0.00016 Re-run Backtrace
84
SELECT AVG (dr.rating_value) FROM cscart_discussion_rating AS dr LEFT JOIN cscart_discussion_posts AS dp ON dp.post_id = dr.post_id LEFT JOIN cscart_discussion AS d ON d.thread_id = dp.thread_id WHERE d.object_id = 1026 AND d.object_type = 'P' AND type IN ( 'B', 'R' )  AND d.company_id = 1 AND dp.status = 'A' AND dr.rating_value > 0

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_run_controller() /home/bostir/public_html/app/functions/fn.control.php:434
  • include(/home/bostir/public_html/app/addons/discussion/controllers/frontend/products.post.php) /home/bostir/public_html/app/functions/fn.control.php:685
  • fn_get_discussion() /home/bostir/public_html/app/addons/discussion/controllers/frontend/products.post.php:25
  • fn_discussion_get_average_object_rating() /home/bostir/public_html/app/addons/discussion/func.php:299
  • db_get_field() /home/bostir/public_html/app/addons/discussion/func.php:975
  • Tygh\Database\Connection::getField() /home/bostir/public_html/app/functions/fn.database.php:73
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:422
0.00017 Re-run Backtrace
85
SELECT privilege FROM cscart_usergroup_privileges WHERE usergroup_id IN (0, 1)

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • fn_check_permissions() /home/bostir/public_html/app/functions/fn.control.php:487
  • fn_check_admin_permissions() /home/bostir/public_html/app/functions/fn.common.php:2502
  • db_get_fields() /home/bostir/public_html/app/functions/fn.common.php:2681
  • Tygh\Database\Connection::getColumn() /home/bostir/public_html/app/functions/fn.database.php:85
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:454
0.00025 Re-run Backtrace
86
SELECT data FROM cscart_storage_data WHERE data_key = 'cache_id'

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • Tygh\SmartyEngine\Core::fetch() /home/bostir/public_html/app/functions/fn.control.php:601
  • Tygh\SmartyEngine\Core::fetch() /home/bostir/public_html/app/Tygh/SmartyEngine/Core.php:81
  • content_63b17e9db29b32_76828143() /home/bostir/public_html/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:188
  • Smarty_Internal_Template::getSubTemplate() /home/bostir/public_html/var/cache/templates/bost_theme/2146979150bb474a1bf62d6fc300da7ccf1cd9b8.tygh.index.tpl.php:132
  • Smarty_Internal_Template::fetch() /home/bostir/public_html/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:304
  • content_63b17e9de43d38_83001637() /home/bostir/public_html/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:188
  • smarty_block_styles() /home/bostir/public_html/var/cache/templates/bost_theme/b134a2425fc9cc87db891c7a59d65b28c3aa98c7.tygh.styles.tpl.php:163
  • fn_get_storage_data() /home/bostir/public_html/app/functions/smarty_plugins/block.styles.php:59
  • db_get_row() /home/bostir/public_html/app/functions/fn.control.php:1018
  • Tygh\Database\Connection::getRow() /home/bostir/public_html/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:388
0.00035 Re-run Backtrace
87
SELECT c.* FROM cscart_bm_containers as c  WHERE 1  AND c.location_id = 43

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • Tygh\SmartyEngine\Core::fetch() /home/bostir/public_html/app/functions/fn.control.php:601
  • Tygh\SmartyEngine\Core::fetch() /home/bostir/public_html/app/Tygh/SmartyEngine/Core.php:81
  • content_63b17e9db29b32_76828143() /home/bostir/public_html/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:188
  • smarty_function_render_location() /home/bostir/public_html/var/cache/templates/bost_theme/2146979150bb474a1bf62d6fc300da7ccf1cd9b8.tygh.index.tpl.php:191
  • Tygh\BlockManager\RenderManager::__construct() /home/bostir/public_html/app/functions/smarty_plugins/function.render_location.php:50
  • Tygh\BlockManager\Container::getListByArea() /home/bostir/public_html/app/Tygh/BlockManager/RenderManager.php:127
  • Tygh\BlockManager\Container::getList() /home/bostir/public_html/app/Tygh/BlockManager/Container.php:111
  • db_get_hash_array() /home/bostir/public_html/app/Tygh/BlockManager/Container.php:72
  • Tygh\Database\Connection::getHash() /home/bostir/public_html/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:345
0.00030 Re-run Backtrace
88
SELECT layout_id FROM cscart_bm_locations WHERE location_id = 43

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • Tygh\SmartyEngine\Core::fetch() /home/bostir/public_html/app/functions/fn.control.php:601
  • Tygh\SmartyEngine\Core::fetch() /home/bostir/public_html/app/Tygh/SmartyEngine/Core.php:81
  • content_63b17e9db29b32_76828143() /home/bostir/public_html/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:188
  • smarty_function_render_location() /home/bostir/public_html/var/cache/templates/bost_theme/2146979150bb474a1bf62d6fc300da7ccf1cd9b8.tygh.index.tpl.php:191
  • Tygh\BlockManager\RenderManager::__construct() /home/bostir/public_html/app/functions/smarty_plugins/function.render_location.php:50
  • Tygh\BlockManager\Container::getListByArea() /home/bostir/public_html/app/Tygh/BlockManager/RenderManager.php:127
  • Tygh\BlockManager\Container::getList() /home/bostir/public_html/app/Tygh/BlockManager/Container.php:112
  • db_get_field() /home/bostir/public_html/app/Tygh/BlockManager/Container.php:60
  • Tygh\Database\Connection::getField() /home/bostir/public_html/app/functions/fn.database.php:73
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:422
0.00026 Re-run Backtrace
89
SELECT c.*, IF (c.location_id != 43, 0, 1) as `default` FROM cscart_bm_containers as c  INNER JOIN cscart_bm_locations as l ON c.location_id = l.location_id AND l.is_default = 1 AND l.layout_id = 3 WHERE 1  AND c.position IN ('TOP_PANEL', 'HEADER', 'FOOTER')

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • Tygh\SmartyEngine\Core::fetch() /home/bostir/public_html/app/functions/fn.control.php:601
  • Tygh\SmartyEngine\Core::fetch() /home/bostir/public_html/app/Tygh/SmartyEngine/Core.php:81
  • content_63b17e9db29b32_76828143() /home/bostir/public_html/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:188
  • smarty_function_render_location() /home/bostir/public_html/var/cache/templates/bost_theme/2146979150bb474a1bf62d6fc300da7ccf1cd9b8.tygh.index.tpl.php:191
  • Tygh\BlockManager\RenderManager::__construct() /home/bostir/public_html/app/functions/smarty_plugins/function.render_location.php:50
  • Tygh\BlockManager\Container::getListByArea() /home/bostir/public_html/app/Tygh/BlockManager/RenderManager.php:127
  • Tygh\BlockManager\Container::getList() /home/bostir/public_html/app/Tygh/BlockManager/Container.php:112
  • db_get_hash_array() /home/bostir/public_html/app/Tygh/BlockManager/Container.php:72
  • Tygh\Database\Connection::getHash() /home/bostir/public_html/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:345
0.00021 Re-run Backtrace
90
SELECT * FROM cscart_bm_containers as c LEFT JOIN cscart_bm_grids as g ON g.container_id = c.container_id WHERE 1  AND g.container_id IN (161, 162, 171, 164) ORDER BY g.order, g.parent_id, g.grid_id ASC

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • Tygh\SmartyEngine\Core::fetch() /home/bostir/public_html/app/functions/fn.control.php:601
  • Tygh\SmartyEngine\Core::fetch() /home/bostir/public_html/app/Tygh/SmartyEngine/Core.php:81
  • content_63b17e9db29b32_76828143() /home/bostir/public_html/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:188
  • smarty_function_render_location() /home/bostir/public_html/var/cache/templates/bost_theme/2146979150bb474a1bf62d6fc300da7ccf1cd9b8.tygh.index.tpl.php:191
  • Tygh\BlockManager\RenderManager::__construct() /home/bostir/public_html/app/functions/smarty_plugins/function.render_location.php:50
  • Tygh\BlockManager\Grid::getList() /home/bostir/public_html/app/Tygh/BlockManager/RenderManager.php:133
  • db_get_hash_multi_array() /home/bostir/public_html/app/Tygh/BlockManager/Grid.php:63
  • Tygh\Database\Connection::getMultiHash() /home/bostir/public_html/app/functions/fn.database.php:98
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:500
0.00023 Re-run Backtrace
91
SELECT cscart_bm_snapping.grid_id as grid_id,cscart_bm_snapping.block_id as block_id,IFNULL(dynamic_object_content.content, default_content.content) as content,IFNULL(dynamic_object_content.object_id, default_content.object_id) AS object_id,IFNULL(dynamic_object_content.object_type, default_content.object_type) AS object_type,cscart_bm_block_statuses.object_ids as object_ids,cscart_bm_snapping.*,cscart_bm_blocks.*,cscart_bm_blocks_descriptions.* FROM cscart_bm_snapping LEFT JOIN cscart_bm_blocks ON cscart_bm_blocks.block_id = cscart_bm_snapping.block_id LEFT JOIN cscart_bm_block_statuses ON cscart_bm_snapping.snapping_id = cscart_bm_block_statuses.snapping_id AND cscart_bm_block_statuses.object_type LIKE 'products' LEFT JOIN cscart_bm_blocks_descriptions ON cscart_bm_blocks.block_id = cscart_bm_blocks_descriptions.block_id  LEFT JOIN cscart_bm_blocks_content AS default_content ON cscart_bm_blocks.block_id = default_content.block_id AND cscart_bm_blocks_descriptions.lang_code = default_content.lang_code AND default_content.snapping_id = 0 AND default_content.object_id = 0 AND default_content.object_type like '' LEFT JOIN cscart_bm_blocks_content AS dynamic_object_content ON cscart_bm_blocks.block_id = dynamic_object_content.block_id AND cscart_bm_blocks_descriptions.lang_code = dynamic_object_content.lang_code AND dynamic_object_content.object_id = 1026 AND dynamic_object_content.object_type like 'products' WHERE cscart_bm_snapping.grid_id IN (157, 159, 255, 161, 164, 162, 160, 256, 254, 163, 170, 171, 172, 173)  AND cscart_bm_blocks_descriptions.lang_code='fa'  AND cscart_bm_blocks.company_id = 1 ORDER BY cscart_bm_snapping.order, cscart_bm_snapping.block_id 

    Backtrace

  • {main}() /home/bostir/public_html/index.php:0
  • fn_dispatch() /home/bostir/public_html/index.php:25
  • Tygh\SmartyEngine\Core::fetch() /home/bostir/public_html/app/functions/fn.control.php:601
  • Tygh\SmartyEngine\Core::fetch() /home/bostir/public_html/app/Tygh/SmartyEngine/Core.php:81
  • content_63b17e9db29b32_76828143() /home/bostir/public_html/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:188
  • smarty_function_render_location() /home/bostir/public_html/var/cache/templates/bost_theme/2146979150bb474a1bf62d6fc300da7ccf1cd9b8.tygh.index.tpl.php:191
  • Tygh\BlockManager\RenderManager::__construct() /home/bostir/public_html/app/functions/smarty_plugins/function.render_location.php:50
  • Tygh\BlockManager\Block::getList() /home/bostir/public_html/app/Tygh/BlockManager/RenderManager.php:137
  • db_get_hash_multi_array() /home/bostir/public_html/app/Tygh/BlockManager/Block.php:249
  • Tygh\Database\Connection::getMultiHash() /home/bostir/public_html/app/functions/fn.database.php:98
  • Tygh\Database\Connection::query() /home/bostir/public_html/app/Tygh/Database/Connection.php:500
0.00026 Re-run Backtrace

Warning Some queries are being executed multiple times

Queries max count: 2
Query Count Min time Max time Average time
SELECT a.code, b.state FROM cscart_states as a LEFT JOIN cscart_state_descriptions as b ON b.state_id = a.state_id AND b.lang_code = 'fa' WHERE  a.country_code = '8' AND a.status = 'A' ORDER BY b.state
2 0.00017 0.00018 0.00018
SELECT company_id FROM cscart_storefronts_companies WHERE storefront_id = 1
2 0.00036 0.00076 0.00056
SELECT a.* FROM cscart_destination_elements as a LEFT JOIN cscart_destinations as b ON b.destination_id = a.destination_id WHERE b.status = 'A' 
2 0.00028 0.00028 0.00028
SELECT COUNT(*) FROM cscart_states WHERE country_code = '8' AND code = '197' AND status = 'A'
2 0.00018 0.00020 0.00019
SELECT COUNT(*) FROM cscart_countries WHERE code = '8' AND status = 'A'
2 0.00015 0.00016 0.00016
SELECT pfv.variant_id, pfv.position, pfvd.variant FROM cscart_product_feature_variants AS pfv INNER JOIN cscart_product_feature_variant_descriptions AS pfvd ON pfv.variant_id = pfvd.variant_id AND pfvd.lang_code = 'fa' WHERE pfv.variant_id IN (9755)
1 0.00016 0.00016 0.00016
SELECT state_id FROM cscart_states WHERE code = '197' AND country_code = '8'
1 0.00014 0.00014 0.00014
SELECT tax_id, address_type, priority, price_includes_tax, regnumber FROM cscart_taxes WHERE tax_id IN (7) AND status = 'A' ORDER BY priority
1 0.00066 0.00066 0.00066
SELECT cscart_promotions.*, cscart_promotion_descriptions.name, cscart_promotion_descriptions.detailed_description, cscart_promotion_descriptions.short_description FROM cscart_promotions  LEFT JOIN cscart_promotion_descriptions ON cscart_promotion_descriptions.promotion_id = cscart_promotions.promotion_id AND cscart_promotion_descriptions.lang_code = 'fa' LEFT JOIN cscart_storefronts_promotions AS storefronts_promotions ON storefronts_promotions.promotion_id = cscart_promotions.promotion_id WHERE 1  AND IF(from_date, from_date <= 1674694298, 1) AND IF(to_date, to_date >= 1674694298, 1) AND status IN ('A', 'H') AND cscart_promotions.zone = 'catalog' AND (storefronts_promotions.storefront_id = 1 OR storefronts_promotions.storefront_id IS NULL)   ORDER BY cscart_promotions.stop_other_rules desc, cscart_promotions.priority asc 
1 0.00158 0.00158 0.00158
SELECT cscart_images.*, cscart_images_links.*, cscart_common_descriptions.description AS alt, cscart_images.image_id AS images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'fa' WHERE cscart_images_links.object_type = 'product' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id IN (1026) ORDER BY cscart_images_links.position, cscart_images_links.pair_id
1 0.00029 0.00029 0.00029
SELECT storefronts.* FROM cscart_storefronts AS storefronts  WHERE 1 = 1 AND (storefronts.url = 'bost.ir' OR storefronts.url = 'www.bost.ir' OR storefronts.url LIKE 'www_.bost.ir' OR storefronts.url LIKE 'bost.ir/%' OR storefronts.url LIKE 'www.bost.ir/%' OR storefronts.url LIKE 'www_.bost.ir/%') GROUP BY storefronts.storefront_id   ORDER BY storefronts.url = 'bost.ir' DESC, storefronts.url = 'www.bost.ir' DESC, storefronts.url LIKE 'www_.bost.ir' DESC, storefronts.url LIKE 'bost.ir/%' DESC, storefronts.url LIKE 'www.bost.ir/%' DESC, storefronts.url LIKE 'www_.bost.ir/%' desc 
1 0.00053 0.00053 0.00053
SELECT pfv.feature_id, pfv.product_id, pfv.variant_id, gp.group_id FROM cscart_product_features_values AS pfv INNER JOIN cscart_product_variation_group_products AS gp ON pfv.product_id = gp.product_id INNER JOIN cscart_product_variation_group_features AS gpf ON gpf.group_id = gp.group_id AND gpf.feature_id = pfv.feature_id WHERE pfv.lang_code = 'fa' AND gp.group_id IN (86)
1 0.00016 0.00016 0.00016
SELECT destination_id, rate_value, rate_type FROM cscart_tax_rates WHERE tax_id = 7 AND destination_id = 1
1 0.00017 0.00017 0.00017
SELECT pfv.feature_id, pfv.product_id, pfv.variant_id, fv.position, fvd.variant FROM cscart_product_features_values AS pfv INNER JOIN cscart_product_feature_variants AS fv ON pfv.feature_id = fv.feature_id AND pfv.variant_id = fv.variant_id INNER JOIN cscart_product_feature_variant_descriptions AS fvd ON pfv.variant_id = fvd.variant_id AND fvd.lang_code = 'fa' WHERE pfv.feature_id IN (3588) AND pfv.product_id IN (1026) AND pfv.lang_code = 'fa'
1 0.00016 0.00016 0.00016
SELECT pf.feature_id, pf.feature_style, pf.position, pf.purpose, pf.display_on_catalog, pfd.description, pfd.internal_name, pfd.prefix, pfd.suffix, (CASE WHEN pf.purpose = 'group_catalog_item' THEN 0 ELSE 1 END) AS purpose_position FROM cscart_product_features AS pf INNER JOIN cscart_product_features_descriptions AS pfd ON pf.feature_id = pfd.feature_id AND pfd.lang_code = 'fa' WHERE pf.feature_id IN (3588) ORDER BY purpose_position ASC, pf.position ASC, pf.feature_id ASC
1 0.00019 0.00019 0.00019
SELECT f.feature_id, f.purpose, p.product_id, p.parent_product_id, g.id, g.code FROM cscart_product_variation_group_features AS f INNER JOIN cscart_product_variation_groups AS g ON f.group_id = g.id INNER JOIN cscart_product_variation_group_products AS p ON f.group_id = p.group_id WHERE p.product_id IN (1026)
1 0.00019 0.00019 0.00019
SELECT storefronts.* FROM cscart_storefronts AS storefronts LEFT JOIN cscart_storefronts_languages AS languages ON storefronts.storefront_id = languages.storefront_id WHERE 1 = 1 AND (languages.language_id IN ('2') ) GROUP BY storefronts.storefront_id   ORDER BY storefronts.is_default desc 
1 0.00016 0.00016 0.00016
SELECT storefronts.* FROM cscart_storefronts AS storefronts LEFT JOIN cscart_storefronts_languages AS languages ON storefronts.storefront_id = languages.storefront_id WHERE 1 = 1 AND (languages.language_id IN ('1') ) GROUP BY storefronts.storefront_id   ORDER BY storefronts.is_default desc 
1 0.00015 0.00015 0.00015
SELECT cscart_languages.* FROM cscart_languages  LEFT JOIN cscart_storefronts_languages AS storefronts_languages ON storefronts_languages.language_id = cscart_languages.lang_id WHERE 1 AND (storefronts_languages.storefront_id = 1 OR storefronts_languages.storefront_id IS NULL)   
1 0.00017 0.00017 0.00017
SELECT c.product_id AS cur_product_id, a.*, b.option_name, b.internal_option_name, b.option_text, b.description, b.inner_hint, b.incorrect_message, b.comment FROM cscart_product_options as a LEFT JOIN cscart_product_options_descriptions as b ON a.option_id = b.option_id AND b.lang_code = 'fa' LEFT JOIN cscart_product_global_option_links as c ON c.option_id = a.option_id WHERE c.product_id IN (1026) AND a.product_id = 0 AND a.status = 'A' ORDER BY a.position
1 0.00022 0.00022 0.00022
SELECT SQL_CALC_FOUND_ROWS products.product_id, IF(shared_descr.product_id IS NOT NULL, shared_descr.product, descr1.product) as product, variation_group_products.group_id AS variation_group_id, products.product_type, products.parent_product_id FROM cscart_products as products  LEFT JOIN cscart_product_descriptions as descr1 ON descr1.product_id = products.product_id AND descr1.lang_code = 'fa'  INNER JOIN cscart_products_categories as products_categories ON products_categories.product_id = products.product_id INNER JOIN cscart_categories ON cscart_categories.category_id = products_categories.category_id  AND (cscart_categories.usergroup_ids = '' OR FIND_IN_SET(0, cscart_categories.usergroup_ids) OR FIND_IN_SET(1, cscart_categories.usergroup_ids)) AND cscart_categories.status IN ('A', 'H')   LEFT JOIN cscart_ult_product_descriptions shared_descr ON shared_descr.product_id = products.product_id  AND shared_descr.company_id = 1 AND shared_descr.lang_code = 'fa' INNER JOIN cscart_product_variation_group_products AS variation_group_products ON variation_group_products.product_id = products.product_id WHERE 1  AND cscart_categories.company_id = 1 AND (products.usergroup_ids = '' OR FIND_IN_SET(0, products.usergroup_ids) OR FIND_IN_SET(1, products.usergroup_ids)) AND products.status IN ('A') AND variation_group_products.group_id IN (86) GROUP BY products.product_id   ORDER BY NULL asc 
1 0.00019 0.00019 0.00019
SELECT cscart_product_files.*, cscart_product_file_descriptions.file_name, cscart_product_file_descriptions.license, cscart_product_file_descriptions.readme FROM cscart_product_files  LEFT JOIN cscart_product_file_descriptions ON cscart_product_file_descriptions.file_id = cscart_product_files.file_id AND cscart_product_file_descriptions.lang_code = 'fa' WHERE 1=1  AND cscart_product_files.product_id = 1026 AND preview_path != '' AND cscart_product_files.status = 'A'  ORDER BY cscart_product_files.position asc, cscart_product_file_descriptions.file_name asc
1 0.00019 0.00019 0.00019
SELECT tax FROM cscart_tax_descriptions WHERE tax_id = 7 AND lang_code = 'fa'
1 0.00014 0.00014 0.00014
SELECT object_id, thread_id, type, object_type, company_id FROM cscart_discussion  WHERE 1  AND object_id = 1026 AND object_type = 'P'  AND cscart_discussion.company_id = 1  
1 0.00020 0.00020 0.00020
SELECT * FROM cscart_bm_containers as c LEFT JOIN cscart_bm_grids as g ON g.container_id = c.container_id WHERE 1  AND g.container_id IN (161, 162, 171, 164) ORDER BY g.order, g.parent_id, g.grid_id ASC
1 0.00023 0.00023 0.00023
SELECT c.*, IF (c.location_id != 43, 0, 1) as `default` FROM cscart_bm_containers as c  INNER JOIN cscart_bm_locations as l ON c.location_id = l.location_id AND l.is_default = 1 AND l.layout_id = 3 WHERE 1  AND c.position IN ('TOP_PANEL', 'HEADER', 'FOOTER')
1 0.00021 0.00021 0.00021
SELECT layout_id FROM cscart_bm_locations WHERE location_id = 43
1 0.00026 0.00026 0.00026
SELECT c.* FROM cscart_bm_containers as c  WHERE 1  AND c.location_id = 43
1 0.00030 0.00030 0.00030
SELECT data FROM cscart_storage_data WHERE data_key = 'cache_id'
1 0.00035 0.00035 0.00035
SELECT privilege FROM cscart_usergroup_privileges WHERE usergroup_id IN (0, 1)
1 0.00025 0.00025 0.00025
SELECT AVG (dr.rating_value) FROM cscart_discussion_rating AS dr LEFT JOIN cscart_discussion_posts AS dp ON dp.post_id = dr.post_id LEFT JOIN cscart_discussion AS d ON d.thread_id = dp.thread_id WHERE d.object_id = 1026 AND d.object_type = 'P' AND type IN ( 'B', 'R' )  AND d.company_id = 1 AND dp.status = 'A' AND dr.rating_value > 0
1 0.00017 0.00017 0.00017
SELECT thread_id, type, object_type, object_id FROM cscart_discussion WHERE thread_id = 764  AND cscart_discussion.company_id = 1
1 0.00016 0.00016 0.00016
SELECT cscart_tags.tag_id, cscart_tag_links.object_id, cscart_tag_links.object_type, cscart_tags.tag, cscart_tags.status, COUNT(cscart_tag_links.tag_id) as popularity FROM cscart_tags LEFT JOIN cscart_tag_links ON cscart_tag_links.tag_id = cscart_tags.tag_id WHERE 1  AND cscart_tags.company_id = 1 AND cscart_tag_links.object_type = 'P' AND cscart_tags.status IN ('A') AND cscart_tag_links.object_id = 1026 GROUP BY cscart_tags.tag_id  ORDER BY cscart_tags.tag asc 
1 0.00019 0.00019 0.00019
SELECT cscart_images.*, cscart_images_links.*, cscart_common_descriptions.description AS alt, cscart_images.image_id AS images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'fa' WHERE cscart_images_links.object_type = 'product' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id IN (1026) ORDER BY cscart_images_links.position, cscart_images_links.pair_id;SELECT cscart_images.*, cscart_images_links.*, cscart_common_descriptions.description AS alt, cscart_images.image_id AS images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'fa' WHERE cscart_images_links.object_type = 'product' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id IN (1026) ORDER BY cscart_images_links.position, cscart_images_links.pair_id
1 0.00079 0.00079 0.00079
SELECT subscription_id FROM cscart_product_subscriptions WHERE product_id = 1026 AND user_id = 0
1 0.00018 0.00018 0.00018
UPDATE cscart_product_popularity SET `viewed` = 1605, `added` = 120, `deleted` = 50, `bought` = 2, `total` = 5682 WHERE product_id IN (1037)
1 0.00093 0.00093 0.00093
SELECT product_id FROM cscart_product_popularity WHERE product_id IN (1037)
1 0.00050 0.00050 0.00050
SELECT * FROM cscart_product_popularity WHERE product_id = 1026
1 0.00044 0.00044 0.00044
SELECT product_id, parent_product_id FROM cscart_product_variation_group_products WHERE parent_product_id = 1026
1 0.00020 0.00020 0.00020
INSERT INTO cscart_product_popularity (`viewed`, `added`, `deleted`, `bought`, `total`, `product_id`) VALUES (1, 0, 0, 0, 3, 1026) ON DUPLICATE KEY UPDATE viewed = viewed + 1, added = added + 0, deleted = deleted + 0, bought = bought + 0, total = total + 3
1 0.00261 0.00261 0.00261
SHOW COLUMNS FROM cscart_product_popularity
1 0.00090 0.00090 0.00090
SELECT *,cscart_product_tabs.status as status,cscart_product_tabs.block_id as block_id,cscart_product_tabs.company_id as company_id,cscart_product_tabs_descriptions.name as name  FROM cscart_product_tabs LEFT JOIN cscart_product_tabs_descriptions ON cscart_product_tabs.tab_id = cscart_product_tabs_descriptions.tab_id LEFT JOIN cscart_bm_blocks ON cscart_bm_blocks.block_id = cscart_product_tabs.block_id  WHERE cscart_product_tabs_descriptions.lang_code = 'fa'  AND cscart_product_tabs.company_id = 1  ORDER BY position
1 0.00020 0.00020 0.00020
SELECT a.*, b.option_name, b.internal_option_name, b.option_text, b.description, b.inner_hint, b.incorrect_message, b.comment FROM cscart_product_options as a  LEFT JOIN cscart_product_options_descriptions as b ON a.option_id = b.option_id AND b.lang_code = 'fa'  WHERE a.product_id IN (1026) AND a.status = 'A' ORDER BY a.position
1 0.00033 0.00033 0.00033
SELECT category_id, category FROM cscart_category_descriptions WHERE category_id IN (331, 319) AND lang_code = 'fa'
1 0.00015 0.00015 0.00015
SELECT data FROM cscart_storage_data WHERE data_key = 'store_mode'
1 0.00038 0.00038 0.00038
SELECT product_id, parent_product_id FROM cscart_product_variation_group_products WHERE product_id IN (1026)
1 0.00021 0.00021 0.00021
SELECT data FROM cscart_storage_data WHERE data_key = 'cart_products_next_check'
1 0.00020 0.00020 0.00020
SELECT cscart_bm_layouts.* FROM cscart_bm_layouts  WHERE 1  AND is_default = 1 AND theme_name = 'bost_theme' AND storefront_id = 1
1 0.00021 0.00021 0.00021
SELECT companies.* FROM cscart_companies AS companies  WHERE companies.company_id = 1 
1 0.00024 0.00024 0.00024
SELECT name, path FROM cscart_seo_names WHERE `object_id` = 319 AND `type` = 'c' AND `dispatch` = '' AND `lang_code` = 'fa'  AND cscart_seo_names.company_id IN (0, 1)
1 0.00018 0.00018 0.00018
SELECT name, path FROM cscart_seo_names WHERE `object_id` = 331 AND `type` = 'c' AND `dispatch` = '' AND `lang_code` = 'fa'  AND cscart_seo_names.company_id IN (0, 1)
1 0.00019 0.00019 0.00019
SELECT name, path FROM cscart_seo_names WHERE `object_id` = 1026 AND `type` = 'p' AND `dispatch` = '' AND `lang_code` = 'fa'  AND cscart_seo_names.company_id IN (0, 1)
1 0.00021 0.00021 0.00021
SELECT storefronts.* FROM cscart_storefronts AS storefronts LEFT JOIN cscart_storefronts_companies AS companies ON storefronts.storefront_id = companies.storefront_id WHERE 1 = 1 AND (companies.company_id IN ('1') ) GROUP BY storefronts.storefront_id   ORDER BY storefronts.is_default desc 
1 0.00026 0.00026 0.00026
SELECT object_id, name FROM cscart_seo_names WHERE name IN ('productions', 'tv') AND type = 'c' AND lang_code = 'fa'  AND ( cscart_seo_names.company_id = 1 OR cscart_seo_names.company_id = 0)
1 0.00019 0.00019 0.00019
SELECT * FROM cscart_bm_layouts WHERE 1  AND storefront_id = 1 AND layout_id = 3
1 0.00024 0.00024 0.00024
SELECT cscart_languages.lang_code, cscart_languages.name FROM cscart_languages  LEFT JOIN cscart_storefronts_languages AS storefronts_languages ON storefronts_languages.language_id = cscart_languages.lang_id WHERE 1 AND cscart_languages.status = 'A'AND (storefronts_languages.storefront_id = 1 OR storefronts_languages.storefront_id IS NULL)   
1 0.00020 0.00020 0.00020
SELECT storefronts.* FROM cscart_storefronts AS storefronts  WHERE 1 = 1 AND storefronts.storefront_id IN (1) GROUP BY storefronts.storefront_id   ORDER BY storefronts.is_default desc 
1 0.00037 0.00037 0.00037
SELECT * FROM cscart_seo_names WHERE name = '43bn3070km'  AND cscart_seo_names.company_id IN (0, 1) 
1 0.00035 0.00035 0.00035
SELECT type FROM cscart_seo_names WHERE name = '43bn3070km'  AND ( cscart_seo_names.company_id = 1 OR cscart_seo_names.company_id = 0)
1 0.00042 0.00042 0.00042
SELECT company_id, storefront, secure_storefront FROM cscart_companies WHERE company_id = 1
1 0.00049 0.00049 0.00049
SET time_zone = '+03:30'
1 0.00028 0.00028 0.00028
SELECT COUNT(*) FROM cscart_companies
1 0.00033 0.00033 0.00033
SELECT entry_page FROM cscart_companies WHERE company_id = 1 AND redirect_customer != 'Y'
1 0.00038 0.00038 0.00038
SELECT data FROM cscart_storage_data WHERE data_key = 'dev_mode'
1 0.00029 0.00029 0.00029
SELECT * FROM cscart_bm_locations as l LEFT JOIN cscart_bm_locations_descriptions as d ON d.location_id = l.location_id AND d.lang_code = 'fa' WHERE l.layout_id = 3  AND l.dispatch IN ('products.view') AND (FIND_IN_SET(1026, l.object_ids) OR l.object_ids = '')  ORDER BY l.object_ids desc  LIMIT 1
1 0.00031 0.00031 0.00031
SELECT meta_description, meta_keywords FROM cscart_category_descriptions WHERE category_id = 319 AND lang_code = 'fa'
1 0.00017 0.00017 0.00017
SELECT cscart_product_feature_variant_descriptions.variant, cscart_product_feature_variants.variant_id, cscart_product_feature_variants.feature_id, cscart_product_features_values.variant_id as selected, cscart_product_features.feature_type, cscart_seo_names.name as seo_name, cscart_seo_names.path as seo_path FROM cscart_product_feature_variants  LEFT JOIN cscart_product_feature_variant_descriptions ON cscart_product_feature_variant_descriptions.variant_id = cscart_product_feature_variants.variant_id AND cscart_product_feature_variant_descriptions.lang_code = 'fa' INNER JOIN cscart_product_features_values ON cscart_product_features_values.variant_id = cscart_product_feature_variants.variant_id AND cscart_product_features_values.lang_code = 'fa' AND cscart_product_features_values.product_id = 1026 LEFT JOIN cscart_product_features ON cscart_product_features.feature_id = cscart_product_feature_variants.feature_id LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = cscart_product_feature_variants.variant_id AND cscart_seo_names.type = 'e' AND cscart_seo_names.dispatch = '' AND cscart_seo_names.lang_code = 'fa'  AND ( cscart_seo_names.company_id = 1 OR cscart_seo_names.company_id = 0) WHERE 1  AND cscart_product_feature_variants.feature_id IN (3588, 2980, 2979, 3067, 2976, 2975, 2974, 2970, 3272, 2965, 2996, 2988, 2995, 2994, 2992, 2999, 2991, 3000, 3370, 2998, 2997, 2989, 2993, 2990, 3579, 2987, 3011, 3014, 3013, 3021, 3027, 3017, 3019, 3012, 3023, 3025, 3024, 3022, 3026, 3018, 3020, 3016, 3015, 3071, 3010, 3048, 3051, 3050, 3049, 3047, 3052, 3045, 3046, 3053, 3372, 3044, 3371, 3373, 3043, 3376, 3006, 3561, 3003, 3068, 3002, 3005, 3004, 3069, 3008, 3007, 3070, 3442, 3377, 3573, 2968, 3072, 3073, 3575, 3576, 3577, 3578, 2981, 2977, 2972, 2983, 2985, 2984)  GROUP BY cscart_product_feature_variants.variant_id ORDER BY cscart_product_feature_variants.position, cscart_product_feature_variant_descriptions.variant 
1 0.00024 0.00024 0.00024
SELECT SQL_CALC_FOUND_ROWS products.product_id, IF(shared_descr.product_id IS NOT NULL, shared_descr.product, descr1.product) as product, products.product_type, products.parent_product_id FROM cscart_products as products  LEFT JOIN cscart_product_descriptions as descr1 ON descr1.product_id = products.product_id AND descr1.lang_code = 'fa'  LEFT JOIN cscart_product_prices as prices ON prices.product_id = products.product_id AND prices.lower_limit = 1 INNER JOIN cscart_products_categories as products_categories ON products_categories.product_id = products.product_id INNER JOIN cscart_categories ON cscart_categories.category_id = products_categories.category_id  AND (cscart_categories.usergroup_ids = '' OR FIND_IN_SET(0, cscart_categories.usergroup_ids) OR FIND_IN_SET(1, cscart_categories.usergroup_ids)) AND cscart_categories.status IN ('A', 'H')   LEFT JOIN cscart_ult_product_descriptions shared_descr ON shared_descr.product_id = products.product_id  AND shared_descr.company_id = 1 AND shared_descr.lang_code = 'fa' LEFT JOIN cscart_product_required_products ON products.product_id = cscart_product_required_products.required_id WHERE 1  AND cscart_categories.company_id = 1 AND (products.usergroup_ids = '' OR FIND_IN_SET(0, products.usergroup_ids) OR FIND_IN_SET(1, products.usergroup_ids)) AND products.status IN ('A') AND prices.usergroup_id IN (0, 0, 1) AND cscart_product_required_products.product_id = 1026 GROUP BY products.product_id   ORDER BY products_categories.position asc, products.product_id ASC 
1 0.00024 0.00024 0.00024
SELECT c.company_id FROM cscart_products_categories pc LEFT JOIN cscart_categories c ON c.category_id = pc.category_id WHERE pc.product_id = 1026 GROUP BY c.company_id
1 0.00031 0.00031 0.00031
SELECT cscart_images.*, cscart_images_links.*, cscart_common_descriptions.description AS alt, cscart_images.image_id AS images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'fa' WHERE cscart_images_links.object_type = 'feature_variant' AND cscart_images_links.type = 'V' AND cscart_images_links.object_id IN (8257, 8682) ORDER BY cscart_images_links.position, cscart_images_links.pair_id;SELECT cscart_images.*, cscart_images_links.*, cscart_common_descriptions.description AS alt, cscart_images.image_id AS images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'fa' WHERE cscart_images_links.object_type = 'feature_variant' AND cscart_images_links.type = 'V' AND cscart_images_links.object_id IN (8257, 8682) ORDER BY cscart_images_links.position, cscart_images_links.pair_id
1 0.00107 0.00107 0.00107
SELECT filter_id, feature_id FROM cscart_product_filters INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = cscart_product_filters.filter_id AND cscart_ult_objects_sharing.share_company_id = 1 AND cscart_ult_objects_sharing.share_object_type = 'product_filters') WHERE status = 'A' 
1 0.00016 0.00016 0.00016
SELECT v.feature_id,         v.value,         v.value_int,         v.variant_id,         f.feature_type,         fd.description,         fd.prefix,         fd.suffix,         vd.variant,         f.parent_id,         f.position,         gf.position as gposition,         f.display_on_header,         f.display_on_catalog,         f.display_on_product,         f.feature_code,         f.purpose FROM cscart_product_features as f LEFT JOIN cscart_product_features_values as v ON v.feature_id = f.feature_id  LEFT JOIN cscart_product_features_descriptions as fd ON fd.feature_id = v.feature_id AND fd.lang_code = 'fa' LEFT JOIN cscart_product_feature_variants fv ON fv.variant_id = v.variant_id LEFT JOIN cscart_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id AND vd.lang_code = 'fa' LEFT JOIN cscart_product_features as gf ON gf.feature_id = f.parent_id AND gf.feature_type = 'G' INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = f.feature_id AND cscart_ult_objects_sharing.share_company_id = 1 AND cscart_ult_objects_sharing.share_object_type = 'product_features') WHERE f.status IN ('A') AND v.product_id = 1026  AND f.display_on_header = 'Y' AND ( f.categories_path = '' OR FIND_IN_SET(331, f.categories_path) OR FIND_IN_SET(319, f.categories_path) ) AND IF(f.parent_id, (SELECT status FROM cscart_product_features as df WHERE df.feature_id = f.parent_id), 'A') IN ('A') AND ( v.variant_id != 0 OR (f.feature_type != 'C' AND v.value != '') OR (f.feature_type = 'C') OR v.value_int != '') AND v.lang_code = 'fa' ORDER BY fd.description, fv.position
1 0.00023 0.00023 0.00023
SELECT pf.feature_id, pf.company_id, pf.feature_type, pf.parent_id, pf.display_on_product, pf.display_on_catalog, pf.display_on_header, cscart_product_features_descriptions.description, cscart_product_features_descriptions.internal_name, cscart_product_features_descriptions.lang_code, cscart_product_features_descriptions.prefix, cscart_product_features_descriptions.suffix, pf.categories_path, cscart_product_features_descriptions.full_description, pf.status, pf.comparison, pf.position, pf.purpose, pf.feature_style, pf.filter_style, pf.feature_code, pf.timestamp, pf.updated_timestamp FROM cscart_product_features AS pf LEFT JOIN cscart_product_features_descriptions ON cscart_product_features_descriptions.feature_id = pf.feature_id AND cscart_product_features_descriptions.lang_code = 'fa' INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = pf.feature_id AND cscart_ult_objects_sharing.share_company_id = 1 AND cscart_ult_objects_sharing.share_object_type = 'product_features') WHERE pf.feature_type = 'G' AND (pf.feature_id IN (2978, 2973, 2964, 3054, 2986, 3009, 3042, 3001, 3055, 2967, 3028, 3574, 2971, 2982) OR pf.feature_id NOT IN (SELECT parent_id FROM cscart_product_features))  AND pf.display_on_product = 'Y' AND ( pf.categories_path = '' OR ISNULL(pf.categories_path)OR FIND_IN_SET(331, pf.categories_path) OR FIND_IN_SET(319, pf.categories_path) ) ORDER BY pf.position, cscart_product_features_descriptions.description
1 0.00025 0.00025 0.00025
SELECT feature_id FROM cscart_product_features INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = cscart_product_features.feature_id AND cscart_ult_objects_sharing.share_company_id = 1 AND cscart_ult_objects_sharing.share_object_type = 'product_features') WHERE feature_id IN (3588, 2980, 2979, 3067, 2976, 2975, 2974, 2970, 3272, 2965, 2996, 2988, 2995, 2994, 2992, 2999, 2991, 3000, 3370, 2998, 2997, 2989, 2993, 2990, 3579, 2987, 3011, 3014, 3013, 3021, 3027, 3017, 3019, 3012, 3023, 3025, 3024, 3022, 3026, 3018, 3020, 3016, 3015, 3071, 3010, 3048, 3051, 3050, 3049, 3047, 3052, 3045, 3046, 3053, 3372, 3044, 3371, 3373, 3043, 3376, 3006, 3561, 3003, 3068, 3002, 3005, 3004, 3069, 3008, 3007, 3070, 3442, 3377, 3573, 2968, 3072, 3073, 3575, 3576, 3577, 3578, 2981, 2977, 2972, 2983, 2985, 2984) AND feature_type = 'E' 
1 0.00030 0.00030 0.00030
SELECT cscart_images.*, cscart_images_links.*, cscart_common_descriptions.description AS alt, cscart_images.image_id AS images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'fa' WHERE cscart_images_links.object_type = 'feature_variant' AND cscart_images_links.type = 'V' AND cscart_images_links.object_id IN (9710, 7932, 8597, 7821, 7822, 7808, 8584, 8701, 7835, 7803, 7791, 7797, 7805, 7806, 7815, 7811, 8697, 9709, 7818, 7784, 7773, 7804, 9789, 8256, 8682, 8692, 8253, 7850, 8699, 8257, 7830, 9791, 8683, 8700, 8698, 9717, 7788, 7828, 7793, 8632, 7819, 7789, 7848, 7777, 8750, 7782, 7816, 9755, 7847, 8595, 8591, 8587, 8590, 8589, 8593, 8588, 8594, 8601, 8630, 8629, 8627, 8625, 8623, 8624, 8621, 8596, 8592, 8599, 8598, 8617, 7813, 7779, 9719, 8600, 8616, 8620, 8619, 9708, 8631, 9704, 9705, 8628, 8618, 7800, 8626, 8586, 8585) ORDER BY cscart_images_links.position, cscart_images_links.pair_id;SELECT cscart_images.*, cscart_images_links.*, cscart_common_descriptions.description AS alt, cscart_images.image_id AS images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'fa' WHERE cscart_images_links.object_type = 'feature_variant' AND cscart_images_links.type = 'V' AND cscart_images_links.object_id IN (9710, 7932, 8597, 7821, 7822, 7808, 8584, 8701, 7835, 7803, 7791, 7797, 7805, 7806, 7815, 7811, 8697, 9709, 7818, 7784, 7773, 7804, 9789, 8256, 8682, 8692, 8253, 7850, 8699, 8257, 7830, 9791, 8683, 8700, 8698, 9717, 7788, 7828, 7793, 8632, 7819, 7789, 7848, 7777, 8750, 7782, 7816, 9755, 7847, 8595, 8591, 8587, 8590, 8589, 8593, 8588, 8594, 8601, 8630, 8629, 8627, 8625, 8623, 8624, 8621, 8596, 8592, 8599, 8598, 8617, 7813, 7779, 9719, 8600, 8616, 8620, 8619, 9708, 8631, 9704, 9705, 8628, 8618, 7800, 8626, 8586, 8585) ORDER BY cscart_images_links.position, cscart_images_links.pair_id
1 0.00203 0.00203 0.00203
SELECT pf.feature_id, pf.company_id, pf.feature_type, pf.parent_id, pf.display_on_product, pf.display_on_catalog, pf.display_on_header, cscart_product_features_descriptions.description, cscart_product_features_descriptions.internal_name, cscart_product_features_descriptions.lang_code, cscart_product_features_descriptions.prefix, cscart_product_features_descriptions.suffix, pf.categories_path, cscart_product_features_descriptions.full_description, pf.status, pf.comparison, pf.position, pf.purpose, pf.feature_style, pf.filter_style, pf.feature_code, pf.timestamp, pf.updated_timestamp, pf_groups.position AS group_position, cscart_product_features_values.value, cscart_product_features_values.variant_id, cscart_product_features_values.value_int FROM cscart_product_features AS pf  LEFT JOIN cscart_product_features AS pf_groups ON pf.parent_id = pf_groups.feature_id LEFT JOIN cscart_product_features_descriptions AS pf_groups_description ON pf_groups_description.feature_id = pf.parent_id AND pf_groups_description.lang_code = 'fa' LEFT JOIN cscart_product_features_descriptions ON cscart_product_features_descriptions.feature_id = pf.feature_id AND cscart_product_features_descriptions.lang_code = 'fa' INNER JOIN cscart_product_features_values ON cscart_product_features_values.feature_id = pf.feature_id AND cscart_product_features_values.product_id = 1026 AND cscart_product_features_values.lang_code = 'fa' INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = pf.feature_id AND cscart_ult_objects_sharing.share_company_id = 1 AND cscart_ult_objects_sharing.share_object_type = 'product_features') WHERE 1  AND pf.feature_type != 'G' AND pf.status IN ('A') AND (pf_groups.status IN ('A') OR pf_groups.status IS NULL) AND pf.display_on_product = 'Y' AND ( pf.categories_path = '' OR ISNULL(pf.categories_path)OR FIND_IN_SET(331, pf.categories_path) OR FIND_IN_SET(319, pf.categories_path) ) GROUP BY pf.feature_id ORDER BY group_position, pf_groups_description.description, pf_groups.feature_id, pf.position, cscart_product_features_descriptions.description, pf.feature_id 
1 0.00034 0.00034 0.00034
SELECT usergroup_ids FROM cscart_products WHERE product_id = 1026
1 0.00018 0.00018 0.00018
SELECT id_path FROM cscart_categories WHERE category_id IN (319)
1 0.00017 0.00017 0.00017
SELECT c.company_id FROM cscart_products_categories pc LEFT JOIN cscart_categories c ON c.category_id = pc.category_id WHERE pc.product_id = 1026  GROUP BY c.company_id LIMIT 2
1 0.00016 0.00016 0.00016
SELECT prices.product_id, prices.lower_limit, usergroup_id, prices.percentage_discount, IF(prices.percentage_discount = 0, prices.price, prices.price - (prices.price * prices.percentage_discount)/100) as price FROM cscart_product_prices prices WHERE prices.product_id = 1026  AND lower_limit > 1 AND prices.usergroup_id IN (0, 0, 1) ORDER BY lower_limit
1 0.00036 0.00036 0.00036
SELECT cscart_images.*, cscart_images_links.*, cscart_common_descriptions.description AS alt, cscart_images.image_id AS images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'fa' WHERE cscart_images_links.object_type = 'product' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id = '1026' ORDER BY cscart_images_links.position, cscart_images_links.pair_id;SELECT cscart_images.*, cscart_images_links.*, cscart_common_descriptions.description AS alt, cscart_images.image_id AS images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'fa' WHERE cscart_images_links.object_type = 'product' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id = '1026' ORDER BY cscart_images_links.position, cscart_images_links.pair_id
1 0.00068 0.00068 0.00068
SELECT cscart_images.*, cscart_images_links.*, cscart_common_descriptions.description AS alt, cscart_images.image_id AS images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'fa' WHERE cscart_images_links.object_type = 'product' AND cscart_images_links.type = 'A' AND cscart_images_links.object_id = '1026' ORDER BY cscart_images_links.position, cscart_images_links.pair_id;SELECT cscart_images.*, cscart_images_links.*, cscart_common_descriptions.description AS alt, cscart_images.image_id AS images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'fa' WHERE cscart_images_links.object_type = 'product' AND cscart_images_links.type = 'A' AND cscart_images_links.object_id = '1026' ORDER BY cscart_images_links.position, cscart_images_links.pair_id
1 0.00083 0.00083 0.00083
SELECT cscart_products.*, cscart_product_descriptions.*, MIN(IF(cscart_product_prices.percentage_discount = 0, cscart_product_prices.price, cscart_product_prices.price - (cscart_product_prices.price * cscart_product_prices.percentage_discount)/100)) as price, GROUP_CONCAT( CASE   WHEN (cscart_products_categories.link_type = 'M') THEN CONCAT(cscart_products_categories.category_id, 'M')   ELSE cscart_products_categories.category_id END ORDER BY cscart_categories.company_id = 1 DESC, (cscart_products_categories.link_type = 'M') DESC, cscart_products_categories.category_position ASC, cscart_products_categories.category_id ASC) as category_ids, popularity.total as popularity, IF(shared_prices.product_id IS NOT NULL,MIN(IF(shared_prices.percentage_discount = 0, shared_prices.price, shared_prices.price - (shared_prices.price * shared_prices.percentage_discount)/100)),MIN(IF(cscart_product_prices.percentage_discount = 0, cscart_product_prices.price, cscart_product_prices.price - (cscart_product_prices.price * cscart_product_prices.percentage_discount)/100))) as price, companies.company as company_name, cscart_product_sales.amount as sales_amount, cscart_seo_names.name as seo_name, cscart_seo_names.path as seo_path, cscart_discussion.type as discussion_type FROM cscart_products LEFT JOIN cscart_product_prices ON cscart_product_prices.product_id = cscart_products.product_id AND cscart_product_prices.lower_limit = 1  AND cscart_product_prices.usergroup_id IN (0, 0, 1)  LEFT JOIN cscart_product_descriptions ON cscart_product_descriptions.product_id = cscart_products.product_id AND cscart_product_descriptions.lang_code = 'fa' LEFT JOIN cscart_ult_product_prices shared_prices ON shared_prices.product_id = cscart_products.product_id AND shared_prices.company_id = 1 AND shared_prices.lower_limit = 1  AND shared_prices.usergroup_id IN (0, 0, 1) LEFT JOIN cscart_companies as companies ON companies.company_id = cscart_products.company_id INNER JOIN cscart_products_categories ON cscart_products_categories.product_id = cscart_products.product_id INNER JOIN cscart_categories ON cscart_categories.category_id = cscart_products_categories.category_id  AND cscart_categories.company_id = 1 AND (cscart_categories.usergroup_ids = '' OR FIND_IN_SET(0, cscart_categories.usergroup_ids) OR FIND_IN_SET(1, cscart_categories.usergroup_ids)) AND (cscart_products.usergroup_ids = '' OR FIND_IN_SET(0, cscart_products.usergroup_ids) OR FIND_IN_SET(1, cscart_products.usergroup_ids)) AND cscart_categories.status IN ('A', 'H') AND cscart_products.status IN ('A', 'H') LEFT JOIN cscart_product_popularity as popularity ON popularity.product_id = cscart_products.product_id LEFT JOIN cscart_product_sales ON cscart_product_sales.product_id = cscart_products.product_id AND cscart_product_sales.category_id = 319 LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = 1026 AND cscart_seo_names.type = 'p' AND cscart_seo_names.dispatch = '' AND cscart_seo_names.lang_code = 'fa' AND cscart_seo_names.company_id = 1 LEFT JOIN cscart_discussion ON cscart_discussion.object_id = cscart_products.product_id AND cscart_discussion.object_type = 'P' AND cscart_discussion.company_id = 1 WHERE cscart_products.product_id = 1026  AND (companies.status IN ('A') OR cscart_products.company_id = 0) GROUP BY cscart_products.product_id
1 0.00255 0.00255 0.00255
SELECT storefronts.* FROM cscart_storefronts AS storefronts  WHERE 1 = 1 AND storefronts.is_default IN ('Y') GROUP BY storefronts.storefront_id   ORDER BY storefronts.is_default desc 
1 0.00017 0.00017 0.00017
SELECT category_id FROM cscart_products_categories WHERE product_id = 1026 AND link_type = 'M'
1 0.00018 0.00018 0.00018
SELECT cscart_bm_snapping.grid_id as grid_id,cscart_bm_snapping.block_id as block_id,IFNULL(dynamic_object_content.content, default_content.content) as content,IFNULL(dynamic_object_content.object_id, default_content.object_id) AS object_id,IFNULL(dynamic_object_content.object_type, default_content.object_type) AS object_type,cscart_bm_block_statuses.object_ids as object_ids,cscart_bm_snapping.*,cscart_bm_blocks.*,cscart_bm_blocks_descriptions.* FROM cscart_bm_snapping LEFT JOIN cscart_bm_blocks ON cscart_bm_blocks.block_id = cscart_bm_snapping.block_id LEFT JOIN cscart_bm_block_statuses ON cscart_bm_snapping.snapping_id = cscart_bm_block_statuses.snapping_id AND cscart_bm_block_statuses.object_type LIKE 'products' LEFT JOIN cscart_bm_blocks_descriptions ON cscart_bm_blocks.block_id = cscart_bm_blocks_descriptions.block_id  LEFT JOIN cscart_bm_blocks_content AS default_content ON cscart_bm_blocks.block_id = default_content.block_id AND cscart_bm_blocks_descriptions.lang_code = default_content.lang_code AND default_content.snapping_id = 0 AND default_content.object_id = 0 AND default_content.object_type like '' LEFT JOIN cscart_bm_blocks_content AS dynamic_object_content ON cscart_bm_blocks.block_id = dynamic_object_content.block_id AND cscart_bm_blocks_descriptions.lang_code = dynamic_object_content.lang_code AND dynamic_object_content.object_id = 1026 AND dynamic_object_content.object_type like 'products' WHERE cscart_bm_snapping.grid_id IN (157, 159, 255, 161, 164, 162, 160, 256, 254, 163, 170, 171, 172, 173)  AND cscart_bm_blocks_descriptions.lang_code='fa'  AND cscart_bm_blocks.company_id = 1 ORDER BY cscart_bm_snapping.order, cscart_bm_snapping.block_id 
1 0.00026 0.00026 0.00026