Welcome Guest, Not a member yet? Register   Sign In
drivers/Session_files_driver.php
#1

Severity: Warning

Message: unlink(/tmp/ci_session3195883705fdcc11bcc62d0ebc38fa450f2e025a): Operation not permitted

Filename: drivers/Session_files_driver.php

Function: __construct
Function: require_once

Can i get explain what the problem and how to fix it ?
Reply
#2

Your server OS stops Apache/PHP deleting session files from /tmp folder.

I would suggest first creating folder for sessions inside your project, ideally outside public_html folder.

Then, assuming you are using Linux, you need to make OS user that runs the Apache process owner of that folder. Depending on setup, this would usually be called simply apache.

Then make sure owner (apache) has write privilege for that folder.

The actual steps vary depending on your actual OS and Apache configuration, but this should point you to right direction.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB