Wednesday, 15 January 2014

php - yii framework no such file in directory -



php - yii framework no such file in directory -

so, i've tried install application requires yii framework. unfortunately, seem cant find yii.php file located in framework directory, , hence giving me internal server error.

i've searched reply long time, without result. i'm pretty sure both directory , files in there.

php warning: require_once(/home/site/public_html/framework/yii.php): failed open stream: no such file or directory in /home/site/public_html/index.php on line 15 php fatal error: require_once(): failed opening required '/home/site/public_html/framework/yii.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/site/public_html/index.php on line 15

^ error

this index.php

// alter next paths if necessary $yii=dirname(__file__).'/framework/yii.php'; $config=dirname(__file__).'/application/config/web.php'; if(!is_readable($config)) exit('missing configuration file. please run <a href="./install">installation</a>.'); // remove next lines when in production mode defined('yii_debug') or define('yii_debug',true); // specify how many levels of phone call stack should shown in each log message defined('yii_trace_level') or define('yii_trace_level',3); require_once($yii); yii::createwebapplication($config)->run();

i have chmodded directory (777) without result. help appreciated.

the path in question /home/site/public_html/framework/yii.php in picture, saw: /home/mbbclanv/...... wrong.

php yii

No comments:

Post a Comment