Alias “Bootstrap.components.bootstrap” Is Invalid

I’ve added bootstrap Extension To my yii webapp and installed as described in setup Guide. All Folders in Extension Folder are rwrwrw but i get the error written above. What could be the reason? I’ve already dumped the path from yii::Import and that path was correct.


Yii::setPathOfAlias('bootstrap', dirname(__FILE__).'/../extensions/bootstrap');

//Yii::setPathOfAlias('bootstrap',     '/Users/gerritlober/Sites/yii/webapp/protected/extensions/bootstrap');

// This is the main Web application configuration. Any writable

// CWebApplication properties can be configured here.

return array(


'name'=>'My Carpool',

'theme' => 'bootstrap',

// preloading 'log' component


// autoloading model and component classes






    // uncomment the following to enable the Gii tool




        // If removed, Gii defaults to localhost only. Edit carefully to taste.







// application components



        // enable cookie-based authentication



    // uncomment the following to enable URLs in path-format











        'connectionString' => 'sqlite:'.dirname(__FILE__).'/../data/testdrive.db',


    // uncomment the following to use a MySQL database


        'connectionString' => 'mysql:host=localhost;dbname=carpool_dev',

        'emulatePrepare' => true,

        'username' => 'root',

        'password' => '',

        'charset' => 'utf8',

        'enableProfiling' => true,







        // use 'site/error' action to display errors








                'levels'=>'error, warning',


            // uncomment the following to show log messages on web pages



                'categories' => 'system.db.*,GLWeb.*,application.*'








// application-level parameters that can be accessed

// using Yii::app()->params['paramName']


    // this is used in contact page




how about trying out the solutions given in this forum. I haven’t tried it myself but will let u know about the outcome.

Twitter Bootstrap In Yii

Hope it helps.