<p><b>Warning</b>: require_once(C:AppServwwwyiiadmission/../../yii/framework/yii.php) [<a href="http://localhost/yiiadmission/function.require-once">function.require-once</a>]: failed to open stream: No such file or directory in<b>C:AppServwwwyiiadmissionindex.php</b> on line <b>12</b><br><br><b>Fatal error</b>: require_once() [<a href="http://localhost/yiiadmission/function.require">function.require</a>]: Failed opening required 'C:AppServwwwyiiadmission/../../yii/framework/yii.php' (include_path='.;C:php5pear') in<b>C:AppServwwwyiiadmissionindex.php</b> on line <b>12</b><br></p>
Warning: require_once(C:\AppServ\www\yiiadmission/../../yii/framework/yii.php) [function.require-once]: failed to open stream: No such file or directory inC:\AppServ\www\yiiadmission\index.php on line 12
Fatal error: require_once() [function.require]: Failed opening required 'C:\AppServ\www\yiiadmission/../../yii/framework/yii.php' (include_path='.;C:\php5\pear') inC:\AppServ\www\yiiadmission\index.php on line 12
ช่วยแก้code ให้ดูหน่อยได้มั้ยค่ะ
<?php
// change the following paths if necessary
$yii=dirname(__FILE__).'/../../yii/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();
php?>
ตอบ/อธิบาย