yii-user-management
yii-user-management copied to clipboard
403 error on /user/user/admin, after install module
After /user/install i login admin/admin in /site/login and follow to /user/user/admin. I got a 403 error on this page.
Please enable logging at /protected/config/main.php with the 'log' section at the and of the file:
'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',
),
),
)
at the the log output on your page you might find a exception.CHttpException.403 section with more information about what's going on.
hth.
Did you enable YumWebUser instead of CWebUser in config/main.php ? Also please make sure to use //user/user/login instead of the site/login route provided by the blog demo.
Sorry for the delay in response, tomorrow I will lay out the logs
I was getting the same 403 error. Make sure the URL you are going to is "index.php?r=user/user/login" and NOT "index.php?r=site/login". Changing the 'loginUrl' => array('//user/user/login') in config/main.php does NOT update the link on the default template.