Предложения спонсоров «Капелланина»: |
debug info
/log/db.php.getRow: SELECT id FROM addr where ip='3.21.247.145'; result: OK
/login/db.php.getValue: SELECT mode FROM addr where id='1067520'; result: OK
User not logged in or cookies disabled
Addr_id: 1067520; Addr_mode: 1
case ADDR_TESTING
/login/db.php.getValue: SELECT time FROM addr where id='1067520'; result: OK
Cookies disabled
/login/db.php.setValue: UPDATE addr SET mode='2' WHERE id = 1067520; result: OK
URI: /id1257
Script: /names/index.php
Query: ID=1257
Referer:
/vk/model.php.getRow: SELECT `value` FROM `blob` WHERE `key` = 'vkAutoCache' result: OK
getQueryParam(): id=1257
/log/db.php.getRow: SELECT * FROM person WHERE id=1257 AND 0 >= person.rights; result: OK
/names/db.php.getRow: SELECT byear, ddate, dmonth, dyear FROM person WHERE id = 1257; result: OK
/names/db.php.getRow: SELECT * FROM person WHERE id = 1257 AND 0 >= rights; result: OK
/names/db.php.getAcademInfoNew: SELECT * FROM person2course WHERE person=1257; result: OK
/names/db.php.getRelatives4Person: SELECT id, lname, fname, mname, type FROM person, person2person WHERE id2=id AND id1=1257 AND 0 >= rights order by start; result: OK
/names/db.php.getActivities: SELECT * FROM activity WHERE person_id = 1257; result: OK
/names/db.php.getRelatives4Person: SELECT id, lname, fname, mname, type FROM person, person2person WHERE id1=id AND id2=1257 AND 0 >= rights order by lname, fname, mname; result: OK
/names/db.php.getEvents4Person: SELECT event.* FROM person2event, event WHERE person=1257 AND event.id=person2event.event AND sdate >= '2024-9-01' GROUP BY event.id ORDER BY sdate ASC; result: OK
/names/db.php.getEvents4Person: SELECT event.* FROM person2event, event WHERE person=1257 AND event.id=person2event.event AND sdate < '2024-9-01' GROUP BY event.id ORDER BY sdate DESC; result: OK
/misc/db.php.getList: SELECT material_id FROM person2material WHERE person2material.id=1257 ORDER BY type DESC; result: OK
/names/db.php.getSources: SELECT * FROM person2source WHERE id=1257; result: OK
/biblio/db.php.getRow: SELECT * FROM biblio WHERE type <> 'a' AND id=269 result: OK
/foto/db.php.getList: SELECT id FROM foto2person WHERE foto2person.person_id = 1257; result: OK
/names/db.php.getThumbnails4Person: SELECT * FROM foto WHERE id in ORDER BY sdate, id; result: 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 'ORDER BY sdate, id' at line 1
/names/db.php.getContacts: SELECT * FROM contacts4person WHERE id = 1257 ORDER BY type; result: OK
/log/db.php.getRow: SELECT * FROM person WHERE id=1257 AND 0 >= person.rights; result: OK
/log/db.php.getRow: SELECT id FROM uri where uri='/id1257'; result: OK
/counter.php.countUsers: SELECT COUNT(*) from user where creation_time > '1725062646'; result: OK
error log
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 'ORDER BY sdate, id' at line 1