用户
 找回密码
 入住 CI 中国社区
搜索
查看: 2900|回复: 6
收起左侧

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

[复制链接]
发表于 2011-6-9 15:20:00 | 显示全部楼层 |阅读模式
本帖最后由 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



发表于 2011-6-9 15:25:35 | 显示全部楼层
全是sql语句报错
SELECT * WHERE `role_id` = 1
from表名呢????
 楼主| 发表于 2011-6-9 15:27:24 | 显示全部楼层
这个我也没有看,因为是在ci社区直接下载调试的,难道下载的就有问题
发表于 2011-6-9 15:28:36 | 显示全部楼层
这个是你自己sql语句问题,检查自己代码吧
 楼主| 发表于 2011-6-9 15:32:51 | 显示全部楼层
好的!我好好看看,谢谢你
发表于 2011-11-11 15:41:06 | 显示全部楼层
................................
发表于 2011-11-27 12:31:59 | 显示全部楼层
去看看model里面吧,把tank_auth修改成fx_auth。原因是找不到配置文件。
最好搜索一下tank_auth,很多地方都要改。

本版积分规则