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/san-pham.portal=duk.cache.php:1221,
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/san-pham.portal=duk.cache.php:1221,
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/san-pham.portal=duk.cache.php:1221,
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/san-pham.portal=duk.cache.php:1221,
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/san-pham.portal=duk.cache.php:1222,
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/san-pham.portal=duk.cache.php:1222,
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/san-pham.portal=duk.cache.php:1222,
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/san-pham.portal=duk.cache.php:1222,
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` % 10000000000=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/san-pham.portal=duk.cache.php:1222,
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<"1788497899"
and advertisment.end_time>"1788497899"
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/san-pham.portal=duk.cache.php:1223,
run() at index.php:151
MySQL server has gone away
fetch_all(array (
0 => '
SELECT
id,
name_1 as name,
structure_id,
icon_url,
name_id
FROM
category
WHERE
((`structure_id` > 1020000000000000000 and `structure_id` < 1030000000000000000) and (`structure_id` % 100000000000000=0))
ORDER BY
category.position desc, id
LIMIT
0,4
',
)
) at packages/frontend/modules/ProductCategory/db.php:21,
get_categories(array (
0 => '((`structure_id` > 1020000000000000000 and `structure_id` < 1030000000000000000) and (`structure_id` % 100000000000000=0)) ',
)
) at packages/frontend/modules/ProductCategory/forms/list.php:17,
on_draw() at cache/pages/san-pham.portal=duk.cache.php:1225,
run() at index.php:151
MySQL server has gone away
fetch(array (
0 => '
SELECT
count(*) as acount
FROM
product
inner join category on category.id = product.category_id
WHERE
(`structure_id` >= 1020000000000000000 and `structure_id` < 1030000000000000000)
',
1 => 'acount',
)
) at packages/frontend/modules/ProductCategory/db.php:56,
get_total(array (
0 => '(`structure_id` >= 1020000000000000000 and `structure_id` < 1030000000000000000)',
)
) at packages/frontend/modules/ProductCategory/forms/list.php:35,
on_draw() at cache/pages/san-pham.portal=duk.cache.php:1225,
run() at index.php:151
MySQL server has gone away
fetch_all(array (
0 => '
SELECT
product.id,
product.name_1 as name,
image_url,
small_thumb_url,
product.name_id,
product.code,
product.price,
product.price_agent
FROM
product
inner join category on category.id = product.category_id
WHERE
(`structure_id` >= 1020000000000000000 and `structure_id` < 1030000000000000000)
ORDER BY
product.time desc
LIMIT
2856,28
',
)
) at packages/frontend/modules/ProductCategory/db.php:44,
get_products(array (
0 => '(`structure_id` >= 1020000000000000000 and `structure_id` < 1030000000000000000)',
1 => '2856,28',
)
) at packages/frontend/modules/ProductCategory/forms/list.php:40,
on_draw() at cache/pages/san-pham.portal=duk.cache.php:1225,
run() at index.php:151
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/san-pham.portal=duk.cache.php:1227,
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/san-pham.portal=duk.cache.php:1228,
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<"1788497899"
and advertisment.end_time>"1788497899"
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/san-pham.portal=duk.cache.php:1231,
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<"1788497899"
and advertisment.end_time>"1788497899"
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/san-pham.portal=duk.cache.php:1239,
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<"1788497899"
and advertisment.end_time>"1788497899"
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/san-pham.portal=duk.cache.php:1241,
run() at index.php:151