Q:Access denied for user 'root'@'localhost' 错误

A:第一种:配置文件中把数据库的用户名密码再改一遍,把runtime里的文件删除

   第二种:修改system的host文件,关联 127.0.0.1 localhost

 

Q:无法加载模块:index (http://127.0.0.1/)

A:文档中说明了 标准的URL模式 http://serverName/index.php/模块/控制器/操作 一样不能少 

直接写Index 控制器, 没有写模块名称就会出现这个错误,

改成http://127.0.0.1/index.php/Index/index就不会出错

 

Q:无法加载模块:Form

A:Lib/Action/FormAction.class.php不是FormAction.php,

.class.php和类相似,其他php页面可以引用

 

相关文章:

  • 2022-02-06
  • 2021-11-28
  • 2021-11-05
  • 2021-12-21
  • 2022-01-21
  • 2021-11-16
  • 2022-12-23
  • 2021-12-16
猜你喜欢
  • 2021-12-03
  • 2022-02-08
  • 2021-11-24
  • 2022-01-05
  • 2021-11-26
  • 2022-01-25
  • 2021-12-14
相关资源
相似解决方案