Предложения спонсоров «Капелланина»: |
debug info
db_connect()
getRow(): SELECT id FROM addr where ip='18.207.240.77'; result: OK
getValue(): SELECT mode FROM addr where id='923536'; result: OK
User not logged in or cookies disabled
Addr_id: 923536; Addr_mode: 1
case ADDR_TESTING
getValue(): SELECT time FROM addr where id='923536'; result: OK
Cookies disabled
setValue(): UPDATE addr SET mode='2' WHERE id = 923536; result: OK
URI: /course2026
Script: /names/index.php
Query: COURSE=2026
Referer:
getRow(): SELECT `value` FROM `blob` WHERE `key` = 'vkCache' result: OK
lockVkCache(1): INSERT INTO `blob` (`key`, `value`) VALUES ('vkCache', '250000'); result: OK
getRow(): SELECT userId FROM vkSources WHERE exclude=0 ORDER BY lastRead LIMIT 1; result: OK
Getting posts for user 4064120. vk.api method: wall.get
getRow(): SELECT `value` FROM `blob` WHERE `key` = 'vk' result: OK
Checking vk access token... Valid. Expires 2023-06-05 07:37:53
Got 10. cacheVkPost(): UPDATE vkSources SET lastRead=1685888434, state='no updates (10 old posts)', exclude=0 WHERE userId=4064120; result: OK
lockVkCache(): DELETE FROM `blob` WHERE `key` = 'vkCache'; result: OK
getQueryParam(): course=2026
getRow(): SELECT id FROM course where end='2025'; result: OK
getRow(): SELECT id FROM course where end='2027'; result: OK
printCourseList(): SELECT * FROM (SELECT * FROM person2course WHERE course = 2026 AND type <> 't' AND org='' ORDER by type, end) t1 GROUP BY t1.person; result: OK
printCourseList(): SELECT * FROM person WHERE id in (2359,2360,2361,2362,2363,2364,2365,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2447,2772,3290,3291,3295,3339,3400,4288) AND 0 >= rights ORDER BY lname, fname, mname; result: OK
getTeachers4Course(): SELECT person.id, lname, fname, mname, parallel FROM person, person2course WHERE person.id = person2course.person AND person2course.course = 2026 AND type = 't' AND 0 >= rights AND org='' ORDER BY person2course.start; result: OK
getFotos4Course(): SELECT * FROM series WHERE course = 2026; result: OK
getRow(): SELECT id FROM uri where uri='/course2026'; result: OK
getDateCounter(): SELECT COUNT(*) from user where creation_time > '1685802035'; result: OK
error log