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<"1782721738"
and advertisment.end_time>"1782721738"
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
MySQL server has gone away
update_hit_count(array (
0 => 'product',
1 => '10166',
)
) at packages/frontend/modules/ProductDetail/forms/list.php:18,
on_draw() at cache/pages/xem-san-pham.portal=duk.cache.php:1253,
run() at index.php:151
MySQL server has gone away
structure_id(array (
0 => 'category',
1 => '315',
)
) at packages/frontend/modules/ProductDetail/forms/list.php:21,
on_draw() at cache/pages/xem-san-pham.portal=duk.cache.php:1253,
run() at index.php:151
MySQL server has gone away
fetch_all(array (
0 => '
select
product.id,
product.name_id,
product.image_url,
product.small_thumb_url,
product.name_1 as name,
product.brief_1 as brief,
product.description_1 as description
from
product
inner join category on category.id = product.category_id
where
product.status<>"HIDE" and product.portal_id="#duk" and product.id <>10166
limit
0,9
',
)
) at packages/frontend/modules/ProductDetail/db.php:42,
get_other_products(array (
0 => ' product.status<>"HIDE" and product.portal_id="#duk" and product.id <>10166',
)
) at packages/frontend/modules/ProductDetail/forms/list.php:25,
on_draw() at cache/pages/xem-san-pham.portal=duk.cache.php:1253,
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<"1782721738"
and advertisment.end_time>"1782721738"
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<"1782721738"
and advertisment.end_time>"1782721738"
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<"1782721738"
and advertisment.end_time>"1782721738"
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