Warning: Invalid argument supplied for foreach() in /home/plus4/domains/boards.plus4chan.org/public_html/koba/classes/kobak_cache.php on line 179
Delete post
Deleting /md/138596

Current time: 2025-10-09 10:35:15.326


load average: 3.21, 2.5, 1.59
total load time: 0.1163s
code time: 0.1022s;
query time: 0.0141s
code time percentage: 87.8762%
query time percentage: 12.1238%
queries: 10
memory usage: 850kB
memory peak: 871kB


Controls:

sectionstring(6) "delete"
pagenumberstring(0) ""
extstring(4) "html"
extendedparamsarray(2) { ["board"]=> string(2) "md" ["post"]=> string(6) "138596" }
langNULL

Time log:

1760031315.21071410: beginning

1760031315.210714 - 0.000000 (0.000000s): log starting

1760031315.210958 - 0.000244 (0.000244s): kobak\debug: setting up new instance

1760031315.210962 - 0.000248 (0.000004s): kobak\cfg: setting up new instance

1760031315.210997 - 0.000283 (0.000035s): kobak\debug: setting up new instance

1760031315.211001 - 0.000287 (0.000004s): kobak\debug: finished setup

1760031315.211002 - 0.000288 (0.000001s): kobak\cfg: finished setup

1760031315.211004 - 0.000290 (0.000002s): kobak\debug: finished setup

1760031315.211005 - 0.000291 (0.000001s): core files loaded

1760031315.211915 - 0.001201 (0.000910s): kobak\controls: setting up new instance

1760031315.211921 - 0.001207 (0.000006s): kobak\controls: finished setup

1760031315.211923 - 0.001209 (0.000002s): kobak\modules: setting up new instance

1760031315.211925 - 0.001211 (0.000002s): kobak\modules: finished setup

1760031315.211945 - 0.001231 (0.000020s): kobak\plugins: setting up new instance

1760031315.211948 - 0.001234 (0.000003s): kobak\plugins: finished setup

1760031315.211957 - 0.001243 (0.000009s): kobak\modules: loading module geoip

1760031315.211960 - 0.001246 (0.000003s): kobak\pages: setting up new instance

1760031315.211966 - 0.001252 (0.000006s): kobak\pages: finished setup

1760031315.211982 - 0.001268 (0.000016s): kobak\modules: finished loading module "geoip"

1760031315.211987 - 0.001273 (0.000005s): kobak\modules: loading module kobak

1760031315.212168 - 0.001454 (0.000181s): kobak\kobak: setting up new instance

1760031315.212175 - 0.001461 (0.000007s): kobak\kobak: finished setup

1760031315.212176 - 0.001462 (0.000001s): kobak\cache: setting up new instance

1760031315.299182 - 0.088468 (0.087006s): kobak\cache: mode selected: memcached

1760031315.299192 - 0.088478 (0.000010s): kobak\cache: finished setup

1760031315.299194 - 0.088480 (0.000002s): kobak\cache: loading cache file: kobak_cache

1760031315.299201 - 0.088487 (0.000007s): kobak\cache: checking cache file: kobak_cache

1760031315.300836 - 0.090122 (0.001635s): kobak\cache: finished checking cache file: kobak_cache

1760031315.300846 - 0.090132 (0.000010s): kobak\cache: finished loading cache file: kobak_cache

1760031315.300901 - 0.090187 (0.000055s): kobak\db: setting up new instance

1760031315.300905 - 0.090191 (0.000004s): kobak\db: Attempting to connect to database

1760031315.303819 - 0.093105 (0.002914s): kobak\db: Successfully connected to database

1760031315.304213 - 0.093499 (0.000394s): kobak\db: finished setup

1760031315.305518 - 0.094804 (0.001305s): kobak\board: query: querying boards

1760031315.308590 - 0.097876 (0.003072s): kobak\board: query: looking up additional board data

1760031315.308614 - 0.097900 (0.000024s): kobak\board: query: constructing new board objects

1760031315.308722 - 0.098008 (0.000108s): kobak\board: query: finished.

1760031315.311878 - 0.101164 (0.003156s): kobak\cache: writing cache file: kobak_cache

1760031315.314809 - 0.104095 (0.002931s): kobak\cache: finished writing cache file: kobak_cache

1760031315.314817 - 0.104103 (0.000008s): kobak\errors: setting up new instance

1760031315.314822 - 0.104108 (0.000005s): kobak\errors: finished setup

1760031315.314879 - 0.104165 (0.000057s): kobak\current: setting up new instance

1760031315.314884 - 0.104170 (0.000005s): kobak\current: finished setup

1760031315.315046 - 0.104332 (0.000162s): kobak\modules: finished loading module "kobak"

1760031315.315058 - 0.104344 (0.000012s): kobak\modules: loading module torcheck

