{"action":"created","issue":{"url":"https://api.github.com/repos/benedmunds/CodeIgniter-Ion-Auth/issues/731","labels_url":"https://api.github.com/repos/benedmunds/CodeIgniter-Ion-Auth/issues/731/labels{/name}","comments_url":"https://api.github.com/repos/benedmunds/CodeIgniter-Ion-Auth/issues/731/comments","events_url":"https://api.github.com/repos/benedmunds/CodeIgniter-Ion-Auth/issues/731/events","html_url":"https://github.com/benedmunds/CodeIgniter-Ion-Auth/issues/731","id":57087500,"number":731,"title":"codeigniter 3 integration with ion-auth error","user":{"login":"michaelstokes","id":7087915,"avatar_url":"https://avatars.githubusercontent.com/u/7087915?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelstokes","html_url":"https://github.com/michaelstokes","followers_url":"https://api.github.com/users/michaelstokes/followers","following_url":"https://api.github.com/users/michaelstokes/following{/other_user}","gists_url":"https://api.github.com/users/michaelstokes/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelstokes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelstokes/subscriptions","organizations_url":"https://api.github.com/users/michaelstokes/orgs","repos_url":"https://api.github.com/users/michaelstokes/repos","events_url":"https://api.github.com/users/michaelstokes/events{/privacy}","received_events_url":"https://api.github.com/users/michaelstokes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-09T20:48:31Z","updated_at":"2015-02-10T05:26:22Z","closed_at":null,"body":"Hi all,\r\n\r\nI'd really appreciate your help please. \r\n\r\nRunning codeigniter v3 with ion-auth I am getting the following error in the browser:\r\n\r\nA PHP Error was encountered\r\n\r\nSeverity: Warning\r\n\r\nMessage: mkdir(): Invalid path\r\n\r\nFilename: drivers/Session_files_driver.php\r\n\r\nLine Number: 117\r\n\r\nBacktrace:\r\n\r\nFile: /Users/michaelstokes/Sites/new/application/libraries/Ion_auth.php\r\nLine: 74\r\nFunction: driver\r\n\r\nFile: /Users/michaelstokes/Sites/new/application/controllers/Auth.php\r\nLine: 9\r\nFunction: library\r\n\r\nFile: /Users/michaelstokes/Sites/new/index.php\r\nLine: 292\r\nFunction: require_once\r\n\r\nA PHP Error was encountered\r\n\r\nSeverity: Warning\r\n\r\nMessage: Cannot modify header information - headers already sent by (output started at /Users/michaelstokes/Sites/new/system/core/Exceptions.php:272)\r\n\r\nFilename: core/Common.php\r\n\r\nLine Number: 565\r\n\r\nBacktrace:\r\n\r\nAn uncaught Exception was encountered\r\n\r\nType: Exception\r\n\r\nMessage: Session: Configured save path '' is not a directory, doesn't exist or cannot be created.\r\n\r\nFilename: /Users/michaelstokes/Sites/new/system/libraries/Session/drivers/Session_files_driver.php\r\n\r\nLine Number: 119\r\n\r\nBacktrace:\r\n\r\nFile: /Users/michaelstokes/Sites/new/application/libraries/Ion_auth.php\r\nLine: 74\r\nFunction: driver\r\n\r\nFile: /Users/michaelstokes/Sites/new/application/controllers/Auth.php\r\nLine: 9\r\nFunction: library\r\n\r\nFile: /Users/michaelstokes/Sites/new/index.php\r\nLine: 292\r\nFunction: require_once\r\n\r\nA PHP Error was encountered\r\n\r\nSeverity: Warning\r\n\r\nMessage: fopen(3beccd1d7effac4a8beb232338f2a092768cc101): failed to open stream: Permission denied\r\n\r\nFilename: drivers/Session_files_driver.php\r\n\r\nLine Number: 156\r\n\r\nBacktrace:\r\n\r\n\r\nI've set the Base url and am not using .htaccess :) Thank you!"},"comment":{"url":"https://api.github.com/repos/benedmunds/CodeIgniter-Ion-Auth/issues/comments/73646591","html_url":"https://github.com/benedmunds/CodeIgniter-Ion-Auth/issues/731#issuecomment-73646591","issue_url":"https://api.github.com/repos/benedmunds/CodeIgniter-Ion-Auth/issues/731","id":73646591,"user":{"login":"avenirer","id":3034772,"avatar_url":"https://avatars.githubusercontent.com/u/3034772?v=3","gravatar_id":"","url":"https://api.github.com/users/avenirer","html_url":"https://github.com/avenirer","followers_url":"https://api.github.com/users/avenirer/followers","following_url":"https://api.github.com/users/avenirer/following{/other_user}","gists_url":"https://api.github.com/users/avenirer/gists{/gist_id}","starred_url":"https://api.github.com/users/avenirer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avenirer/subscriptions","organizations_url":"https://api.github.com/users/avenirer/orgs","repos_url":"https://api.github.com/users/avenirer/repos","events_url":"https://api.github.com/users/avenirer/events{/privacy}","received_events_url":"https://api.github.com/users/avenirer/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T05:26:22Z","updated_at":"2015-02-10T05:26:22Z","body":"I guess the problem is that you've set in the config.php a variable named $config['sess_save_path']. That variable should point to an existing folder and in your case it doesn't."}}