Ошибка: Запрос select /*2.3*/ b._id, b.priority from bspravka.ss_businesses as b where b._id in (select /*1*/ b._id from bspravka.ss_businesses as b where b._id in () and b._disabled=0 and b.complete=1 and b.city_id=91 and b.address_rayon="Ленинский район" ) and b._disabled=0 and b.complete=1 and b.city_id=91 вызвал ошибку 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 b._disabled=0 and b.complete=1 and b.city_id=91 ' at line 5
Array ( [0] => Array ( [file] => /var/www/html2/system/lib/db.php [line] => 83 [function] => db_query [args] => Array ( [0] => select /*2.3*/ b._id, b.priority from bspravka.ss_businesses as b where b._id in (select /*1*/ b._id from bspravka.ss_businesses as b where b._id in () and b._disabled=0 and b.complete=1 and b.city_id=91 and b.address_rayon="Ленинский район" ) and b._disabled=0 and b.complete=1 and b.city_id=91 ) ) [1] => Array ( [file] => /var/www/html2/_content/textblocks/text/15/115 [line] => 1416 [function] => db_getAssocs [args] => Array ( [0] => select /*2.3*/ b._id, b.priority from bspravka.ss_businesses as b where b._id in (select /*1*/ b._id from bspravka.ss_businesses as b where b._id in () and b._disabled=0 and b.complete=1 and b.city_id=91 and b.address_rayon="Ленинский район" ) and b._disabled=0 and b.complete=1 and b.city_id=91 ) ) [2] => Array ( [file] => /var/www/html2/_content/pages/text/36/136_1 [line] => 4 [args] => Array ( [0] => /var/www/html2/_content/textblocks/text/15/115 ) [function] => include ) [3] => Array ( [file] => /var/www/html2/system/handler/index.php [line] => 370 [args] => Array ( [0] => /var/www/html2/_content/pages/text/36/136_1 ) [function] => require ) )
Ошибка: Запрос select /*3*/ count(b._id) from bspravka.ss_businesses as b where b._id in (select /*1*/ b._id from bspravka.ss_businesses as b where b._id in () and b._disabled=0 and b.complete=1 and b.city_id=91 and b.address_rayon="Ленинский район" ) and b._disabled=0 and b.complete=1 and b.city_id=91 вызвал ошибку 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 b._disabled=0 and b.complete=1 and b.city_id=91 ' at line 5
Array ( [0] => Array ( [file] => /var/www/html2/system/lib/db.php [line] => 128 [function] => db_query [args] => Array ( [0] => select /*3*/ count(b._id) from bspravka.ss_businesses as b where b._id in (select /*1*/ b._id from bspravka.ss_businesses as b where b._id in () and b._disabled=0 and b.complete=1 and b.city_id=91 and b.address_rayon="Ленинский район" ) and b._disabled=0 and b.complete=1 and b.city_id=91 ) ) [1] => Array ( [file] => /var/www/html2/_content/textblocks/text/15/115 [line] => 1480 [function] => db_getItem [args] => Array ( [0] => select /*3*/ count(b._id) from bspravka.ss_businesses as b where b._id in (select /*1*/ b._id from bspravka.ss_businesses as b where b._id in () and b._disabled=0 and b.complete=1 and b.city_id=91 and b.address_rayon="Ленинский район" ) and b._disabled=0 and b.complete=1 and b.city_id=91 ) ) [2] => Array ( [file] => /var/www/html2/_content/pages/text/36/136_1 [line] => 4 [args] => Array ( [0] => /var/www/html2/_content/textblocks/text/15/115 ) [function] => include ) [3] => Array ( [file] => /var/www/html2/system/handler/index.php [line] => 370 [args] => Array ( [0] => /var/www/html2/_content/pages/text/36/136_1 ) [function] => require ) )Добавить компанию