严重性:警告无法打开流:权限被拒绝文件名:core / Loader.php

时间:2013-11-12 09:22:18

标签: php codeigniter

我有以下错误:

A PHP Error was encountered

Severity: Warning

Message: include(/Applications/XAMPP/xamppfiles/htdocs/caretech/application/views/request_form.php) [function.include]: failed to open stream: Permission denied

Filename: core/Loader.php

Line Number: 833

A PHP Error was encountered

Severity: Warning

Message: include() [function.include]: Failed opening 'application/views/request_form.php' for inclusion (include_path='.:/Applications/XAMPP/xamppfiles/lib/php:/Applications/XAMPP/xamppfiles/lib/php/pear')

Filename: core/Loader.php

Line Number: 833

当我在浏览器上运行以下脚本:http://domainname.com/caretech/transactions/view_request时。可能是上述错误的原因是什么?我该如何解决这个问题?

1 个答案:

答案 0 :(得分:2)

用户似乎是您的Web服务器(实际上是PHP,但在您的情况下由Apache以扩展的形式运行)正在运行,因为没有权限打开相关文件。检查权限并相应地更改它们,你最有可能去做。