CodeIgniter Forums
Delpoying error on hosted server - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: Delpoying error on hosted server (/showthread.php?tid=70193)



Delpoying error on hosted server - Pradeep2403 - 03-06-2018

Warning: Uncaught Exception: Session: Configured save path 'C:\Windows\Temp' is not writable by the PHP process. in D:\INETPUB\VHOSTS\cashportech.org\fps.cashportech.org\system\libraries\Session\drivers\Session_files_driver.php:143 Stack trace: #0 [internal function]: CI_Session_files_driver->open('C:\\Windows\\Temp', 'ci_session') #1 D:\INETPUB\VHOSTS\cashportech.org\fps.cashportech.org\system\libraries\Session\Session.php(143): session_start() #2 D:\INETPUB\VHOSTS\cashportech.org\fps.cashportech.org\system\core\Loader.php(1285): CI_Session->__construct() #3 D:\INETPUB\VHOSTS\cashportech.org\fps.cashportech.org\system\core\Loader.php(1178): CI_Loader->_ci_init_library('Session', 'CI_', NULL, 'session') #4 D:\INETPUB\VHOSTS\cashportech.org\fps.cashportech.org\system\core\Loader.php(1043): CI_Loader->_ci_load_stock_library('Session', 'Session/', NULL, NULL) #5 D:\INETPUB\VHOSTS\cashportech.org\fps.cashportech.org\system\core\Loader.php(1089): CI_Loader->_ci_load_library('Session', NULL, NULL) #6 D:\INETPUB\VHOSTS\cashp in D:\INETPUB\VHOSTS\cashportech.org\fps.cashportech.org\system\libraries\Session\drivers\Session_files_driver.php on line 143

Fatal error: session_start(): Failed to initialize storage module: user (path: C:\Windows\Temp) in D:\INETPUB\VHOSTS\cashportech.org\fps.cashportech.org\system\libraries\Session\Session.php on line 143
A PHP Error was encountered
Severity: Error
Message: session_start(): Failed to initialize storage module: user (path: C:\Windows\Temp)
Filename: Session/Session.php
Line Number: 143
Backtrace:



RE: Delpoying error on hosted server - jreklund - 03-06-2018

As your previous thread, the error are stated in your file.

https://www.codeigniter.com/user_guide/libraries/sessions.html?highlight=sess_save_path#session-preferences
$config['sess_save_path'] = 'YOUR-PATH-HERE';


RE: Delpoying error on hosted server - ciadmin - 03-06-2018

Read the error message...
Uncaught Exception: Session: Configured save path 'C:\Windows\Temp' is not writable by the PHP process