mkdir() No such file or directory Session_files_driver.php |
Hi,
I have recently updated from CI 3.x to 3.0.4. But I am getting "mkdir() No such file or directory" error on Live server and working fine on localhost. Here is my URL : http://demo.bkfoundation.co.in Help me out. Thanks.
Web Developer
Have you set the $config['sess_save_path'] to a folder that your app has write permissions for?
http://www.codeigniter.com/user_guide/li...les-driver (02-17-2016, 12:30 AM)ciadmin Wrote: Have you set the $config['sess_save_path'] to a folder that your app has write permissions for? I did'nt do it.
Web Developer
(02-17-2016, 12:30 AM)ciadmin Wrote: Have you set the $config['sess_save_path'] to a folder that your app has write permissions for? $config['sess_driver'] = 'files'; $config['sess_cookie_name'] = 'ci_session'; $config['sess_expiration'] = 7200; $config['sess_save_path'] = NULL; $config['sess_match_ip'] = FALSE; $config['sess_time_to_update'] = 300; $config['sess_regenerate_destroy'] = FALSE;
Web Developer
Did you try this ?
Code: mkdir /<path to your application directory>/sessions/ do you have a folder called "sessions" in the "application" folder ? if no, you need to create it |
Welcome Guest, Not a member yet? Register Sign In |