This error relates to Version 1.6.6.X and above.


Any of the following warnings/errors are related to the same known issue and can be resolved by applying the fix below.


Other symptoms include seeing 404 error pages after the installation of version 1.6.6.X.


Message: mkdir(): Invalid path


Filename: drivers/Session_files_driver.php


Line Number: 136

--

File: /file/path/to/application/libraries/Admin_controller.php


Line: 91


Function: library

--

File: /file/path/to/application/controllers/Index.php


Line: 5


Function: __construct

--

Warning: Uncaught Exception: Session: Configured save path '' is not a directory, doesn't exist or cannot be created. in /file/path/to/system/libraries/Session/drivers/Session_files_driver.php:138

--

Parse error: syntax error, unexpected '/' in /file/path/to//application/config/config.php on line 385


Fatal error: Exception thrown without a stack frame in Unknown on line 0

--

A PHP Error was encountered


Severity: Error


Message: session_start(): Failed to initialize storage module: user (path: )


Filename: Session/Session.php


Line Number: 143

--

The following are extracts of error/warning messages that may appear at the beginning of a warning message


CI_Loader->_ci_load

CI_Loader->_ci_init_library

CI_Session->__construct

--

The following are extracts of warnings/errors that may appear within a warning message


('Session', 'CI_', NULL, 'session')

('Session', NULL, NULL)


The Solution:


1. Using an FTP program, go to your arpReach installation directory and download:


/application/config/config.php


2. Using Notepad or a similar TEXT editor (not Word), open the file and search for:


$config['sess_save_path'] = NULL;


... around line 385.


3. Change NULL to either:


/tmp


... or your server's temp folder path. The line should now read:


$config['sess_save_path'] = '/tmp';


4. Save the file and upload it back to:


/application/config/config.php


... replacing the existing file on location.