Tram kham oc  Kham trai  Nghe nhan Nguyen Dinh Vinh
Thư viện ảnh
Thống kê lượt truy cập
Đang online: 8
Hôm nay: 386
Hôm qua: 317
Tuần này: 12148
Tháng này: 5719
Tất cả: 737,997

Lost connection to MySQL server during query
query(

array (
  0 => '
			SELECT
				item.id,
				item.name,
				item.url,
				item.image_url,
				item.category_id				
			FROM
				item
				inner join category on item.category_id=category.id
			WHERE
				item.portal_id="#tienhoa" AND item.category_id=64 and item.status!="HIDE" and item.type="ADVERTISMENT"
				AND (item.language_id="1" or item.language_id=0)
			ORDER BY
				item.id ASC,item.position
		',
)
) at packages/portal/includes/system/database.php:437,
fetch_all(
array (
  0 => '
			SELECT
				item.id,
				item.name,
				item.url,
				item.image_url,
				item.category_id				
			FROM
				item
				inner join category on item.category_id=category.id
			WHERE
				item.portal_id="#tienhoa" AND item.category_id=64 and item.status!="HIDE" and item.type="ADVERTISMENT"
				AND (item.language_id="1" or item.language_id=0)
			ORDER BY
				item.id ASC,item.position
		',
)
) at packages/enterprises/packages/example/modules/ExampleAdvCenter/db.php:21,
get_items(
array (
  0 => 'item.portal_id="#tienhoa" AND item.category_id=64 and item.status!="HIDE" and item.type="ADVERTISMENT"',
)
) at packages/enterprises/packages/example/modules/ExampleAdvCenter/forms/list.php:11,
draw() at packages/portal/includes/portal/form.php:295,
on_draw() at packages/portal/includes/portal/module.php:54,
draw() at packages/portal/includes/portal/module.php:69,
on_draw() at cache/page_layouts/product_detail.portal=tienhoa.cache.php:468,
require_once(
array (
  0 => '/home/vinhlan/domains/khamoc.com.vn/public_html/cache/page_layouts/product_detail.portal=tienhoa.cache.php',
)
) at packages/portal/includes/portal/portal.php:208,
run_page(
array (
  0 => 
  array (
    'id' => '13898',
    'package_id' => '249',
    'layout_id' => '0',
    'layout' => 'packages/enterprises/packages/example/layouts/example-two-column.php',
    'skin' => 'default',
    'help_id' => '0',
    'name' => 'product_detail',
    'title_1' => 'Production detail',
    'description_1' => '',
    'description' => '',
    'customer_id' => '0',
    'read_only' => '0',
    'show' => '1',
    'cachable' => '0',
    'cache_param' => '',
    'params' => 'portal=tienhoa',
    'site_map_show' => '1',
    'type' => 'CLIENT',
    'condition' => '',
    'is_use_sapi' => '0',
  ),
  1 => 'product_detail',
  2 => 'portal=tienhoa',
)
) at packages/portal/includes/portal/portal.php:117,
run() at index.php:61

MySQL server has gone away
query(

array (
  0 => '
				select 
					item.id,
					item.name,
					item.url,
					item.image_url,
					item.category_id,
					structure_id
				from 
					item left outer join category on category.id=item.category_id 
				where 
					1 and item.type ="CLIP" and item.status <> "HIDE" 
				order by 
					item.id desc 
				 limit 0,1',
)
) at packages/portal/includes/system/database.php:413,
fetch(
array (
  0 => '
				select 
					item.id,
					item.name,
					item.url,
					item.image_url,
					item.category_id,
					structure_id
				from 
					item left outer join category on category.id=item.category_id 
				where 
					1 and item.type ="CLIP" and item.status <> "HIDE" 
				order by 
					item.id desc 
				 limit 0,1',
)
) at packages/enterprises/packages/example/modules/ExampleVideoClipHome/forms/list.php:28,
draw() at packages/portal/includes/portal/form.php:295,
on_draw() at packages/portal/includes/portal/module.php:54,
draw() at packages/portal/includes/portal/module.php:69,
on_draw() at cache/page_layouts/product_detail.portal=tienhoa.cache.php:469,
require_once(
array (
  0 => '/home/vinhlan/domains/khamoc.com.vn/public_html/cache/page_layouts/product_detail.portal=tienhoa.cache.php',
)
) at packages/portal/includes/portal/portal.php:208,
run_page(
array (
  0 => 
  array (
    'id' => '13898',
    'package_id' => '249',
    'layout_id' => '0',
    'layout' => 'packages/enterprises/packages/example/layouts/example-two-column.php',
    'skin' => 'default',
    'help_id' => '0',
    'name' => 'product_detail',
    'title_1' => 'Production detail',
    'description_1' => '',
    'description' => '',
    'customer_id' => '0',
    'read_only' => '0',
    'show' => '1',
    'cachable' => '0',
    'cache_param' => '',
    'params' => 'portal=tienhoa',
    'site_map_show' => '1',
    'type' => 'CLIENT',
    'condition' => '',
    'is_use_sapi' => '0',
  ),
  1 => 'product_detail',
  2 => 'portal=tienhoa',
)
) at packages/portal/includes/portal/portal.php:117,
run() at index.php:61

