CodeIgniter Forums

Full Version: Session based error on windows server
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I have a codeigniter application which is working fine on linux server but when i hosted it on windows server geting some sessions related error pls help me out..............
The error says, the save path is not writa ble, or to solve this change your session save path in config file(read docs). In windows folder under system installation drive(windows, program files n etc) is not writable if you does not have admin permission.
(07-04-2016, 06:37 AM)arma7x Wrote: [ -> ]The error says, the save path is not writa ble, or to solve this change your session save path in config file(read docs). In windows folder under system installation drive(windows, program files n etc) is not writable if you does not have admin permission.

As it is hosted in godaddy windows server....can u say me in detail where shall i need to update in config file...and what will be the complete path for that....can uĀ give me some example pls...
(07-04-2016, 06:37 AM)arma7x Wrote: [ -> ]The error says, the save path is not writa ble, or to solve this change your session save path in config file(read docs). In windows folder under system installation drive(windows, program files n etc) is not writable if you does not have admin permission.

this is what i get error after i create some folders cache and sessions under system folder....

Message: Session: Configured save path 'G:/PleskVhosts/canopusgbs.in/emp.canopusgbs.in/system/cache/sessions' is not writable by the PHP process.
(07-04-2016, 06:58 AM)balakrishna Wrote: [ -> ]
(07-04-2016, 06:37 AM)arma7x Wrote: [ -> ]The error says, the save path is not writa ble, or to solve this change your session save path in config file(read docs). In windows folder under system installation drive(windows, program files n etc) is not writable if you does not have admin permission.

this is what i get error after i create some folders cache and sessions under system folder....

Message: Session: Configured save path 'G:/PleskVhosts/canopusgbs.in/emp.canopusgbs.in/system/cache/sessions' is not writable by the PHP process.

My suggestion you create new folder for storing session files in application folder and set $config['sess_save_path'] = APPPATH.'newfoldername'; in config.php