Предложения спонсоров «Капелланина»: |
debug info
/log/db.php.getRow: SELECT id FROM user where id='1953517'; result: OK
Got user id from cookies
/login/db.php.setValue: UPDATE user SET creation_time='1725151206' WHERE id = 1953517; result: OK
/login/db.php.getRow: SELECT * FROM user where id=1953517; result: OK
URI: /id2906
Script: /names/index.php
Query: ID=2906
Referer:
/vk/model.php.getRow: SELECT `value` FROM `blob` WHERE `key` = 'vkAutoCache' result: OK
/vk/model.php.getRow: SELECT `value` FROM `blob` WHERE `key` = 'vkCache' result: OK
/vk/model.php.lockVkCache: INSERT INTO `blob` (`key`, `value`) VALUES ('vkCache', '1725151208.417567'); result: OK
/vk/model.php.getRow: SELECT userId FROM vkSources WHERE exclude=0 ORDER BY lastRead LIMIT 1; result: OK
Getting posts for user 60266235. vk.api method: wall.get
/log/db.php.getRow: SELECT `value` FROM `blob` WHERE `key` = 'vk' result: OK
Checking vk access token... Valid. Expires 2024-09-01 11:50:20
Got 10. /vk/model.php.updateUser: UPDATE vkSources SET lastRead=1725151206, state='no updates (10 old posts)', exclude=0 WHERE userId=60266235; result: OK
/vk/model.php.lockVkCache: DELETE FROM `blob` WHERE `key` = 'vkCache'; result: OK
getQueryParam(): id=2906
/log/db.php.getRow: SELECT * FROM person WHERE id=2906 AND 0 >= person.rights; result: OK
/names/db.php.getRow: SELECT byear, ddate, dmonth, dyear FROM person WHERE id = 2906; result: OK
/names/db.php.getRow: SELECT * FROM person WHERE id = 2906 AND 0 >= rights; result: OK
/names/db.php.getAcademInfoNew: SELECT * FROM person2course WHERE person=2906; result: OK
/names/db.php.getRelatives4Person: SELECT id, lname, fname, mname, type FROM person, person2person WHERE id2=id AND id1=2906 AND 0 >= rights order by start; result: OK
/names/db.php.getActivities: SELECT * FROM activity WHERE person_id = 2906; result: OK
/names/db.php.getRelatives4Person: SELECT id, lname, fname, mname, type FROM person, person2person WHERE id1=id AND id2=2906 AND 0 >= rights order by lname, fname, mname; result: OK
/names/db.php.getEvents4Person: SELECT event.* FROM person2event, event WHERE person=2906 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=2906 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=2906 ORDER BY type DESC; result: OK
/names/db.php.getSources: SELECT * FROM person2source WHERE id=2906; result: OK
/foto/db.php.getList: SELECT id FROM foto2person WHERE foto2person.person_id = 2906; 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 = 2906 ORDER BY type; result: OK
/log/db.php.getRow: SELECT * FROM person WHERE id=2906 AND 0 >= person.rights; result: OK
/log/db.php.getRow: SELECT id FROM uri where uri='/id2906'; result: OK
/counter.php.countUsers: SELECT COUNT(*) from user where creation_time > '1725064807'; 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