Hi Guys!
I installed the YUM, on a yii fresh install.
I was trying out the registration form. I filled all the fields I try to submit it, then I got in the error summary: "E-Mail cannot be blank." but there is not on the these field i have filled.
So, is it a bug? or is just me using this Module wrong?
something about the config?
hope hearing from you any suggestion, I’m all ears.
return array(
'basePath' => dirname(__FILE__) . DIRECTORY_SEPARATOR . '..',
'name' => 'My Web Application',
// preloading 'log' component
'preload' => array('log'),
// autoloading model and component classes
'import' => array(
'application.models.*',
'application.components.*',
),
'modules' => array(
'user' => array(
'debug' => false,
'usersTable' => 'user',
'translationTable' => 'translation',
),
'registration' => array(),
'usergroup' => array(
'usergroupTable' => 'user_group',
'usergroupMessagesTable' => 'user_group_message',
),
'membership' => array(
'membershipTable' => 'membership',
'paymentTable' => 'payment',
),
'friendship' => array(
'friendshipTable' => 'friendship',
),
'profile' => array(
'privacySettingTable' => 'privacy_setting',
'profileFieldsGroupTable' => 'profile_field_group',
'profileFieldsTable' => 'profile_field',
'profileTable' => 'profile',
'profileCommentTable' => 'profile_comment',
'profileVisitTable' => 'profile_visit',
),
'role' => array(
'rolesTable' => 'role',
'userHasRoleTable' => 'user_role',
'actionTable' => 'action',
'permissionTable' => 'permission',
),
'messages' => array(
'messagesTable' => 'message',
),
),
// application components
'components' => array(
'user' => array(
// enable cookie-based authentication
'class' => 'application.modules.user.components.YumWebUser',
'allowAutoLogin' => true,
'loginUrl' => array('//user/user/login'),
'allowAutoLogin' => true,
),
// uncomment the following to enable URLs in path-format
'urlManager' => array(
'urlFormat' => 'path',
'rules' => array(
'<controller:\w+>/<id:\d+>' => '<controller>/view',
'<controller:\w+>/<action:\w+>/<id:\d+>' => '<controller>/<action>',
'<controller:\w+>/<action:\w+>' => '<controller>/<action>',
),
),
'db' => array(
'tablePrefix' => '',
'connectionString' => 'mysql:host=localhost;dbname=mydata',
'emulatePrepare' => true,
'username' => 'root',
'password' => '',
'charset' => 'utf8',
),
'errorHandler' => array(
// use 'site/error' action to display errors
'errorAction' => 'site/error',
),
'log' => array(
'class' => 'CLogRouter',
'routes' => array(
array(
'class' => 'CFileLogRoute',
'levels' => 'error, warning',
),
// uncomment the following to 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@example.com',
),
);
Best Regards, Oliver.