rbac的问题iew not found: 1146 Table 'blog.authitem' doesn't exist

CDbCommand failed to execute the SQL statement: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'blog.authitem' doesn't exist

请问下,这个咱用呢?

晕,看了下手册 搞不出来。。

是基于DB的,能完整的DB吗?

不会自己建吧,都不知道里面有多少字段,怎么对应…

数据库是找到了。。

我再尝试尝试。。

如果用文件 操作能给个方法吗?

生成数据库的SQL在framework/web/auth下。用CPhpAuthManager的话,数据文件是自动建立的,你不用担心。

好的,谢谢,我先用DB看看。。