1760031315.318216 - 0.107502 (0.003158s): kobak\modules: finished loading module "torcheck"

1760031315.318237 - 0.107523 (0.000021s): kobak\modules: finished loading 3 module(s)

1760031315.318242 - 0.107528 (0.000005s): kobak\current: creating default rewrite rules

1760031315.318243 - 0.107529 (0.000001s): kobak\current: starting validation of current section

1760031315.318279 - 0.107565 (0.000036s): kobak\current: finished validating section

1760031315.318287 - 0.107573 (0.000008s): kobak\current: finished validating prerequisites

1760031315.318291 - 0.107577 (0.000004s): kobak\current: finished validating optional inputs

1760031315.318312 - 0.107598 (0.000021s): KOBAK BBS: validating board

1760031315.318359 - 0.107645 (0.000047s): kobak\ban: query: querying items

1760031315.319906 - 0.109192 (0.001547s): KOBAK BBS: loading board specific plugins

1760031315.320043 - 0.109329 (0.000137s): KOBAK BBS: finished loading board specific plugins

1760031315.320051 - 0.109337 (0.000008s): KOBAK BBS: validating post

1760031315.321387 - 0.110673 (0.001336s): kobak\post: query: querying posts

1760031315.322832 - 0.112118 (0.001445s): kobak\post: query: presorting post keys

1760031315.322852 - 0.112138 (0.000020s): kobak\post: query: presorting post keys: done

1760031315.322854 - 0.112140 (0.000002s): kobak\post: query: building post files query

1760031315.322855 - 0.112141 (0.000001s): kobak\post: query: getting post files

1760031315.325664 - 0.114950 (0.002809s): kobak\post: query: post files query done

1760031315.325666 - 0.114952 (0.000002s): kobak\post: query: pairing posts and post files

1760031315.325685 - 0.114971 (0.000019s): kobak\post: query: sorting post files

1760031315.325687 - 0.114973 (0.000002s): kobak\post: query: post files setup completed

1760031315.325688 - 0.114974 (0.000001s): kobak\post: query: constructing post objects

1760031315.325714 - 0.115000 (0.000026s): kobak\post: query: constructing post objects done

1760031315.325715 - 0.115001 (0.000001s): kobak\post: query: starting lookups for thread locked statuses

1760031315.325718 - 0.115004 (0.000003s): kobak\post: query: querying unknown locked thread statuses

1760031315.326647 - 0.115933 (0.000929s): kobak\post: query: applying unknown locked thread statuses

1760031315.326651 - 0.115937 (0.000004s): kobak\post: query: setting up references/backlinks

1760031315.326657 - 0.115943 (0.000006s): kobak\post: get_posts: applying quote backlinks to posts

1760031315.326663 - 0.115949 (0.000006s): kobak\post: query: finished.

1760031315.326674 - 0.115960 (0.000011s): KOBAK BBS: validating delete

1760031315.326705 - 0.115991 (0.000031s): kobak\current: Template file found

1760031315.326707 - 0.115993 (0.000002s): kobak\current: setting up HTML vars

1760031315.326711 - 0.115997 (0.000004s): kobak\html: setting up new instance

1760031315.326730 - 0.116016 (0.000019s): kobak\html: finished setup

1760031315.326734 - 0.116020 (0.000004s): kobak\current: setting up per-page HTML vars

1760031315.326766 - 0.116052 (0.000032s): KOBAK BBS: loading delete

1760031315.326775 - 0.116061 (0.000009s): kobak\current: finished setting up all HTML vars

1760031315.326778 - 0.116064 (0.000003s): start rendering html

1760031315.326794 - 0.116080 (0.000016s): loading report

1760031315.326806 - 0.116092 (0.000012s): called header.php

1760031315.326878 - 0.116164 (0.000072s): called footer.php

1760031315.326880 - 0.116166 (0.000002s): completed rendering most of the html

1760031315.326901 - 0.116187 (0.000021s): log finished

1760031315.327021 - 0.116307 (0.000120s): starting debug_t


1760031315.32984500: end


SQL statistics:

