title: Yii returns exception.CHttpException.404 error
body: <p>I have some problems with my Yii system. All modules are working fine in the system, but there is an error with the activity module. It returns the following error:</p>
  
  <pre><code> 2013/10/22 10:21:17 [error] [exception.CHttpException.404] exception 'CHttpException' with message '"activity/default/list" isteği çözümlenemedi.' in /var/www/yii/framework/web/CWebApplication.php:286
   Stack trace:
   #0 /var/www/yii/framework/web/CWebApplication.php(141):        CWebApplication-&gt;runController('activity/defaul...')
   #1 /var/www/yii/framework/base/CApplication.php(180): CWebApplication-&gt;processRequest()
   #2 /var/www/hello/index.php(13): CApplication-&gt;run()
   #3 {main}
   REQUEST_URI=/etkinlikler/liste
  </code></pre>
  
  <p>Here are my main and defaultController files for activity module.</p>
  
  <p>main.php</p>
  
  <pre><code> &lt;?php
  
   date_default_timezone_set('Asia/Istanbul');
  
  return array(
  'basePath' =&gt; dirname(__FILE__) . DIRECTORY_SEPARATOR . '..',
  'name' =&gt; 'Kendim Panel',
  'language' =&gt; 'tr',
  'preload' =&gt; array('log'),
  'import' =&gt; array(
      'application.models.*',
      'application.modules.*',
      'application.components.*',
      'application.helpers.*'
  ),
  'modules' =&gt; array(  
      'gii' =&gt; array(
          'class' =&gt; 'system.gii.GiiModule',
          'password' =&gt; '121212',
          'ipFilters' =&gt; array('127.0.0.1, 192.168.1.27', '::1'),
      ),
      'wlapi' =&gt; array(),
      'panel' =&gt; array(),
  
      'ileti' =&gt; array(),
      'anket' =&gt; array(),
      'hastag' =&gt; array(),
  
      'category' =&gt; array(),
      'product' =&gt; array(),
  
      'menu' =&gt; array(),
      'siparis' =&gt; array(),
  
      'kisisel' =&gt; array(),
      'istatistik' =&gt; array()
  ),
  'components' =&gt; array(
      'CString' =&gt; array('class'=&gt;'CString'),
      'myFunc' =&gt; array('class'=&gt;'myFunc'),
      'user' =&gt; array(
          'allowAutoLogin' =&gt; true,
      ),
      'db' =&gt; array(
          'connectionString' =&gt; 'mysql:host=localhost;dbname=kendim_db',
          'emulatePrepare' =&gt; true,
          'username' =&gt; 'root',
          'password' =&gt; 'root',
          'charset' =&gt; 'utf8',
      )
   ,       'urlManager' =&gt;array(
          'urlFormat' =&gt; 'path',
          'showScriptName' =&gt; false,
          'rules' =&gt; array(
              '/' =&gt; 'panel/default', 
              'wl-api'                            =&gt; 'wlapi',
              'etkinlikler'                       =&gt; 'activity',
              'etkinlikler/ekle'                  =&gt; 'activity/default/create',
              'etkinlikler/duzenle'               =&gt; 'activity/default/update',
              'etkinlikler/duzenle/id/&lt;id:\d+&gt;'   =&gt; 'activity/default/update',
              'etkinlikler/sil'                   =&gt; 'activity/default/delete',
              'etkinlikler/sil/id/&lt;id:\d+&gt;'       =&gt; 'activity/default/delete',
              'etkinlikler/liste'                 =&gt; 'activity/default/list',
              'kategoriler'                       =&gt; 'category',
              'kategoriler/ekle'                  =&gt; 'category/default/create',
              'kategoriler/duzenle'               =&gt; 'cateogry/default/update',
              'kategoriler/duzenle/id/&lt;id:\d+&gt;'   =&gt; 'category/default/update',
              'kategoriler/sil'                   =&gt; 'category/default/delete',
              'kategoriler/sil/id/&lt;id:\d+&gt;'       =&gt; 'category/default/delete',
              'kategoriler/liste'                 =&gt; 'category/default/list',
              'urunler'                           =&gt; 'product',
              'urunler/ekle'                      =&gt; 'product/default/create',
              'urunler/duzenle'                   =&gt; 'product/default/update',
              'urunler/duzenle/id/&lt;id:\d+&gt;'       =&gt; 'product/default/update',
              'urunler/sil'                       =&gt; 'product/default/delete',
              'urunler/sil/id/&lt;id:\d+&gt;'           =&gt; 'product/default/delete',
              'urunler/liste'                     =&gt; 'product/default/list',
          ),
      ),
      'errorHandler' =&gt; array(
          'errorAction' =&gt; 'panel/default/error',
      ),
      'log' =&gt; array(
          'class' =&gt; 'CLogRouter',
          'routes' =&gt; array(
              array(
                  'class'     =&gt; 'CFileLogRoute',
                  'levels'    =&gt; 'error, warning',
              ),
          ),
      ),
      'image'=&gt;array(
          'class'=&gt;'application.extensions.image.CImageComponent',
          //GD or ImageMagick
          'driver'=&gt;'GD',
          'params'=&gt;array('directory'=&gt;'/opt/local/bin',
              'product'=&gt;array(
                      'size'=&gt;array(
                          'detail'=&gt;array(
                              'width' =&gt; 418,
                              'height' =&gt; 314
                          ),
                          'thumbnail'=&gt;array(
                              'width' =&gt; 90, 
                              'height' =&gt; 68
                          ),
                          'org'=&gt;array(
                              'width' =&gt; 800,
                              'height' =&gt; 600
                          ),
                      ),
              ),
          ),
      ),
  ),
   );
  ?&gt;
  </code></pre>
  
  <p>DefaultController.php</p>
  
  <pre><code> &lt;?php 
  
   class DefaultController extends ActivityController
   {
  public  $layout = 'activity';
  private $actionStatus;
  private $defaultDetailImageWidth;
  private $defaultDetailImageHeight;
  private $defaultListImageWidth;
  private $defaultListImageHeight;
  private $defaultOrgImageWidth;
  private $defaultOrgImageHeight;
  
  public function actionCreate() 
  {
  
      $this-&gt;pageTitle = "Etkinlik Yönetimi &gt; Etkinlik Ekleme";
  
      $this-&gt;render("create", array('model'=&gt;$newActivityModel, 'actionStatus'=&gt;$this-&gt;actionStatus, 'categoryGridList'=&gt;$categoryGridList));
  }
  
  public function actionList()
  {
      $this-&gt;pageTitle = "Etkinlik Yönetimi &gt; Etkinlik Listeleme";
  
      $this-&gt;render("list");
  }
  
  public function actionDelete()
  {
      $this-&gt;pageTitle = "Ürün Yönetimi &gt; Ürün Silme";
      $this-&gt;render("delete", array('actionStatus' =&gt; $this-&gt;actionStatus));
  }
  
  public function actionUpdate()
  {   
      $this-&gt;pageTitle = "Ürün Yönetimi &gt; Ürün Güncelleme";
      $this-&gt;render("update", array('model'=&gt;$product, 'actionStatus' =&gt; $this-&gt;actionStatus, 'categoryList' =&gt; $categoryList));
  }
  
  public function actionIndex() 
  {   
      $this-&gt;render("index");
  }
  
  public function actionError() 
  {   
      $this-&gt;render("error");
  }
   }
  
   ?&gt;
  </code></pre>
  
  <p>ActivityController.php</p>
  
  <pre><code> &lt;?php
  
   /**
   * Controller is the customized base controller class.
   * All controller classes for this application should extend from this base class.
   */
  
   class ActivityController extends CController {
  
  /**
   * @var string the default layout for the controller view. Defaults to '//layouts/column1',
   * meaning using a single column layout. See 'protected/views/layouts/column1.php'.
   */
  
  public $layout = '/layouts/column1';
  
  /**
   * @var array context menu items. This property will be assigned to {@link CMenu::items}.
   */
  
  public $constants = array();
  
  public $menu = array(
          array('label'=&gt;'Etkinlik Ekle', 'url'=&gt;'/etkinlikler/ekle'),
          array('label'=&gt;'Etkinlik Liste', 'url'=&gt;'/etkinlikler/liste'),
      );
  
  /**
   * @var array the breadcrumbs of the current page. The value of this property will
   * be assigned to {@link CBreadcrumbs::links}. Please refer to {@link CBreadcrumbs::links}
   * for more details on how to specify this property.
   */
  public $breadcrumbs = array();
   }
  </code></pre>
  
  <p>I've set permissions for all files to 777 and I still get the same error. 
  Also I checked that system is not able to go to controllers. I get the error in main.php
  What is the problem?</p>