MySQL server has gone away
query(

array (
  0 => '
			SELECT
				item.id,
				item.name,
				item.brief,
				item.description,
				item.small_thumb_url,
				item.thumb_url,
				item.image_url,
				item.category_id,
				item.hit_count,
				item.title,
				item.source,
				product.price,
				product.code,
				product.currency_id,
				product.avaibility,
				product.warranty,
				product.unit
			FROM
				item
				left outer join product on item.id=product.id
				inner join category on item.category_id=category.id
				left outer join item_language on item.id=item_language.item_id
			WHERE
				item.portal_id="#tienhoa" and item.status!="HIDE" and item.type="PRODUCT" and item.id=446			
			ORDER BY
				item.position,item.id
			LIMIT
				0,1
		',
)
) at packages/portal/includes/system/database.php:413,
fetch(
array (
  0 => '
			SELECT
				item.id,
				item.name,
				item.brief,
				item.description,
				item.small_thumb_url,
				item.thumb_url,
				item.image_url,
				item.category_id,
				item.hit_count,
				item.title,
				item.source,
				product.price,
				product.code,
				product.currency_id,
				product.avaibility,
				product.warranty,
				product.unit
			FROM
				item
				left outer join product on item.id=product.id
				inner join category on item.category_id=category.id
				left outer join item_language on item.id=item_language.item_id
			WHERE
				item.portal_id="#tienhoa" and item.status!="HIDE" and item.type="PRODUCT" and item.id=446			
			ORDER BY
				item.position,item.id
			LIMIT
				0,1
		',
)
) at packages/enterprises/packages/example/modules/ExampleProductDetail/db.php:37,
get_product(
array (
  0 => 'item.portal_id="#tienhoa" and item.status!="HIDE" and item.type="PRODUCT" and item.id=446',
)
) at packages/enterprises/packages/example/modules/ExampleProductDetail/forms/list.php:21,
draw() at packages/portal/includes/portal/form.php:295,
on_draw() at packages/portal/includes/portal/module.php:54,
draw() at packages/portal/includes/portal/module.php:69,
on_draw() at cache/page_layouts/product_detail.portal=tienhoa.cache.php:470,
require_once(
array (
  0 => '/home/vinhlan/domains/khamoc.com.vn/public_html/cache/page_layouts/product_detail.portal=tienhoa.cache.php',
)
) at packages/portal/includes/portal/portal.php:208,
run_page(
array (
  0 => 
  array (
    'id' => '13898',
    'package_id' => '249',
    'layout_id' => '0',
    'layout' => 'packages/enterprises/packages/example/layouts/example-two-column.php',
    'skin' => 'default',
    'help_id' => '0',
    'name' => 'product_detail',
    'title_1' => 'Production detail',
    'description_1' => '',
    'description' => '',
    'customer_id' => '0',
    'read_only' => '0',
    'show' => '1',
    'cachable' => '0',
    'cache_param' => '',
    'params' => 'portal=tienhoa',
    'site_map_show' => '1',
    'type' => 'CLIENT',
    'condition' => '',
    'is_use_sapi' => '0',
  ),
  1 => 'product_detail',
  2 => 'portal=tienhoa',
)
) at packages/portal/includes/portal/portal.php:117,
run() at index.php:61

