我不定期收到错误,但是在时间间隔之后:
消息: 取消关联(/ TMP / ci_session0189a7f1c86eb18fb70afcfedc2d5040e9c23146): 不允许操作
在配置中我尝试了:
$config['sess_save_path'] = sys_get_temp_dir();
也尝试过: -
在配置中:
$config['sess_save_path'] = BASE_URL.'application/temp/';
也更改了(755 & 777)
虽然没有得到解决..
答案 0 :(得分:0)
使用FCPATH或APPPATH
位置应用程序> temp
$config['sess_save_path'] = APPPATH . 'temp/';
OR
$config['sess_save_path'] = FCPATH . 'application/temp/';
会话0700的文件夹权限
EXT: The PHP file extension
FCPATH: Path to the front controller (this file) (root of CI)
SELF: The name of THIS file (index.php)
BASEPATH: Path to the system folder
APPPATH: The path to the "application" folder