CodeIgniter Forums
unlink warning with Ion-Auth-Libary - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: External Resources (https://forum.codeigniter.com/forumdisplay.php?fid=7)
+--- Forum: Addins (https://forum.codeigniter.com/forumdisplay.php?fid=13)
+--- Thread: unlink warning with Ion-Auth-Libary (/showthread.php?tid=64769)



unlink warning with Ion-Auth-Libary - Ornis - 03-24-2016

I'm using Ion-Auth-Library and I like it.

From time-to-time I get a warning for

line 371:

Message: unlink(....): Operation not permitted

Filename: drivers/Session_files_driver.php

How can I avoid this?

Thanks.

Martin


RE: unlink warning with Ion-Auth-Libary - Avenirer - 03-24-2016

Hello. The steps are:
1. make sure you have the latest CI;
2. make sure you've set up sessions correctly in the configuration file;
3. in case your session is using file driver (this is your case...), make sure the directory is writable.


RE: unlink warning with Ion-Auth-Libary - Ornis - 03-24-2016

Thanks Avenirer. I checked this all and fixed it. Up to now, no more warnings. Thank you!