failed to open stream

Good day!

today i encountered this error and i need help asap.

Warning: require_once(C:\xampp\htdocs\fedb2/../yii/framework/yii.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\fedb2\index.php on line 12

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

This is the content of my index.php


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



Is this related in setting up the "PATH" to "Environtment Variables"? Is there anything that i need to setup fist?

I solved this before but as you can see i forgot it already. Thanks is advance! Cheers!

YII code seem ok .


problem with your C:\xampp\php\PEAR , seem some configuration file problem.

Check path to you yii.php file, if it is correct. Is it in mentioned ‘C:\xampp\htdocs\fedb2/../yii/framework/yii.php’ directory?

I have also same can anyone help me please