mvc999 发表于 2011-6-9 15:20:00

安装 fx_auth 遇到的麻烦,请高手解答?

本帖最后由 mvc999 于 2011-6-9 15:21 编辑

ci2.02+fx_auth
访问路径:http://localhost:8080/ci20/index.php/backend/uri_permissions   报错

A Database Error Occurred
Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE `role_id` = 1' at line 2

SELECT * WHERE `role_id` = 1

Filename: D:\xampp\a\ci20\system\database\DB_driver.php

Line Number: 330


访问路径:http://localhost:8080/ci20/index.php/backend/custom_permissions   报错



A Database Error Occurred
Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE `role_id` = 1' at line 2

SELECT * WHERE `role_id` = 1

Filename: D:\xampp\a\ci20\system\database\DB_driver.php

Line Number: 330



zhouli520 发表于 2011-6-9 15:25:35

全是sql语句报错
SELECT * WHERE `role_id` = 1
from表名呢????

mvc999 发表于 2011-6-9 15:27:24

这个我也没有看,因为是在ci社区直接下载调试的,难道下载的就有问题

zhouli520 发表于 2011-6-9 15:28:36

这个是你自己sql语句问题,检查自己代码吧

mvc999 发表于 2011-6-9 15:32:51

好的!我好好看看,谢谢你 :D

shiyfai 发表于 2011-11-11 15:41:06

................................:@

858806258 发表于 2011-11-27 12:31:59

去看看model里面吧,把tank_auth修改成fx_auth。原因是找不到配置文件。:L
最好搜索一下tank_auth,很多地方都要改。
页: [1]
查看完整版本: 安装 fx_auth 遇到的麻烦,请高手解答?