Discuz! Database Error

(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 '1'' at line 1
SELECT * FROM ahome_rolelist_list WHERE username='k'' AND ifshow='1'

PHP Debug

No.FileLineCode
1forum.php67require(%s)
2source/module/forum/forum_viewthread.php1004include(%s)
3data/template/19_diy_forum_viewthread.tpl.php1hookscriptoutput(%s)
4source/function/function_core.php1218hookscript(%s, %s, %s, Array)
5source/function/function_core.php1177call_user_func(Array, Array)
6plugin_ahome_rolelist_forum->viewthread_avatar_output(Array)
7source/plugin/ahome_rolelist/show.class.php40plugin_ahome_rolelist_forum->tsmini_showrole()
8source/plugin/ahome_rolelist/show.class.php23discuz_database::fetch_first(%s)
9source/class/discuz/discuz_database.php94discuz_database::query(%s, Array, false, false)
10source/class/discuz/discuz_database.php139db_driver_mysql->query(%s, false, false)
11source/class/db/db_driver_mysql.php152db_driver_mysql->halt(%s, %d, %s)
12source/class/db/db_driver_mysql.php223break()
danm8-4.com 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意.