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

<?php

// change the following paths if necessary

$yii=dirname(FILE).’/framework/yii.php’;

$config=dirname(FILE).’/protected/config/main.php’;

// 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);

require_once($yii);

Yii::createWebApplication($config)->run();

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

p.s.

path to framework is wrong

got it! thanks :)

got it! thanks :)