Предложения спонсоров «Капелланина»: |
debug info
db_connect()
getQueryParam(): id=11801
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: /photo11801
Script: /foto/index.php
Query: ID=11801
Referer:
getRow(): SELECT `value` FROM `blob` WHERE `key` = 'vkCache' result: OK
lockVkCache(1): INSERT INTO `blob` (`key`, `value`) VALUES ('vkCache', '1702124684.111654'); result: OK
getRow(): SELECT userId FROM vkSources WHERE exclude=0 ORDER BY lastRead LIMIT 1; result: OK
Getting posts for user 117770923. vk.api method: wall.get
getRow(): SELECT `value` FROM `blob` WHERE `key` = 'vk' result: OK
Checking vk access token... Valid. Expires 2023-12-10 09:54:46
Got 10. cacheVkPost(): UPDATE vkSources SET lastRead=1702124682, state='no updates (10 old posts)', exclude=0 WHERE userId=117770923; result: OK
lockVkCache(): DELETE FROM `blob` WHERE `key` = 'vkCache'; result: OK
getDivAdv(): SELECT foto.* FROM foto WHERE id = 11801 ORDER BY sdate, foto.id; result: OK
getPeople(): SELECT person.id, lname, fname, mname, pre, name, post FROM foto2person, person WHERE foto2person.id = 11801 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 = 11801 AND foto2person.person_id=person.id AND 0 >= person.rights ORDER BY ord; result: OK
getMaterials4foto(): SELECT material.href, material.title FROM material, foto2material WHERE foto2material.material_id = material.id AND foto2material.id = 11801; result: OK
getQueryParam(): id=11801
getSeeAlsoSeries(): SELECT series.* FROM series, foto2series WHERE series.id = foto2series.series_id AND foto2series.id = 11801; result: OK
getRow(): SELECT id FROM uri where uri='/photo11801'; result: OK
getDateCounter(): SELECT COUNT(*) from user where creation_time > '1702038282'; result: OK
error log