A PHP Error was encounteredSeverity: Warning
Message: mkdir() [function.mkdir]: Invalid argument
Filename: drivers/Session_files_driver.php
Line Number: 117
Backtrace:

File: E:\amp\apache\htdocs\mvc\application\controllers\user.php
Line: 75
Function: library
File: E:\amp\apache\htdocs\mvc\index.php
Line: 292
Function: require_once


An uncaught Exception was encounteredType: Exception
Message: Session: Configured save path '' is not a directory, doesn't exist or cannot be created.
Filename: E:\amp\apache\htdocs\mvc\system\libraries\Session\drivers\Session_files_driver.php
Line Number: 119
Backtrace:

File: E:\amp\apache\htdocs\mvc\application\controllers\user.php
Line: 75
Function: library
File: E:\amp\apache\htdocs\mvc\index.php
Line: 292
Function: require_once

 

解决方法:

$config['sess_save_path'] =BASEPATH.'../'.'session_file';

session文件夹存在根目录下

相关文章:

  • 2021-12-08
  • 2022-12-23
  • 2022-12-23
  • 2021-08-11
  • 2021-09-10
  • 2021-08-17
  • 2022-02-08
  • 2021-04-27
猜你喜欢
  • 2021-12-06
  • 2021-11-21
  • 2021-08-31
  • 2022-12-23
  • 2021-09-01
  • 2021-06-18
  • 2021-11-13
相关资源
相似解决方案