Yii Error After Installation

Hello guys!

I’m new to yii, downloaded yii 1.1.14 and installed it (windows 8)

after i installed i want to access the yii site. (localhost/yii)

but it returns an error :

Warning: require_once(C:\xampp\htdocs\test/framework/yii.php): failed to open stream: No such file or directory in C:\xampp\htdocs\test\index.php on line 12

Fatal error: require_once(): Failed opening required ‘C:\xampp\htdocs\test/framework/yii.php’ (include_path=’.;C:\xampp\php\PEAR’) in C:\xampp\htdocs\test\index.php on line 12

hope you can help me with this problem.

Thank You :)

and by the way the index.php contains the ff. code


// change the following paths if necessary



// remove the following lines when in production mode

defined(‘YII_DEBUG’) or define(‘YII_DEBUG’,true);

// specify how many levels of call stack should be shown in each log message

defined(‘YII_TRACE_LEVEL’) or define(‘YII_TRACE_LEVEL’,3);



you are very new to PHP in general. learn to read errors.


path to framework is wrong

got it! thanks :)

got it! thanks :)