• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with is_dir()

#1
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?
Reply

#2
whats your sess_save_path config value ?
Reply

#3
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
Reply

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

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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.