Welcome Guest, Not a member yet? Register   Sign In
Session based error on windows server
#1

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..............

Attached Files Thumbnail(s)
   
Reply
#2

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.
Keep calm.
Reply
#3

(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...
Reply
#4

(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.
Reply
#5

(This post was last modified: 07-04-2016, 10:08 AM by arma7x.)

(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
Keep calm.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB