Предложения спонсоров «Капелланина»: |
debug info
db_connect()
getRow(): SELECT id FROM addr where ip='3.238.180.174'; result: OK
getValue(): SELECT mode FROM addr where id='974054'; result: OK
User not logged in or cookies disabled
Addr_id: 974054; Addr_mode: 1
case ADDR_TESTING
getValue(): SELECT time FROM addr where id='974054'; result: OK
Cookies disabled
setValue(): UPDATE addr SET mode='2' WHERE id = 974054; result: OK
URI: /id2150
Script: /names/index.php
Query: ID=2150
Referer:
getQueryParam(): id=2150
getRow(): SELECT * FROM person WHERE id=2150 AND 0 >= person.rights; result: OK
getRow(): SELECT byear, ddate, dmonth, dyear FROM person WHERE id = 2150; result: OK
getRow(): SELECT * FROM person WHERE id = 2150 AND 0 >= rights; result: OK
getAcademInfo(): SELECT * FROM person2course WHERE person=2150; result: OK
getRelatives4Person: SELECT id, lname, fname, mname, type FROM person, person2person WHERE id2=id AND id1=2150 AND 0 >= rights order by start; result: OK
getActivities(): SELECT * FROM activity WHERE person_id = 2150; result: OK
getRelatives4Person: SELECT id, lname, fname, mname, type FROM person, person2person WHERE id1=id AND id2=2150 AND 0 >= rights order by lname, fname, mname; result: OK
getEvents4Person(): SELECT event.* FROM person2event, event WHERE person=2150 AND event.id=person2event.event AND sdate >= '2023-12-09' GROUP BY event.id ORDER BY sdate ASC; result: OK
getEvents4Person(): SELECT event.* FROM person2event, event WHERE person=2150 AND event.id=person2event.event AND sdate < '2023-12-09' GROUP BY event.id ORDER BY sdate DESC; result: OK
getMaterials4Person(): SELECT material_id FROM person2material WHERE person2material.id=2150 ORDER BY type DESC; result: OK
getSources(): SELECT * FROM person2source WHERE id=2150; result: OK
getThumbnails4Person(): SELECT id FROM foto2person WHERE foto2person.person_id = 2150; result: OK
getThumbnails4Person(): SELECT * FROM foto WHERE id in (4011, 4014, 5083, 5705, 11637, 13234, 13243, 13244) ORDER BY sdate, id; result: OK
getPeople(): SELECT person.id, lname, fname, mname, pre, name, post FROM foto2person, person WHERE foto2person.id = 4011 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 = 4014 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 = 5083 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 = 5705 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 = 11637 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 = 13234 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 = 13243 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 = 13244 AND foto2person.person_id=person.id AND 0 >= person.rights ORDER BY ord; result: OK
printContactInfo(): SELECT * FROM contacts4person WHERE id = 2150 ORDER BY type; result: OK
getRow(): SELECT * FROM person WHERE id=2150 AND 0 >= person.rights; result: OK
getRow(): SELECT id FROM uri where uri='/id2150'; result: OK
getDateCounter(): SELECT COUNT(*) from user where creation_time > '1702038477'; result: OK
error log