Problem with is_dir() |
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?
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
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.
(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. |
Welcome Guest, Not a member yet? Register Sign In |