Предложения спонсоров «Капелланина»: |
debug info
db_connect()
getRow(): SELECT id FROM addr where ip='3.226.122.122'; result: OK
getValue(): SELECT mode FROM addr where id='917570'; result: OK
getRow(): SELECT id FROM addr where ip='3.226.122.122'; result: OK
getValue(): SELECT mode FROM addr where id='917570'; result: OK
User not logged in or cookies disabled
Addr_id: 917570; Addr_mode: 1
case ADDR_TESTING
getValue(): SELECT time FROM addr where id='917570'; result: OK
Cookies disabled
setValue(): UPDATE addr SET mode='2' WHERE id = 917570; result: OK
getQueryParam(): id=701
getRow(): SELECT * FROM person WHERE id=701 AND 0 >= person.rights; result: OK
getRow(): SELECT byear, ddate, dmonth, dyear FROM person WHERE id = 701; result: OK
getRow(): SELECT * FROM person WHERE id = 701 AND 0 >= rights; result: OK
getAcademInfo(): SELECT * FROM person2course WHERE person=701; result: OK
getRelatives4Person: SELECT id, lname, fname, mname, type FROM person, person2person WHERE id2=id AND id1=701 AND 0 >= rights order by start; result: OK
getActivities(): SELECT * FROM activity WHERE person_id = 701; result: OK
getRelatives4Person: SELECT id, lname, fname, mname, type FROM person, person2person WHERE id1=id AND id2=701 AND 0 >= rights order by lname, fname, mname; result: OK
getEvents4Person(): SELECT event.* FROM person2event, event WHERE person=701 AND event.id=person2event.event AND sdate >= '2023-4-02' GROUP BY event.id ORDER BY sdate ASC; result: OK
getEvents4Person(): SELECT event.* FROM person2event, event WHERE person=701 AND event.id=person2event.event AND sdate < '2023-4-02' GROUP BY event.id ORDER BY sdate DESC; result: OK
getMaterials4Person(): SELECT material_id FROM person2material WHERE person2material.id=701 ORDER BY type DESC; result: OK
getSources(): SELECT * FROM person2source WHERE id=701; result: OK
getThumbnails4Person(): SELECT id FROM foto2person WHERE foto2person.person_id = 701; result: OK
getThumbnails4Person(): SELECT * FROM foto WHERE id in (384, 523, 529, 944, 945, 951, 1338) ORDER BY sdate, id; result: OK
getPeople(): SELECT person.id, lname, fname, mname, pre, name, post FROM foto2person, person WHERE foto2person.id = 1338 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 = 529 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 = 523 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 = 384 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 = 944 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 = 945 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 = 951 AND foto2person.person_id=person.id AND 0 >= person.rights ORDER BY ord; result: OK
printContactInfo(): SELECT * FROM contacts4person WHERE id = 701 ORDER BY type; result: OK
getRow(): SELECT * FROM person WHERE id=701 AND 0 >= person.rights; result: OK
getRow(): SELECT id FROM uri where uri='/id701'; result: OK
getDateCounter(): SELECT COUNT(*) from user where creation_time > '1680318266'; result: OK
error log