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 installation of version 1.6.6.x

Message: mkdir(): Invalid path

Filename: drivers/Session_files_driver.php

Line Number: 136




Line: 91

Function: library




Line: 5

Function: __construct


Warning: Uncaught Exception: Session: Configured save path '' is not a directory, doesn't exist or cannot be created. in



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 an warning message





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

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

('Session', NULL, NULL)

The Fix

Using an FTP program navigate to and download:


Using Notepad or a similar TEXT editor (not Word) Open /application/config/config.php
Around line 385, search for:
$config['sess_save_path'] = NULL;

Change 'NULL' to either '/tmp'

The line should now read:
$config['sess_save_path'] = /tmp;

Save this file and Re-upload the edited file back to