Session doesn't work after update from 2.2.1 to 3 |
(01-25-2017, 11:18 AM)raminderrandhawa Wrote: But I am getting error Unable to locate the specified class: Session.php You're not supposed to do that. Also, if by "move" you mean "overwrite another Session.php file that was already there", then you haven't followed the upgrade instructions. (01-25-2017, 11:18 AM)raminderrandhawa Wrote: I have commented session.start() function in the Session.php class as the application gave my error Severity: Warning Don't comment out just to hide errors. You're breaking stuff that way. The error message is pretty clear - you already have a session started elsewhere. (01-25-2017, 01:31 PM)raminderrandhawa Wrote:(01-25-2017, 01:18 PM)Diederik Wrote: Have you read and followed: Did you read the note marked as Important in Step 1? See my reply to the first quote above. Also, you're still keeping stuff from CI2 that you're not supposed to. Start clean - use the CI3 config.php and only modify the options it has. (01-25-2017, 01:55 PM)ciadmin Wrote: 1) Not using a database, your config says that session data will be stored in the "ci_sessions" folder. I trust that folder exists and is writeable? He's using the database driver. |
Welcome Guest, Not a member yet? Register Sign In |