CodeIgniter Forums
Problem with is_dir() - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Problem with is_dir() (/showthread.php?tid=62484)



Problem with is_dir() - jaskowice1 - 07-20-2015

Hi, this is my first post on this forum. I have problem with Codeigniter v3.0

When I want to autoload libraries add session i have this message

A PHP Error was encountered

Severity: Notice

Message: is_dir() [function.is-dir]: Unable to find the wrapper "tcp" - did you forget to enable it when you configured PHP?

Filename: drivers/Session_files_driver.php

Line Number: 115

Backtrace:

File: /home/usr/home/projects/web/current/wwwroot/codeigniter/index.php
Line: 292
Function: require_once

How can I solve my problem?


RE: Problem with is_dir() - sintakonte - 07-22-2015

whats your sess_save_path config value ?


RE: Problem with is_dir() - Happy Camper - 08-17-2015

Hello

Did you ever resolve this? I am having a similar issue but only when I move my app to a server. It works fine on my local dev machine.

Thanks in advance


RE: Problem with is_dir() - mwhitney - 08-18-2015

If you're using the 'files' driver for the session library, make sure 'sess_save_path' is set to an absolute path to a writable directory. In most cases, the path on your dev machine won't be the same as the path on your server.


RE: Problem with is_dir() - Happy Camper - 08-18-2015

(08-18-2015, 06:57 AM)mwhitney Wrote: If you're using the 'files' driver for the session library, make sure 'sess_save_path' is set to an absolute path to a writable directory. In most cases, the path on your dev machine won't be the same as the path on your server.

Thank you. I now have this working.