time taken: 0.00053811 SELECT `id`,`text`,`color` FROM `kobacap` no error
time taken: 0.00040102 SELECT `id`,`type`,`ext`,`size` FROM `kobamime` no error
time taken: 0.00031495 SELECT `id`,`order`,`name` FROM `kobasection` no error
time taken: 0.00305486 SELECT *, (SELECT GROUP_CONCAT(DISTINCT `kobaboardplugin`.`plugin` SEPARATOR ',') from `kobaboardplugin` WHERE `boardid` = b.id) as 'plugins', (SELECT GROUP_CONCAT(DISTINCT `kobaboardmime`.`mimeid` SEPARATOR ',') from `kobaboardmime` WHERE `boardid` = b.id and `new` = 1) as 'mime_new', (SELECT GROUP_CONCAT(DISTINCT `kobaboardmime`.`mimeid` SEPARATOR ',') from `kobaboardmime` WHERE `boardid` = b.id and `response` = 1) as 'mime_response' FROM `kobaboard` `b` ORDER BY `id` no error (prepared query)
time taken: 0.00300503 UPDATE `kobaboard` b, ( SELECT s.boardid, COUNT(DISTINCT s.`threadid`) as sthreads, SUM(s.`total_posts`) as sposts FROM `kobaboard` b LEFT JOIN `kobapoststats` s ON b.`id` = s.`boardid` GROUP BY s.`boardid` ) s SET b.`total_threads` = s.`sthreads`, b.`total_posts` = s.`sposts` WHERE s.`boardid` = b.`id` success
time taken: 0.00011802 SELECT `id` as boardid, `total_threads`, `total_posts` FROM `kobaboard` no error
time taken: 0.00152087 SELECT b.*, ppass.`password`, ( SELECT GROUP_CONCAT(DISTINCT `kobaboardban`.`boardid` ORDER BY `kobaboardban`.`boardid` SEPARATOR ',') FROM `kobaboardban` WHERE `banid` = b.`id` GROUP BY `banid` ) AS `active_boards` FROM `kobaban` as b LEFT JOIN `kobafingerprint` fp ON b.`fingerprint_id` = fp.`id` LEFT JOIN `kobapostpassword` ppass ON b.`password_id` = ppass.`id` WHERE ( (`iplong1` = 'd849d8d8') OR (`iplong1` <= 'd849d8d8' AND 'd849d8d8' <= `iplong2`) ) AND `type` IN(-1,0,1,2,3) AND (b.`id` IN ( SELECT `banid` FROM `kobaboardban` WHERE `boardid` IN(23) ) OR `global` = 1) ORDER BY `type`,`expiration` DESC no rows found or affected (prepared query)
time taken: 0.00141597 SELECT p.*, ppass.`password`, ipinfo.`ipmd5`, ipinfo.`ipcrypt`, r.time r_time, r.reason r_reason, r.ipmd5 r_ipmd5, r.ipcrypt r_ipcrypt, r.password r_password, r.userid r_userid, s.pagenumber, s.total_posts, s.total_files, s.total_image, s.total_audio, s.total_video, s.total_swf, s.unique_ip, s.unique_user FROM `kobapost` p LEFT JOIN `kobareport` r ON p.`boardid` = r.`boardid` AND p.`postid` = r.`postid` LEFT JOIN `kobapoststats` s ON p.`boardid` = s.`boardid` AND p.`postid` = s.`threadid` LEFT JOIN `kobapostpassword` ppass ON p.`password_id` = ppass.`id` LEFT JOIN `kobaipinfo` ipinfo ON p.`ip_id` = ipinfo.`id` WHERE p.`boardid` = '23' AND p.`postid` = '138596' AND p.`deleted` != '1' LIMIT 1 no error (prepared query)
time taken: 0.00279307 SELECT pf.`pfid`, pf.`order`, pf.`filename`, pf.`thumb`, f.* FROM `kobapostfile` pf LEFT JOIN `kobafile` f ON pf.`fileid` = f.`id` WHERE (pf.`pfid`) IN( SELECT * FROM( SELECT p.`id` FROM `kobapost` p LEFT JOIN `kobareport` r ON p.`boardid` = r.`boardid` AND p.`postid` = r.`postid` LEFT JOIN `kobapostfile` pf ON p.`id` = pf.`pfid` LEFT JOIN `kobafile` f ON pf.`fileid` = f.`id` LEFT JOIN `kobapostpassword` ppass ON p.`password_id` = ppass.`id` LEFT JOIN `kobaipinfo` ipinfo ON p.`ip_id` = ipinfo.`id` WHERE p.`boardid` = '23' AND p.`postid` = '138596' AND p.`deleted` != '1' LIMIT 1 ) as sub) no error (prepared query)
time taken: 0.00091887 SELECT `boardid`, `postid`, `pin`, `flag`, `bumped` FROM `kobapost` WHERE (`boardid` = 23 AND `postid` IN(138035)) AND `deleted` != 1 no error

actions:

after_modules_load actions: 1 start: 1760031315.31822200 end: 1760031315.31823300 took (total): 0.000011
before_validation actions: 1 start: 1760031315.31825700 end: 1760031315.31827100 took (total): 0.000014
header_meta actions: 4 start: 1760031315.32681100 end: 1760031315.32683800 took (total): 0.000027
setup_html actions: 2 start: 1760031315.32674000 end: 1760031315.32677300 took (total): 0.000033
validation actions: 3 start: 1760031315.31829700 end: 1760031315.32668500 took (total): 0.008388

