我把博客的表名故意修改为blog2,测试框架, 如下错误:说没有定义router::erro这个方法,是不是表示框架存在一点bug?
Call to undefined method router::error() in D:\phpweb\zentaophp\lib\dao\dao.class.php on line 484 when visiting /index.php?m=blog&f=index
按照$config->webRoot = '/zentaophp/'; 这个配置,使用 http://localhost/zentaophp/index.php?m=blog&f=index 这个地址访问,结果出现Call to a member function query() on a non-object in F:\AppServ\www\zentaophp\lib\dao\dao.class.php on line 480
!
16:17:20 ERROR: the control file D:\maxpro\www\zendf\module\doc\control.php not found. in D:\maxpro\www\zendf\framework\router.class.php on line 963, last called by D:\maxpro\www\zendf\framework\router.class.php on line 1071 through function setControlFile.
in D:\maxpro\www\zendf\framework\router.class.php on line 1527 when visiting /index.php/blog/?m=doc&f=index
Call to undefined method router::error() in D:\phpweb\zentaophp\lib\dao\dao.class.php on line 484 when visiting /index.php?m=blog&f=index
!
出现404错误
http://localhost/zentaophp/index.php/blog/
http://localhost/zentaophp/index.php?m=blog&f=index
in D:\maxpro\www\zendf\framework\router.class.php on line 1527 when visiting /index.php/blog/?m=doc&f=index