SMF 2.1 PHP7 session errors

Started by asmith, January 31, 2016, 11:40:36 AM

Previous topic - Next topic

asmith

Hello,

I tried the latest 2.1 from github. On windows 7 with php 7.0.2.
I can login and logout fine but my error log is getting filled with this:




admin
Today at 04:33 pm
127.0.0.1 
5dbba947b92746695d56c4c485936ffc
Type of error: General
2: Unknown: Failed to write session data (user). Please verify that the current setting of session.save_path is correct (C:\tmp)
http://localhost/index.php?action=login2;sa=check;member=1

admin
Today at 04:33 pm
127.0.0.1 
5dbba947b92746695d56c4c485936ffc
Type of error: General
2: Unknown: Session callback expects true/false return value
http://localhost/index.php?action=login2;sa=check;member=1

admin
Today at 04:33 pm
127.0.0.1 
a3433bf8f9545040a475afba8b310e5d
Type of error: General
4096: session_regenerate_id(): Failed to create(read) session ID: user (path: C:\tmp)
http://localhost/index.php?action=login2
File: C:/www/Web2/public/Sources/Subs-Auth.php
Line: 103

Guest
Today at 04:33 pm
127.0.0.1 
203a1a5b93f7c6f11743f0889db41e52
Type of error: General
2: Unknown: Failed to write session data (user). Please verify that the current setting of session.save_path is correct (C:\tmp)
http://localhost/index.php?

Guest
Today at 04:33 pm
127.0.0.1 
203a1a5b93f7c6f11743f0889db41e52
Type of error: General
2: Unknown: Session callback expects true/false return value
http://localhost/index.php?

admin
Today at 04:33 pm
127.0.0.1 
31ec4bdc916a616bc55098792275fafb
Type of error: General
2: session_destroy(): Trying to destroy uninitialized session
http://localhost/index.php?action=logout;e5b9cbbba=ea039aa892729cd2a4a98d5a370bad82
File: C:/www/Web2/public/Sources/LogInOut.php
Line: 667

admin
Today at 04:33 pm
127.0.0.1 
31ec4bdc916a616bc55098792275fafb
Type of error: General
4096: session_regenerate_id(): Failed to create(read) session ID: user (path: C:\tmp)
http://localhost/index.php?action=logout;e5b9cbbba=ea039aa892729cd2a4a98d5a370bad82
File: C:/www/Web2/public/Sources/Subs-Auth.php
Line: 103



I've checked the path and even changed it to make sure, but no success.

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

jonmcu

I'm new to SMF, just installed the latest version two days ago on OS X.  My log file is full of these errors.  I've got session_path pointing to /tmp and confirmed that it is writable.

This thread indicates that it is a known defect that has been fixed and will be in the "next release".  But this was in January.  When will that release be available?

Illori

SMF 2.1 is still in beta. SMF 2.0 is going to support php 7.0 in the future.

Advertisement: