Notes on some errors and solutions encountered in the CI framework, ci framework
ps: Continuously modified and updated based on experience, welcome to point out errors~
1,
An uncaught Exception was encountered
Type:Exception
Message: Session: Configured save path '/usr/share/nginx/html/terminal_php/application/../sesssion_files' is not writable by the PHP process.
Filename: /usr/share/nginx/html/terminal_php/system/libraries/Session/drivers/Session_files_driver.php
A PHP Error was encountered
Severity: Warning
Message: fopen(1f194f2bef7c1013a926c931c860a0eb62071b84): failed to open stream: Permission denied
Filename: drivers/Session_files_driver.php
Reason: The permissions to access the Session_files_driver.php file are not enough, because the session_files folder is the file that stores the session. However, every time the user accesses, the writing, reading and execution of the dynamically generated session will be performed. Therefore, , just set the "read, write, execute" permissions.
Solution: Increase permissions (chmod 777)
2.
Warning: mkdir(): Permission denied in /usr/share/nginx/html/terminal_php/system /core/Log.php on line 122
A PHP Error was encountered
Severity: Warning
Message: mkdir(): Permission denied
Filename: core/Log.php
Line Number: 122
Backtrace:
File: /usr/share/nginx/html/terminal_php/index.php
Line: 293
Function: require_once
Cause: Because the server (nginx or apache or other server) account does not have permission to create files, because the permissions to modify the website root directory must be changed
Solution: Increase the server Account permissions (chmod)
http://www.bkjia.com/PHPjc/1104067.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1104067.htmlTechArticleNotes on some errors and solutions encountered in the CI framework, ci framework ps: constantly modified and updated based on experience, welcome Point out the error~ 1. An uncaught Exception was encountered Type: Exce...