MySQL server has gone away
query(

array (
  0 => 'update `item` set `hit_count`=\'1\' where id=""',
)
) at packages/portal/includes/system/database.php:363,
update(
array (
  0 => 'item',
  1 => 
  array (
    'hit_count' => 1,
  ),
  2 => 'id=""',
)
) at packages/portal/includes/system/database.php:375,
update_id(
array (
  0 => 'item',
  1 => 
  array (
    'hit_count' => 1,
  ),
  2 => NULL,
)
) at packages/enterprises/packages/example/modules/ExampleProductDetail/forms/list.php:26,
draw() at packages/portal/includes/portal/form.php:295,
on_draw() at packages/portal/includes/portal/module.php:54,
draw() at packages/portal/includes/portal/module.php:69,
on_draw() at cache/page_layouts/product_detail.portal=tienhoa.cache.php:470,
require_once(
array (
  0 => '/home/vinhlan/domains/khamoc.com.vn/public_html/cache/page_layouts/product_detail.portal=tienhoa.cache.php',
)
) at packages/portal/includes/portal/portal.php:208,
run_page(
array (
  0 => 
  array (
    'id' => '13898',
    'package_id' => '249',
    'layout_id' => '0',
    'layout' => 'packages/enterprises/packages/example/layouts/example-two-column.php',
    'skin' => 'default',
    'help_id' => '0',
    'name' => 'product_detail',
    'title_1' => 'Production detail',
    'description_1' => '',
    'description' => '',
    'customer_id' => '0',
    'read_only' => '0',
    'show' => '1',
    'cachable' => '0',
    'cache_param' => '',
    'params' => 'portal=tienhoa',
    'site_map_show' => '1',
    'type' => 'CLIENT',
    'condition' => '',
    'is_use_sapi' => '0',
  ),
  1 => 'product_detail',
  2 => 'portal=tienhoa',
)
) at packages/portal/includes/portal/portal.php:117,
run() at index.php:61

MySQL server has gone away
query(

array (
  0 => '
				SELECT 
					item.id,
					item.name,
					item.small_thumb_url,
					item.category_id,
					product.price,
					product.currency_id
				FROM
					item
					left outer join product on item.id=product.id
					inner join category on item.category_id=category.id
					left outer join item_language on item.id=item_language.item_id
				WHERE
					item.id!="0"
					and item.category_id="0"	
				ORDER BY
					item.position, item.time DESC, item.id DESC
				LIMIT
					0,8		
		',
)
) at packages/portal/includes/system/database.php:437,
fetch_all(
array (
  0 => '
				SELECT 
					item.id,
					item.name,
					item.small_thumb_url,
					item.category_id,
					product.price,
					product.currency_id
				FROM
					item
					left outer join product on item.id=product.id
					inner join category on item.category_id=category.id
					left outer join item_language on item.id=item_language.item_id
				WHERE
					item.id!="0"
					and item.category_id="0"	
				ORDER BY
					item.position, item.time DESC, item.id DESC
				LIMIT
					0,8		
		',
)
) at packages/enterprises/packages/example/modules/ExampleProductDetail/db.php:62,
product_related(
array (
  0 => NULL,
  1 => NULL,
)
) at packages/enterprises/packages/example/modules/ExampleProductDetail/forms/list.php:27,
draw() at packages/portal/includes/portal/form.php:295,
on_draw() at packages/portal/includes/portal/module.php:54,
draw() at packages/portal/includes/portal/module.php:69,
on_draw() at cache/page_layouts/product_detail.portal=tienhoa.cache.php:470,
require_once(
array (
  0 => '/home/vinhlan/domains/khamoc.com.vn/public_html/cache/page_layouts/product_detail.portal=tienhoa.cache.php',
)
) at packages/portal/includes/portal/portal.php:208,
run_page(
array (
  0 => 
  array (
    'id' => '13898',
    'package_id' => '249',
    'layout_id' => '0',
    'layout' => 'packages/enterprises/packages/example/layouts/example-two-column.php',
    'skin' => 'default',
    'help_id' => '0',
    'name' => 'product_detail',
    'title_1' => 'Production detail',
    'description_1' => '',
    'description' => '',
    'customer_id' => '0',
    'read_only' => '0',
    'show' => '1',
    'cachable' => '0',
    'cache_param' => '',
    'params' => 'portal=tienhoa',
    'site_map_show' => '1',
    'type' => 'CLIENT',
    'condition' => '',
    'is_use_sapi' => '0',
  ),
  1 => 'product_detail',
  2 => 'portal=tienhoa',
)
) at packages/portal/includes/portal/portal.php:117,
run() at index.php:61
Chi tiết sản phẩm