CMS MADE SIMPLE FORGE

CMSMSExt

 

[#12875] unlink failing for *.cmsextsession files

avatar
Created By: Scott R. Godin (WebDragon)
Date Submitted: Thu Nov 26 00:32:04 -0500 2026

Assigned To:
Version: 1.5.4
CMSMS Version: 2.2.21
Severity: Major
Resolution: None
State: Open
Summary:
unlink failing for *.cmsextsession files
Detailed Description:
logs are filling up with hundreds of lines like this on the regular 

[25-Nov-2026 00:25:40 America/New_York] PHP Warning:  filemtime(): stat failed
for
/home/stephens/public_html/tmp/cmsmsext//37941_c127a6f2668155b44d4d22850aaba2e3.cmsextsession
in /home/stephens/public_html/modules/CMSMSExt/lib/session/class.Manager.php on
line 55
[25-Nov-2026 00:25:40 America/New_York] PHP Warning: 
unlink(/home/stephens/public_html/tmp/cmsmsext//37941_c127a6f2668155b44d4d22850aaba2e3.cmsextsession):
No such file or directory in
/home/stephens/public_html/modules/CMSMSExt/lib/session/class.Manager.php on
line 59
[25-Nov-2026 00:25:40 America/New_York] PHP Warning:  filemtime(): stat failed
for
/home/stephens/public_html/tmp/cmsmsext//37963_6e572bfda5bb78954c14d38067cb4f7b.cmsextsession
in /home/stephens/public_html/modules/CMSMSExt/lib/session/class.Manager.php on
line 55
[25-Nov-2026 00:25:40 America/New_York] PHP Warning: 
unlink(/home/stephens/public_html/tmp/cmsmsext//37963_6e572bfda5bb78954c14d38067cb4f7b.cmsextsession):
No such file or directory in
/home/stephens/public_html/modules/CMSMSExt/lib/session/class.Manager.php on
line 59


>$ grep  cmsextsession tmp/php_error.log |wc -l
24943 

that's a lotta error lines 

not sure what's causing this. 

tmp/cmsmsext/ has the right ownership and permissions as do all the session
files, but it does seem to create a lot of session files -- I seem to be getting
a new cmsextsession file for every page I visit, in fact.

so have I done something wrongly or is this a bug?


History