APCU extension loaded: YES

APCU function exists: YES

APCU enabled? YES

Memchache class exists? no

Memchached class exists? YES

Redis class exists? YES

Mode selected in config: memcached

Currently using: memcached

bool(false)

Used memory:
Notice: Undefined variable: apcu in /home/plus4/domains/boards.plus4chan.org/public_html/koba/template/modules/debug.php on line 157

Notice: Trying to access array offset on value of type null in /home/plus4/domains/boards.plus4chan.org/public_html/koba/template/modules/debug.php on line 157

Warning: array_column() expects parameter 1 to be array, null given in /home/plus4/domains/boards.plus4chan.org/public_html/koba/template/modules/debug.php on line 157

Warning: array_sum() expects parameter 1 to be array, null given in /home/plus4/domains/boards.plus4chan.org/public_html/koba/template/modules/debug.php on line 157
empty file!

Available memory:
Notice: Undefined variable: apcu_sma in /home/plus4/domains/boards.plus4chan.org/public_html/koba/template/modules/debug.php on line 158

Notice: Trying to access array offset on value of type null in /home/plus4/domains/boards.plus4chan.org/public_html/koba/template/modules/debug.php on line 158
empty file!

key hits
kobak_cache 0 (current)

Rewrite/redirect rules:

Redirect /^([a-z_\-0-9]*)\/0.html(?:\?.*)?$/ $matches[1]\/ 302
Redirect /^([a-z_\-0-9]*)\/1.html(?:\?.*)?$/ $matches[1]\/ 302
Rewrite: /^([a-z_\-0-9]*)\/?(?:\?.*)?$/ index.php?section=index&board=$matches[1]
Rewrite: /^([a-z_\-0-9]*)\/([0-9]*)\.html(?:\?.*)?$/ index.php?section=index&board=$matches[1]&pagenumber=$matches[2]
Rewrite: /^([a-z_\-0-9]*)\/catalog\.html(?:\?.*)?$/ index.php?section=catalog&board=$matches[1]
Rewrite: /^([a-z_\-0-9]*)\/t([0-9]*)\.(html|json|rss)(?:\?.*)?$/ index.php?section=thread&board=$matches[1]&thread=$matches[2]&ext=$matches[3]
Rewrite: /^([a-z_\-0-9]*)\/posts_feed\.rss$/ index.php?section=posts_feed&board=$matches[1]&ext=rss
Rewrite: /^([a-z_\-0-9]*)\/threads_feed\.rss$/ index.php?section=threads_feed&board=$matches[1]&ext=rss
Rewrite: /^latest_posts\.rss$/ index.php?section=latest_posts&ext=rss
Rewrite: /^latest_threads\.rss$/ index.php?section=latest_threads&ext=rss
Rewrite: /^latest_nsfw_posts\.rss$/ index.php?section=latest_nsfw_posts&ext=rss
Rewrite: /^latest_nsfw_threads\.rss$/ index.php?section=latest_nsfw_threads&ext=rss

rules in htaccess format:

RewriteRule ^([a-z_\-0-9]*)\/0.html(?:\?.*)?$ $1/ [R=302,L,QSA] RewriteRule ^([a-z_\-0-9]*)\/1.html(?:\?.*)?$ $1/ [R=302,L,QSA] RewriteRule ^([a-z_\-0-9]*)/(?:\?.*)?$ index.php?section=index&board=$1 [L,QSA] RewriteRule ^([a-z_\-0-9]*)\/([0-9]*)\.html(?:\?.*)?$ index.php?section=index&board=$1&pagenumber=$2 [L,QSA] RewriteRule ^([a-z_\-0-9]*)\/catalog\.html(?:\?.*)?$ index.php?section=catalog&board=$1 [L,QSA] RewriteRule ^([a-z_\-0-9]*)\/t([0-9]*)\.(html|json|rss)(?:\?.*)?$ index.php?section=thread&board=$1&thread=$2&ext=$3 [L,QSA] RewriteRule ^([a-z_\-0-9]*)\/posts_feed\.rss$ index.php?section=posts_feed&board=$1&ext=rss [L,QSA] RewriteRule ^([a-z_\-0-9]*)\/threads_feed\.rss$ index.php?section=threads_feed&board=$1&ext=rss [L,QSA] RewriteRule ^latest_posts\.rss$ index.php?section=latest_posts&ext=rss [L,QSA] RewriteRule ^latest_threads\.rss$ index.php?section=latest_threads&ext=rss [L,QSA] RewriteRule ^latest_nsfw_posts\.rss$ index.php?section=latest_nsfw_posts&ext=rss [L,QSA] RewriteRule ^latest_nsfw_threads\.rss$ index.php?section=latest_nsfw_threads&ext=rss [L,QSA]