【问题标题】:cakephp advance configuration errorcakephp提前配置错误
【发布时间】:2013-09-02 04:28:40
【问题描述】:

我在 cakephp 中有一个应用程序,我想将“lib”目录移动到“/usr/lib”(我在 debian wheezy 上)。但是我在'index.php'(app/webroot/index.php)中配置路径会抛出这个错误

 PHP Fatal error:  Can't find application core file. Please create /var/www/tlfmovil/app/Config/core.php, and make sure it is readable by PHP. in /usr/lib/Cake/Core/Configure.php on line 79, referer: http://telefonia.cnti.gob.ve/usuarios

这是我在 index.php 中定义的路径:

 if (!defined('CAKE_CORE_INCLUDE_PATH')) {
       define('CAKE_CORE_INCLUDE_PATH', DS . 'usr' . DS . 'lib');
   }

注意:我在 mi cakephp 应用程序 (/var/www/tlfmovil/) 和 /usr/lib/Cake 中设置了 777 权限

【问题讨论】:

    标签: configuration file-permissions permission-denied


    【解决方案1】:

    我解决了这个问题...我复制了原始的“lib/Cake”目录及其作品

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2013-08-21
      • 1970-01-01
      • 2013-10-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-08-10
      相关资源
      最近更新 更多