You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and `structure_id` < 1000000000000000000)
and (item.language_id="1" or item' at line 11
query(array (
0 => '
SELECT
item.id,
item.name,
item.time,
item.category_id
FROM
item
inner join category on item.category_id=category.id
left outer join item_language on item.id=item_language.item_id
WHERE
item.id != 109 AND item.id <109 and item.portal_id="#kdxd" and item.status!="HIDE" and item.type="NEWS" and (`structure_id` >= and `structure_id` < 1000000000000000000)
and (item.language_id="1" or item.language_id=0)
and item.id <109
ORDER BY
item.position, item.id DESC
LIMIT
0,10
',
)
) at packages/portal/includes/system/database.php:433,
fetch_all(array (
0 => '
SELECT
item.id,
item.name,
item.time,
item.category_id
FROM
item
inner join category on item.category_id=category.id
left outer join item_language on item.id=item_language.item_id
WHERE
item.id != 109 AND item.id <109 and item.portal_id="#kdxd" and item.status!="HIDE" and item.type="NEWS" and (`structure_id` >= and `structure_id` < 1000000000000000000)
and (item.language_id="1" or item.language_id=0)
and item.id <109
ORDER BY
item.position, item.id DESC
LIMIT
0,10
',
)
) at packages/enterprises/packages/example/modules/ExampleNewsDetail/db.php:53,
get_item_related(array (
0 => ' and item.portal_id="#kdxd" and item.status!="HIDE" and item.type="NEWS" and (`structure_id` >= and `structure_id` < 1000000000000000000)',
1 => '109',
2 => '<',
)
) at packages/enterprises/packages/example/modules/ExampleNewsDetail/forms/list.php:19,
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/news_detail.portal=kdxd.cache.php:640,
require_once(array (
0 => '/home/kcxbacninh/domains/kcxbacninh.gov.vn/public_html/cache/page_layouts/news_detail.portal=kdxd.cache.php',
)
) at packages/portal/includes/portal/portal.php:209,
run_page(array (
0 =>
array (
'id' => '13849',
'package_id' => '249',
'layout_id' => '0',
'layout' => 'packages/enterprises/packages/example/layouts/example-two-column.php',
'skin' => 'default',
'help_id' => '0',
'name' => 'news_detail',
'title_1' => 'Chi tiết tin tức',
'description_1' => '',
'description' => '',
'customer_id' => '0',
'read_only' => '0',
'show' => '1',
'cachable' => '0',
'cache_param' => '',
'params' => 'portal=kdxd',
'site_map_show' => '1',
'type' => 'CLIENT',
'condition' => '',
'is_use_sapi' => '0',
),
1 => 'news_detail',
2 => 'portal=kdxd',
)
) at packages/portal/includes/portal/portal.php:118,
run() at index.php:65
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and `structure_id` < 1000000000000000000)
and (item.language_id="1" or item' at line 11
query(array (
0 => '
SELECT
item.id,
item.name,
item.time,
item.category_id
FROM
item
inner join category on item.category_id=category.id
left outer join item_language on item.id=item_language.item_id
WHERE
item.id != 109 AND item.id <109 and item.portal_id="#kdxd" and item.status!="HIDE" and item.type="NEWS" and (`structure_id` >= and `structure_id` < 1000000000000000000)
and (item.language_id="1" or item.language_id=0)
and item.id >109
ORDER BY
item.position, item.id DESC
LIMIT
0,10
',
)
) at packages/portal/includes/system/database.php:433,
fetch_all(array (
0 => '
SELECT
item.id,
item.name,
item.time,
item.category_id
FROM
item
inner join category on item.category_id=category.id
left outer join item_language on item.id=item_language.item_id
WHERE
item.id != 109 AND item.id <109 and item.portal_id="#kdxd" and item.status!="HIDE" and item.type="NEWS" and (`structure_id` >= and `structure_id` < 1000000000000000000)
and (item.language_id="1" or item.language_id=0)
and item.id >109
ORDER BY
item.position, item.id DESC
LIMIT
0,10
',
)
) at packages/enterprises/packages/example/modules/ExampleNewsDetail/db.php:53,
get_item_related(array (
0 => ' and item.portal_id="#kdxd" and item.status!="HIDE" and item.type="NEWS" and (`structure_id` >= and `structure_id` < 1000000000000000000)',
1 => '109',
2 => '>',
)
) at packages/enterprises/packages/example/modules/ExampleNewsDetail/forms/list.php:20,
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/news_detail.portal=kdxd.cache.php:640,
require_once(array (
0 => '/home/kcxbacninh/domains/kcxbacninh.gov.vn/public_html/cache/page_layouts/news_detail.portal=kdxd.cache.php',
)
) at packages/portal/includes/portal/portal.php:209,
run_page(array (
0 =>
array (
'id' => '13849',
'package_id' => '249',
'layout_id' => '0',
'layout' => 'packages/enterprises/packages/example/layouts/example-two-column.php',
'skin' => 'default',
'help_id' => '0',
'name' => 'news_detail',
'title_1' => 'Chi tiết tin tức',
'description_1' => '',
'description' => '',
'customer_id' => '0',
'read_only' => '0',
'show' => '1',
'cachable' => '0',
'cache_param' => '',
'params' => 'portal=kdxd',
'site_map_show' => '1',
'type' => 'CLIENT',
'condition' => '',
'is_use_sapi' => '0',
),
1 => 'news_detail',
2 => 'portal=kdxd',
)
) at packages/portal/includes/portal/portal.php:118,
run() at index.php:65