-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP7 sessions issue #3499
Comments
you are sure u got the newest version of https://github.com/SimpleMachines/SMF2.1/blob/release-2.1/Sources/Session.php ? |
I setup the forum about 2 months ago. but it seems the latest changes on Sessions.php was 5 months ago. I checked I have the latest Sessions.php |
Before the fix, I used to get this error on every page visit. Now I don't get it on every page, but it randomly appears in the log. |
did the error messages change? |
Please comment out the line 156 and 157 in the session.php
to
And give me feedback. |
Just saw your comment now. I'll do that. Meanwhile: I got this one now:
Subs-Auth.php |
Are you sure your php process can access that? When I upgraded to php7, my open_basedir restrictions prevented access to that location and sessions failed because it couldn't write there. |
Still getting those 2 errors. (after commenting that out) open_basedir in php.ini in commented out. I can give you my phpinfo if it helps. That location's permission is set to 777. Tripled checked that by now. Owner is root though, should I change that as well? |
+1 have same error. PHP 7.0.7 + nginx. I'm using Beta 2 from Downloads section. I've change chmod permitions of /var/lib/php/sessions to 777
FIXED after updating Session.php from dev repository |
Please delete files and database completly, the download version is very very very old. and it exists no upgrade from beta 2 to github version. |
@albertlast how i can upgrade properly? I have Beta 2 as as say from site. Just copy to FTP with files replacement? And how i can update Database? Thanks! |
it exists no update from beta 2 to github version, |
@albertlast, that is, I can not just put the files on top of the previous ones? |
the important stuff that you delete database from beta 2, |
@albertlast thaks for info, trying to reupgrage now. |
I've deploy my site (2.0.11) locally -> download repository -> move files with the replacement to my local drive and when i'm trying access to the site its dont loading and FastCGI process takes a lot of RAM. Cant normally upgrade 😞 UPD: Upgraded, by using upgrade.php, but index.php still cant be loaded. Just page load loop. UPD2: Fixed. Russian translation probably dont properly rewrite index.php |
I'm randomly getting this error, even though this was addressed in #3230.
I've checked /var/lib/php/sessions permissions and it is set to 777. (owner is root though)
Ubuntu 14.04 LTS
PHP 7.0.3
The text was updated successfully, but these errors were encountered: