Query fail: select count(advisory_id) as count from st_advisory where advisory_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/naasan.net/httpdocs/includes/advisory/category.php on line 124
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/naasan.net/httpdocs/includes/advisory/category.php on line 124
Query fail: select cat_title from st_advisory_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/naasan.net/httpdocs/includes/advisory/category.php on line 136
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/naasan.net/httpdocs/includes/advisory/category.php on line 136
Query fail: select * from st_advisory_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/naasan.net/httpdocs/includes/advisory/category.php on line 138
Query fail: select *
from st_advisory
where st_advisory.advisory_active = 1 and st_advisory.advisory_priority = 0
and st_advisory.advisory_is_new = 0 and advisory_cat_id =
order by advisory_id desc limit 0 , 16
- 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 advisory_id desc limit 0 , 16' at line 5
- Call: Function query in /var/www/vhosts/naasan.net/httpdocs/includes/advisory/category.php on line 145