EN RU

+7(495) 221-11-80

Задать вопрос


SQL error: 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 parent_id= and cat='' and mark=1 order by number desc, element_id desc' at line 2
Query: select element_id from catalog_element where number< and parent_id= and cat='' and mark=1 order by number desc, element_id desc

Trace below:
/inc/lib/mysqldb.inc:39
DieTrace(
   SQL error: 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 parent_id= and cat='' and mark=1 order by number desc, element_id desc' at line 2
Query: select element_id from catalog_element where number< and parent_id= and cat='' and mark=1 order by number desc, element_id desc

)
/inc/lib/mysqldb.inc:168
TMySQLConnection::execute(
   select element_id from catalog_element where number< and parent_id= and cat='' and mark=1 order by number desc, element_id desc
)
/inc/lib/mysqldb.inc:162
TMySQLQuery::open(
   select element_id from catalog_element where number< and parent_id= and cat='' and mark=1 order by number desc, element_id desc
)
/modules/catalog/scripts/element_view.inc:18
TMySQLQuery::TMySQLQuery(
   select element_id from catalog_element where number< and parent_id= and cat='' and mark=1 order by number desc, element_id desc
)
/modules/catalog/scripts/catalog.inc:97
include(
   /var/www/modules/catalog/scripts/element_view.inc
)
/modules/catalog/site/index.html:3
include(
   /var/www/modules/catalog/scripts/catalog.inc
)
/modules/sitemap/admin/viewmodules.inc:67
include(
   /var/www/modules/catalog/site/index.html
)
/modules/sitemap/site/index.html:2
include(
   /var/www/modules/sitemap/admin/viewmodules.inc
)
/main/second.php:37
include(
   /var/www/modules/sitemap/site/index.html
)
/index.php:20
include(
   /var/www/main/second.php
)
$_SESSION:
Array
(
    [Basket] => Array
        (
        )

)

$_POST:
Array
(
)