i want to upload a web site the shared server.
structure
- public_html
- Yii(folder)
- index.php (inside root folder)
I'm just getting this message "Server ERROR".please can someone tell me where is the problem or what should i change in my code to make it work.here is my index code:
<?php
// yii directory paths<br/>
$yii=dirname(__FILE__).'/yii/yii.php';
$config=dirname(__FILE__).'/protected/config/main.php';
// remove the following lines when in production mode<br/>
defined('YII_DEBUG') or define('YII_DEBUG',true);
// specify how many levels of call stack should be shown in each log message<br/>
defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
require_once($yii);
Yii::createWebApplication($config)->run();
?>