Welcome Guest, Not a member yet? Register   Sign In
Warning: Uncaught Exception: Session: Configured save path 'C:\Windows\temp' is not w
#1

Hello i am using Version 3.1.8. i have created application on xampp  server and deploy it on iis server now  i am gating "Warning: Uncaught Exception: Session: Configured save path 'C:\Windows\temp' is not writable by the PHP process"  this error. on the page where i did not use session.

Thanks.
Reply
#2

Check your path in your php.ini file. And change it.
Reply
#3

(This post was last modified: 03-29-2018, 01:58 PM by ciadmin. Edit Reason: seo spam redacted )

Change your Session store path and give the folder permission of 0777

By:Xtreem Solution

**SEO spam redacted**
Reply
#4

(This post was last modified: 03-29-2018, 01:57 PM by Paradinight.)

(03-29-2018, 05:37 AM)XtreemDeveloper Wrote: Change your Session store path and give the folder permission of 0777

By:Xtreem Solution

[Highly Skilled Laravel Developer](xxx)

[Dedicated PHP Developer](xxx)

Wrong answer and seo spam... Windows != unix

@ktmonty, do you use codeigniter session? if yes, set the session save path to application/tmp/session
Reply
#5

This is how I do it on Windows 10 Pro x64

1) Create a new directory under ./application called writable

2) This is how I setup my sessions for files.

PHP Code:
$config['sess_driver'            'files';
$config['sess_cookie_name'       'pcfx_session_';
$config['sess_expiration'        7200;
$config['sess_save_path'         APPPATH.'writable';
$config['sess_match_ip'          FALSE;
$config['sess_time_to_update'    300;
$config['sess_regenerate_destroy'] = FALSE

This works like a charm on Windows.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#6

Many years later but for me, I had to change the following line in config.php from 

PHP Code:
$config['sess_save_path'] = NULL


To:


PHP Code:
$config['sess_save_path']          APPPATH.'application/logs'
Reply




Theme © iAndrew 2016 - Forum software by © MyBB