Skip to content
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

PHP >= 7 session problem #5118

Closed
phaidon opened this issue May 11, 2017 · 3 comments
Closed

PHP >= 7 session problem #5118

phaidon opened this issue May 11, 2017 · 3 comments

Comments

@phaidon
Copy link

phaidon commented May 11, 2017

After I changed to php 7.0 I get from time to time the following error:

HP Fatal error: Class CI_Session_files_driver contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (SessionHandlerInterface::read) in C:..\system\libraries\Session\drivers\Session_files_driver.php on line 49

A restart of apache solves the issue for a while. The same thing happens with php 7.1

I am using CodeIgniter 3.1.4. I did not change the system dir.

The the session files are stored in a folder. $config['sess_driver'] = 'files';

Any idea? Thanks a lot for your help.

It just happens with one of my websites. An other website that is not visited so much is not affected.

@narfbg
Copy link
Contributor

narfbg commented May 12, 2017

@narfbg narfbg closed this as completed May 12, 2017
@Sozialarchiv
Copy link

Thank you for the fast reply.

@aniket-bheeshma
Copy link

aniket-bheeshma commented Sep 21, 2017

Yes, this is big issue. I faced same and solved this, see [redacted unrelated link]

@bcit-ci bcit-ci locked and limited conversation to collaborators Sep 21, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants