for some reason gii will not work for me,was fine yesterda, i diffed my channges and reverted still to no avail i do not get a 404 , 403 either, here is my main config
<?php
// uncomment the following to define a path alias
// Yii::setPathOfAlias('local','path/to/local-folder');
Yii::setPathOfAlias( 'YumHelper', '/var/www/test/modules/user/models/YumHelper.php' );
// This is the main Web application configuration. Any writable
// CWebApplication properties can be configured here.
return array(
'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
'name'=>'xxxx.com',
// 'theme'=>'user',
// preloading 'log' component
'preload'=>array('log'),
// autoloading model and component classes
'import'=>array(
'application.models.*',
'application.components.*',
'application.modules.user.models.*',
),
'modules'=>array(
'user' => array(
'debug' => true,
'facebookConfig'=>array(
'appId'=>'xxxx',
'secret'=>'xxxx',
'domain'=>'localhost',
'status'=>true,
'xfbml'=>true,
'cookie'=>true,
'lang'=>'en_US', //es_LA, de_DE, cz_CZ, etc.
),
'modules' => array(
'role',
'profiles',
'messages',
),
),
// uncomment the following to enable the Gii tool
'gii'=>array(
'class'=>'system.gii.GiiModule',
'password'=>'xxx',
'generatorPaths'=>array(
'ext.gtc', // Gii Template Collection
'application.gii',
),
/*
'ipFilters'=>array(...a list of IPs...),
'newFileMode'=>0666,
'newDirMode'=>0777,
*/
),
),
'behaviors'=>array(
'runEnd'=>array(
'class'=>'application.components.WebApplicationEndBehavior',
),
),
// application components
'components'=>array(
'User'=>array(
'class' => 'User',
),
'user'=>array(
'class' => 'application.modules.user.components.YumWebUser',
// enable cookie-based authentication
'allowAutoLogin'=>true,
//'loginUrl' => array('/user/user/login'),
'loginUrl' => array('site'),
),
'import'=>array('application.modules.user.models.*',
),
'db'=>array(
'connectionString' => 'mysql:host=localhost;dbname=test',
'emulatePrepare' => true,
'username' => 'root',
'password' => 'xxxx',
'charset' => 'utf8',
//'language'=>'en',
'tablePrefix' => '',
),
//icrud added
'messages'=>array('class'=>'CPhpMessageSource',),
'YumHelper'=>array('class'=>'application.modules.user.components.YumHelper',),
// uncomment the following to enable URLs in path-format
/*
'urlManager'=>array(
//'class'=>'application.extensions.LangUrlManager',
//'languages'=>array('en','sp'),
//'langParam'=>'en',
'urlFormat'=>'path',
//'urlSuffix'=>'.html',
//'showScriptName'=>false,
'rules'=>array(
'<controller:\w+>/<id:\d+>'=>'<controller>/front/view',
'<controller:\w+>/<action:\w+>/<id:\d+>'=>'<controller>/front/view<action>',
'<controller:\w+>/<action:\w+>'=>'<controller>/<action>',
'terms'=>'site/page/view/terms',
'gii'=>'gii',
'gii/<controller:\w+>'=>'gii/<controller>',
'gii/<controller:\w+>/<action:\w+>'=>'gii/<controller>/<action>',
),
//'showScriptName'=>false,
),
*/
'errorHandler'=>array(
// use 'site/error' action to display errors
'errorAction'=>'site/error',
),
'log'=>array(
'class'=>'CLogRouter',
'routes'=>array(
array(
'class'=>'CFileLogRoute',
'levels'=>'trace,info,error, warning',
),
// show log messages on web pages
array(
'class'=>'CWebLogRoute',
),
),
),
),
// application-level parameters that can be accessed
// using Yii::app()->params['paramName']
'params'=>array(
// this is used in contact page
'adminEmail'=>'webmaster@.com',
),
'onBeginRequest'=>array('Timezone','setTimezone'),
);