|
PHP复制代码 public function show(){
$this->load->library('session');// 到这已经错了!!!!
}
复制代码
encryptionkey已经设好了。各位大神,这是什么情况?
错误信息如下:
A PHP Error was encounteredSeverity: Warning
Message: mkdir(): Invalid path
Filename: drivers/Session_files_driver.php
Line Number: 117
Backtrace:
File: /Library/WebServer/Documents/yz/application/controllers/test/Demo.php
Line: 27
Function: library File: /Library/WebServer/Documents/yz/index.php
Line: 292
Function: require_once
A PHP Error was encounteredSeverity: Warning
Message: Cannot modify header information - headers already sent by (output started at /Library/WebServer/Documents/yz/system/core/Exceptions.php:272)
Filename: core/Common.php
Line Number: 569
Backtrace:
An uncaught Exception was encounteredType: Exception
Message: Session: Configured save path '' is not a directory, doesn't exist or cannot be created.
Filename: /Library/WebServer/Documents/yz/system/libraries/Session/drivers/Session_files_driver.php
Line Number: 119
Backtrace:
File: /Library/WebServer/Documents/yz/application/controllers/test/Demo.php
Line: 27
Function: library File: /Library/WebServer/Documents/yz/index.php
Line: 292
Function: require_once
A PHP Error was encounteredSeverity: Warning
Message: fopen(af585777177ee396f327f458ef8faec1a8ca00f9): failed to open stream: Permission denied
Filename: drivers/Session_files_driver.php
Line Number: 156
Backtrace:
|
|