MySQL server has gone away
fetch(array (
0 => '
select
product.*,
product.name_1 as name,
product.brief_1 as brief,
category.name_1 as category_name,
product.description_1 as description,
product.seo_title,
product.seo_keywords,
product.seo_description,
category.name_id as cat_name_id
from
product
inner join category on category.id = product.category_id
where
product.name_id="body-lip-toyota-yaris-2019-mau-rider-2-v1" and product.status<>"HIDE"',
)) at packages/frontend/modules/ProductDetail/db.php:22,
get_product(array (
0 => 'body-lip-toyota-yaris-2019-mau-rider-2-v1',
)
) at packages/frontend/modules/ProductDetail/class.php:23,
init() at packages/frontend/modules/ProductDetail/class.php:17,
ProductDetail(array (
0 =>
array (
'id' => '72307',
'module_id' => '5957',
'page_id' => '10301',
'container_id' => '0',
'region' => 'center',
'position' => '1',
'skin_name' => 'default',
'layout' => 'default',
'name' => '',
'settings' =>
array (
),
'module' =>
array (
'id' => '5957',
'name' => 'ProductDetail',
'path' => 'packages/frontend/modules/ProductDetail/',
'type' => '',
'action_module_id' => '0',
'use_dblclick' => '0',
'package_id' => '331',
),
),
)) at cache/pages/xem-san-pham.portal=duk.cache.php:1121,
run() at index.php:151
MySQL server has gone away
set_setting(array (
0 => 'cache',
1 => '',
)
) at packages/backend/modules/SignIn/forms/sign_in.php:102,
get_sub_regions(array (
0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(49) : eval()'d code:18,
on_draw() at cache/pages/xem-san-pham.portal=duk.cache.php:1249,
run() at index.php:151
MySQL server has gone away
set_setting(array (
0 => 'cache',
1 => '',
)
) at packages/backend/modules/SignIn/forms/sign_in.php:102,
get_sub_regions(array (
0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(49) : eval()'d code:18,
on_draw() at cache/pages/xem-san-pham.portal=duk.cache.php:1249,
run() at index.php:151
MySQL server has gone away
set_setting(array (
0 => 'cache',
1 => '',
)
) at packages/backend/modules/SignIn/forms/sign_in.php:102,
get_sub_regions(array (
0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(49) : eval()'d code:18,
on_draw() at cache/pages/xem-san-pham.portal=duk.cache.php:1249,
run() at index.php:151
MySQL server has gone away
set_setting(array (
0 => 'cache',
1 => '',
)
) at packages/backend/modules/SignIn/forms/sign_in.php:102,
get_sub_regions(array (
0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(49) : eval()'d code:18,
on_draw() at cache/pages/xem-san-pham.portal=duk.cache.php:1249,
run() at index.php:151
MySQL server has gone away
set_setting(array (
0 => 'cache',
1 => 'cond = \'status<>"HIDE" and portal_id="\'.PORTAL_ID.\'" and structure_id<>\'.ID_ROOT.\'\';
if(Module::get_setting(\'category_id\'))
{
if(Module::get_setting(\'category_id\')==\'current\')
{
if(URL::get(\'category_id\') and $category = DB::select(\'category\',\'id="\'.URL::get(\'category_id\').\'" and portal_id="\'.PORTAL_ID.\'"\'))
{
$root_structure_id = $category[\'structure_id\'];
$title = $category[\'name_\'.Portal::language()];
while(IDStructure::level($root_structure_id)>2)
{
$root_structure_id = IDStructure::parent($root_structure_id);
$category_name = DB::select(\'category\',\'structure_id="\'.$root_structure_id.\'" and portal_id="\'.PORTAL_ID.\'"\');
$title = $category_name[\'name_\'.Portal::language()];
}
}
else
{
$root_structure_id = ID_ROOT;
}
}
else
{
$root_structure_id = DB::structure_id(\'category\',Module::get_setting(\'category_id\'));
$this->cond .= \' and \'.IDStructure::child_cond($root_structure_id).\' and id <>\'.Module::get_setting(\'category_id\');
}
}
else
{
$root_structure_id = ID_ROOT;
}
if(Module::get_setting(\'level_limit\'))
{
$this->cond .= \' and \'.IDStructure::direct_child_cond($root_structure_id,Module::get_setting(\'level_limit\')).\' \';
}
if(Module::get_setting(\'data_type\'))
{
$this->cond .= \' and type="\'.Module::get_setting(\'data_type\').\'"\';
}
if(Module::get_setting(\'extra_condition\'))
{
$this->cond .= Module::get_setting(\'extra_condition\');
}
$query = \'select *,name_\'.Portal::language().\' as name from category where \'.$this->cond.\' order by structure_id \';
$this->map[\'categories\'] = DB::fetch_all($query);?>',
)) at packages/frontend/modules/Navigation/forms/list.php:73,
get_sub_regions(array (
0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(49) : eval()'d code:18,
on_draw() at cache/pages/xem-san-pham.portal=duk.cache.php:1250,
run() at index.php:151
MySQL server has gone away
set_setting(array (
0 => 'cache',
1 => 'cond = \'status<>"HIDE" and portal_id="\'.PORTAL_ID.\'" and structure_id<>\'.ID_ROOT.\'\';
if(Module::get_setting(\'category_id\'))
{
if(Module::get_setting(\'category_id\')==\'current\')
{
if(URL::get(\'category_id\') and $category = DB::select(\'category\',\'id="\'.URL::get(\'category_id\').\'" and portal_id="\'.PORTAL_ID.\'"\'))
{
$root_structure_id = $category[\'structure_id\'];
$title = $category[\'name_\'.Portal::language()];
while(IDStructure::level($root_structure_id)>2)
{
$root_structure_id = IDStructure::parent($root_structure_id);
$category_name = DB::select(\'category\',\'structure_id="\'.$root_structure_id.\'" and portal_id="\'.PORTAL_ID.\'"\');
$title = $category_name[\'name_\'.Portal::language()];
}
}
else
{
$root_structure_id = ID_ROOT;
}
}
else
{
$root_structure_id = DB::structure_id(\'category\',Module::get_setting(\'category_id\'));
$this->cond .= \' and \'.IDStructure::child_cond($root_structure_id).\' and id <>\'.Module::get_setting(\'category_id\');
}
}
else
{
$root_structure_id = ID_ROOT;
}
if(Module::get_setting(\'level_limit\'))
{
$this->cond .= \' and \'.IDStructure::direct_child_cond($root_structure_id,Module::get_setting(\'level_limit\')).\' \';
}
if(Module::get_setting(\'data_type\'))
{
$this->cond .= \' and type="\'.Module::get_setting(\'data_type\').\'"\';
}
if(Module::get_setting(\'extra_condition\'))
{
$this->cond .= Module::get_setting(\'extra_condition\');
}
$query = \'select *,name_\'.Portal::language().\' as name from category where \'.$this->cond.\' order by structure_id \';
$this->map[\'categories\'] = DB::fetch_all($query);?>',
)) at packages/frontend/modules/Navigation/forms/list.php:73,
get_sub_regions(array (
0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(49) : eval()'d code:18,
on_draw() at cache/pages/xem-san-pham.portal=duk.cache.php:1250,
run() at index.php:151
MySQL server has gone away
set_setting(array (
0 => 'cache',
1 => 'cond = \'status<>"HIDE" and portal_id="\'.PORTAL_ID.\'" and structure_id<>\'.ID_ROOT.\'\';
if(Module::get_setting(\'category_id\'))
{
if(Module::get_setting(\'category_id\')==\'current\')
{
if(URL::get(\'category_id\') and $category = DB::select(\'category\',\'id="\'.URL::get(\'category_id\').\'" and portal_id="\'.PORTAL_ID.\'"\'))
{
$root_structure_id = $category[\'structure_id\'];
$title = $category[\'name_\'.Portal::language()];
while(IDStructure::level($root_structure_id)>2)
{
$root_structure_id = IDStructure::parent($root_structure_id);
$category_name = DB::select(\'category\',\'structure_id="\'.$root_structure_id.\'" and portal_id="\'.PORTAL_ID.\'"\');
$title = $category_name[\'name_\'.Portal::language()];
}
}
else
{
$root_structure_id = ID_ROOT;
}
}
else
{
$root_structure_id = DB::structure_id(\'category\',Module::get_setting(\'category_id\'));
$this->cond .= \' and \'.IDStructure::child_cond($root_structure_id).\' and id <>\'.Module::get_setting(\'category_id\');
}
}
else
{
$root_structure_id = ID_ROOT;
}
if(Module::get_setting(\'level_limit\'))
{
$this->cond .= \' and \'.IDStructure::direct_child_cond($root_structure_id,Module::get_setting(\'level_limit\')).\' \';
}
if(Module::get_setting(\'data_type\'))
{
$this->cond .= \' and type="\'.Module::get_setting(\'data_type\').\'"\';
}
if(Module::get_setting(\'extra_condition\'))
{
$this->cond .= Module::get_setting(\'extra_condition\');
}
$query = \'select *,name_\'.Portal::language().\' as name from category where \'.$this->cond.\' order by structure_id \';
$this->map[\'categories\'] = DB::fetch_all($query);?>',
)) at packages/frontend/modules/Navigation/forms/list.php:73,
get_sub_regions(array (
0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(49) : eval()'d code:18,
on_draw() at cache/pages/xem-san-pham.portal=duk.cache.php:1250,
run() at index.php:151
MySQL server has gone away
structure_id(array (
0 => 'category',
1 => '890',
)
) at packages/frontend/modules/Navigation/forms/list.php(85) : eval()'d code:28,
get_sub_regions(array (
0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(49) : eval()'d code:18,
on_draw() at cache/pages/xem-san-pham.portal=duk.cache.php:1250,
run() at index.php:151
MySQL server has gone away
fetch_all(array (
0 => 'select *,name_1 as name from category where status<>"HIDE" and portal_id="#duk" and structure_id<>1000000000000000000 and (`structure_id` >= and `structure_id` < 1000000000000000000) and id <>890 and ((`structure_id` > and `structure_id` < 1000000000000000000) and (`structure_id` % 100000000000000=0)) and type="PRODUCT" order by structure_id ',
)
) at packages/frontend/modules/Navigation/forms/list.php(85) : eval()'d code:50,
get_sub_regions(array (
0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(49) : eval()'d code:18,
on_draw() at cache/pages/xem-san-pham.portal=duk.cache.php:1250,
run() at index.php:151
MySQL server has gone away
fetch_all(array (
0 => '
select
advertisment.id,
media.name_1 as name,
media.url,
media.image_url,
media.height,
media.width
from
media
inner join advertisment on advertisment.item_id=media.id
where
advertisment.region = "home-left-1"
and advertisment.start_time<"1786351539"
and advertisment.end_time>"1786351539"
and type="ADVERTISMENT"
and portal_id="#duk"
order by
advertisment.position
limit
0,20
',
)
) at packages/backend/modules/Advertisment/forms/list.php:39,
on_draw() at cache/pages/xem-san-pham.portal=duk.cache.php:1251,
run() at index.php:151
Thêm sản phẩm vào giỏ hàng thành công
MySQL server has gone away
fetch_all(array (
0 => 'select id,name_id,name_1 as name from news where type="CONTENT" and portal_id="#duk" and status="HOME" order by id desc',
)
) at packages/frontend/modules/OrderInfo/forms/list.php:10,
get_sub_regions(array (
0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(49) : eval()'d code:18,
on_draw() at cache/pages/xem-san-pham.portal=duk.cache.php:1255,
run() at index.php:151
MySQL server has gone away
fetch_all(array (
0 => '
SELECT
*
FROM
support
WHERE
1
ORDER BY
support.position asc
',
)
) at packages/frontend/modules/SupportOnline/forms/list.php:36,
get_support() at packages/frontend/modules/SupportOnline/forms/list.php:18,
get_sub_regions(array (
0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(49) : eval()'d code:18,
on_draw() at cache/pages/xem-san-pham.portal=duk.cache.php:1256,
run() at index.php:151
MySQL server has gone away
fetch_all(array (
0 => '
select
advertisment.id,
media.name_1 as name,
media.url,
media.image_url,
media.height,
media.width
from
media
inner join advertisment on advertisment.item_id=media.id
where
advertisment.region = "home-right-1"
and advertisment.start_time<"1786351539"
and advertisment.end_time>"1786351539"
and type="ADVERTISMENT"
and portal_id="#duk"
order by
advertisment.position
limit
0,20
',
)
) at packages/backend/modules/Advertisment/forms/list.php:39,
get_sub_regions(array (
0 => 'content',
)
) at packages/core/modules/Frame/forms/list.php(49) : eval()'d code:18,
on_draw() at cache/pages/xem-san-pham.portal=duk.cache.php:1259,
run() at index.php:151
MySQL server has gone away
fetch_all(array (
0 => '
select
advertisment.id,
media.name_1 as name,
media.url,
media.image_url,
media.height,
media.width
from
media
inner join advertisment on advertisment.item_id=media.id
where
advertisment.region = "adv-left"
and advertisment.start_time<"1786351539"
and advertisment.end_time>"1786351539"
and type="ADVERTISMENT"
and portal_id="#duk"
order by
advertisment.position
limit
0,5
',
)
) at packages/backend/modules/Advertisment/forms/list.php:39,
on_draw() at cache/pages/xem-san-pham.portal=duk.cache.php:1268,
run() at index.php:151
MySQL server has gone away
fetch_all(array (
0 => '
select
advertisment.id,
media.name_1 as name,
media.url,
media.image_url,
media.height,
media.width
from
media
inner join advertisment on advertisment.item_id=media.id
where
advertisment.region = "adv-right"
and advertisment.start_time<"1786351539"
and advertisment.end_time>"1786351539"
and type="ADVERTISMENT"
and portal_id="#duk"
order by
advertisment.position
limit
0,5
',
)
) at packages/backend/modules/Advertisment/forms/list.php:39,
on_draw() at cache/pages/xem-san-pham.portal=duk.cache.php:1270,
run() at index.php:151