我有以下错误:
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时。可能是上述错误的原因是什么?我该如何解决这个问题?
答案 0 :(得分:2)
用户似乎是您的Web服务器(实际上是PHP,但在您的情况下由Apache以扩展的形式运行)正在运行,因为没有权限打开相关文件。检查权限并相应地更改它们,你最有可能去做。