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

Failed to read session data #16

Open
steveviko opened this issue Jan 22, 2018 · 2 comments
Open

Failed to read session data #16

steveviko opened this issue Jan 22, 2018 · 2 comments

Comments

@steveviko
Copy link

here is the error i keep geting;
Warning: session_start(): Failed to read session data: user (path: C:\xampp\tmp) in C:\xampp\htdocs\sites\Social-Network\includes\functions\session.php on line 122

Warning: session_regenerate_id(): Cannot regenerate session id - session is not active in C:\xampp\htdocs\sites\Social-Network\includes\functions\session.php on line 209

am a newbei any idea on how to debug the errors

@jonathan-x01
Copy link

I am also a newbie but not really, I can actually understand php and kind of figure out mistakes but can't create new php though sadly but I think I might help but you do need a program that will show the line number and than go to that line and take a screenshot of the code on line 122 and on line 209.

@Heshamnasif
Copy link

in the read function instead of
return false;
change with return "";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants