Home > Backend Development > PHP Tutorial > Some errors and solutions encountered in the CI framework Notes, ci framework_PHP tutorial

Some errors and solutions encountered in the CI framework Notes, ci framework_PHP tutorial

WBOY
Release: 2016-07-12 08:58:19
Original
1401 people have browsed it

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) ​ ​ ​

www.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...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template