Query fail: select count(book_id) as count from st_book where book_cat_id = and book_active = 1 LIMIT 1;
- Error No: 1064
- Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and book_active = 1 LIMIT 1' at line 1
- Call: Function query_first in /var/www/vhosts/dig-doc.org/httpdocs/includes/book/category.php on line 77
Invalid Query ID: . Records could not be fetched.
- Error No: 1064
- Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and book_active = 1 LIMIT 1' at line 1
- Call: Function query_first in /var/www/vhosts/dig-doc.org/httpdocs/includes/book/category.php on line 77
Query fail: select cat_title from st_book_category where cat_id = LIMIT 1;
- Error No: 1064
- Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'LIMIT 1' at line 1
- Call: Function query_first in /var/www/vhosts/dig-doc.org/httpdocs/includes/book/category.php on line 89
Invalid Query ID: . Records could not be fetched.
- Error No: 1064
- Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'LIMIT 1' at line 1
- Call: Function query_first in /var/www/vhosts/dig-doc.org/httpdocs/includes/book/category.php on line 89
Query fail: select * from st_book_category where cat_father_id = and cat_active = 1 order by cat_pos
- Error No: 1064
- Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and cat_active = 1 order by cat_pos' at line 1
- Call: Function query in /var/www/vhosts/dig-doc.org/httpdocs/includes/book/category.php on line 91
Query fail: select *
from st_book
where st_book.book_active = 1 and book_cat_id =
order by book_id desc limit 0 , 12
- Error No: 1064
- Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'order by book_id desc limit 0 , 12' at line 4
- Call: Function query in /var/www/vhosts/dig-doc.org/httpdocs/includes/book/category.php on line 97