简体   繁体   English

Kohana 3.2.3在PHP 5.2.17上安装导致错误

[英]Kohana 3.2.3 installing on PHP 5.2.17 giving error

I downloaded kohana from their site, and installing Kohana 3.2.3 on PHP 5.2.17, it giving error. 我从他们的网站上下载了kohana,并在PHP 5.2.17上安装了Kohana 3.2.3,它给出了错误。

The configured system directory does not exist or does not contain required files.

Fatal error: require() [function.require]: Failed opening required '/vol/vhosts/dev.abc.com/httpdocs/folder1/system/classes/kohana/core.php' (include_path='.:/usr/local/php-5.2.17/pear') in /vol/vhosts/dev.abc.com/httpdocs/folder1/application/bootstrap.php on line 7 致命错误:require()[function.require]:无法打开所需的'/vol/vhosts/dev.abc.com/httpdocs/folder1/system/classes/kohana/core.php'(include_path ='。:/ usr /第7行的/vol/vhosts/dev.abc.com/httpdocs/folder1/application/bootstrap.php中的local / php-5.2.17 / pear')

在此处输入图片说明

In install file when i changed the path for system folder from "syspath/kohana" to "syspath/Kohana" (capital K) it removes the error 在安装文件中,当我将系统文件夹的路径从“ syspath / kohana”更改为“ syspath / Kohana”(大写K)时,它消除了错误

any idea why the kohana-3.2.3 stable release has this issue, later i downloaded the same version from github and it worked. 任何想法,为什么kohana-3.2.3稳定发行版都有此问题,后来我从github下载了相同版本,并且它起作用了。 i noticed it has small-case folders in system folder. 我注意到它在系统文件夹中有小写文件夹。

You can fix it with: 1. Open console 2. cd path/to/the/project 3. find . 您可以使用以下方法修复它:1.打开控制台2. cd路径/到/ the / project 3.查找。 -type d -exec chmod 0755 {} + 4. Refresh the page -type d -exec chmod 0755 {} + 4.刷新页面

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM