解决了Warning: mysqli_connect(): (HY000/1045): Access denied for user ‘root’@’localhost’ (using password: YES)还是登录不了bugfree3,到登录界面总是提示
Database connected successfully
没有找到问题原因,但是找到了解决方法.具体操作如下:
(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>',
),
),
再次访问就可以正常登陆啦