简体   繁体   English

Codeigniter 新手:致命错误:require_once():需要打开失败

[英]Codeigniter for newbie : Fatal error: require_once(): Failed opening required

Im using mac and XAMPP as the bundler.我使用 mac 和 XAMPP 作为捆绑器。 I'm a beginner to the CI3 Framework.我是 CI3 框架的初学者。 I dont even know how to fix this error, pls help me.我什至不知道如何解决这个错误,请帮助我。

Warning: require_once(/Applications/XAMPP/xamppfiles/htdocs/ci-app-v3/system/core/CodeIgniter.php): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/ci-app-v3/index.php on line 315警告:require_once(/Applications/XAMPP/xamppfiles/htdocs/ci-app-v3/system/core/CodeIgniter.php):无法打开 stream:/Applications/XAMPP/xamppfiles/htdocs/ci-app-v3 中的权限被拒绝/index.php 上线 315

Fatal error: require_once(): Failed opening required '/Applications/XAMPP/xamppfiles/htdocs/ci-app-v3/system/core/CodeIgniter.php' (include_path='.:/Applications/XAMPP/xamppfiles/lib/php') in /Applications/XAMPP/xamppfiles/htdocs/ci-app-v3/index.php on line 315致命错误:require_once():无法打开所需的“/Applications/XAMPP/xamppfiles/htdocs/ci-app-v3/system/core/CodeIgniter.php”(include_path='.:/Applications/XAMPP/xamppfiles/lib/php ') 在第 315 行的 /Applications/XAMPP/xamppfiles/htdocs/ci-app-v3/index.php

You need Open Acces on folder ci-app-v3, on Macbook you can click right on mouse than click "Get Info" than go to "Sharing and Permissions" add "Read and Write" Privilege to user everyone.您需要在文件夹 ci-app-v3 上打开访问权限,在 Macbook 上,您可以单击鼠标右键而不是单击“获取信息”而不是 go 到“共享和权限”添加“读写”权限给每个用户。 After that click configuration than choose "Apply to enclosed items"之后单击配置,然后选择“应用于随附的项目”

it work for me它对我有用

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 PHP致命错误:require_once():必须打开失败 - PHP Fatal error: require_once(): Failed opening required 致命错误:require_once():需要打开失败 - Fatal error: require_once(): Failed opening required 致命错误:require_once():需要打开失败 - Fatal error: require_once(): Failed opening required PHP致命错误:require_once():必须打开失败 - PHP Fatal error: require_once(): Failed opening required 致命错误:require_once():需要打开失败 - Fatal error: require_once(): Failed opening required 致命错误:require_once():XAMPP中要求打开失败 - Fatal error: require_once(): Failed opening required in XAMPP 警告:require_once(../initialize.php):无法打开 stream 和致命错误:require_once():无法打开所需的问题 - Warning: require_once(../initialize.php): failed to open stream and Fatal error: require_once(): Failed opening required problem 致命错误:require_once()[function.require]:需要打开失败 - Fatal error: require_once() [function.require]: Failed opening required Phing 执行错误:致命错误:require_once():需要打开失败 - Phing execute error : Fatal error: require_once(): Failed opening required 获取 PHP 错误“致命错误:require_once() 需要打开失败<file> ”</file> - Getting PHP error “Fatal error: require_once() Failed opening required <file>”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM