SQL[1064] 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 's' AND NOT h.hidden AND h.path<>'index' AND 1=1' at line 6
- {KERNEL_DIR}/include/mysql.php: 50
query_mysql->query("SELECT COUNT(h.id) as n FROM htdocs as h
INNER JOIN httree as t ON (t.id=h.id_node)
LEFT JOIN users as u ON (h.author=u.id)
INNER JOIN htdocs_tags ht ON (h.id=ht.id_htdoc)
INNER JOIN tags tg ON (tg.id=ht.id_tag)
WHERE tg.name='Fleming's' AND NOT h.hidden AND h.path<>'index' AND 1=1"); - {KERNEL_DIR}/modules/htdocs/main.php: 147
query_mysql->format("SELECT COUNT(h.id) as n FROM htdocs as h
INNER JOIN httree as t ON (t.id=h.id_node)
LEFT JOIN users as u ON (h.author=u.id)
INNER JOIN htdocs_tags ht ON (h.id=ht.id_htdoc)
INNER JOIN tags tg ON (tg.id=ht.id_tag)
WHERE tg.name='Fleming's' AND NOT h.hidden AND h.path<>'index' AND 1=1"); - {KERNEL_DIR}/include/common.php: 46
include("{KERNEL_DIR}/modules/htdocs/main.php"); - {KERNEL_DIR}/tmp/htdoc#%2Ftags%2Findex.html#42.phpt: 2
module("/htdocs/main.php", Array
(
[tags] => 1
)
); - {KERNEL_DIR}/include/common.php: 64
include("{KERNEL_DIR}/tmp/htdoc#%2Ftags%2Findex.html#42.phpt"); - {KERNEL_DIR}/router.php: 173
template("{KERNEL_DIR}/tmp/htdoc#%2Ftags%2Findex.html#42.phpt"); - {DOCUMENT_ROOT}/errdoc.php: 5
include_once("{KERNEL_DIR}/router.php");