Предложения спонсоров «Капелланина»: |
debug info
db_connect()
getRow(): SELECT id FROM addr where ip='3.233.221.90'; result: OK
getValue(): SELECT mode FROM addr where id='969452'; result: OK
User not logged in or cookies disabled
Addr_id: 969452; Addr_mode: 2
case ADDR_NOCOOKIES
getValue(): SELECT time FROM addr where id='969452'; result: OK
Time: 1701722709, Saved time: 1701722657
URI: /id381
Script: /names/index.php
Query: ID=381
Referer:
getQueryParam(): id=381
getRow(): SELECT * FROM person WHERE id=381 AND 0 >= person.rights; result: OK
getRow(): SELECT byear, ddate, dmonth, dyear FROM person WHERE id = 381; result: OK
getRow(): SELECT * FROM person WHERE id = 381 AND 0 >= rights; result: OK
getAcademInfo(): SELECT * FROM person2course WHERE person=381; result: OK
getRelatives4Person: SELECT id, lname, fname, mname, type FROM person, person2person WHERE id2=id AND id1=381 AND 0 >= rights order by start; result: OK
getActivities(): SELECT * FROM activity WHERE person_id = 381; result: OK
getRelatives4Person: SELECT id, lname, fname, mname, type FROM person, person2person WHERE id1=id AND id2=381 AND 0 >= rights order by lname, fname, mname; result: OK
getEvents4Person(): SELECT event.* FROM person2event, event WHERE person=381 AND event.id=person2event.event AND sdate >= '2023-12-04' GROUP BY event.id ORDER BY sdate ASC; result: OK
getEvents4Person(): SELECT event.* FROM person2event, event WHERE person=381 AND event.id=person2event.event AND sdate < '2023-12-04' GROUP BY event.id ORDER BY sdate DESC; result: OK
getMaterials4Person(): SELECT material_id FROM person2material WHERE person2material.id=381 ORDER BY type DESC; result: OK
getSources(): SELECT * FROM person2source WHERE id=381; result: OK
getThumbnails4Person(): SELECT id FROM foto2person WHERE foto2person.person_id = 381; result: OK
getThumbnails4Person(): SELECT * FROM foto WHERE id in (1300, 16086) ORDER BY sdate, id; result: OK
getPeople(): SELECT person.id, lname, fname, mname, pre, name, post FROM foto2person, person WHERE foto2person.id = 16086 AND foto2person.person_id=person.id AND 0 >= person.rights ORDER BY ord; result: OK
getPeople(): SELECT person.id, lname, fname, mname, pre, name, post FROM foto2person, person WHERE foto2person.id = 1300 AND foto2person.person_id=person.id AND 0 >= person.rights ORDER BY ord; result: OK
printContactInfo(): SELECT * FROM contacts4person WHERE id = 381 ORDER BY type; result: OK
getRow(): SELECT * FROM person WHERE id=381 AND 0 >= person.rights; result: OK
getRow(): SELECT id FROM uri where uri='/id381'; result: OK
getDateCounter(): SELECT COUNT(*) from user where creation_time > '1701636310'; result: OK
error log