没有找到问题原因,但是找到了解决方法.具体操作如下:
(1)进入安装目录里面的/protected/config/,找到文件main.php
(2)在main.php中将下面的部分屏蔽掉,或者删除
'urlManager' =>
array (
'urlFormat' => 'path',
'showScriptName' => false,
'rules' =>
array (
'<type:\\w+>/<id:\\d+>/<action:\\w+>' => 'info/edit',
'<type:\\w+>/list/<product_id:\\d+>' => 'info/index',
'<type:\\w+>/<id:\\d+>' => 'info/edit',
'<controller:\\w+>/view/<id:\\d+>' => '<controller>/view',
'<controller:\\w+>/<id:\\d+>' => '<controller>/view',
'<controller:\\w+>/<action:\\w+>/<id:\\d+>' => '<controller>/<action>',
'<controller:\\w+>/<action:\\w+>' => '<controller>/<action>',
),
),
再次访问就可以正常登陆啦。