过来研究一下这个论坛
By zyuex
at 2014-11-13
0人收藏 • 8741人看过
刚下来了这个论坛源码,本地老是发表不了新帖,提示话题不能为空,搞不懂,话题那里都有写入了!
- 登录后方可回帖
回复#4 @zyuex :浏览器以及版本是什么?我下载个试试。你在官网能吗?官网和发布出去的源码是一模一样的。
锚文本链接在发新帖页面有这个按钮,在回复这里我为了把编辑器精简到剩下一行,去掉了那个,我觉得没什么人用而且我自己也不习惯用。
回复#3 @zyuex :那是因为,添加话题那栏你没有填写吧,就是tag没有填写。
回复#5 @lincanbin :
我用的是Firefox33.1 ,官网有自动提示的,我自己本地测试的,也装了词典了才能用了,要不然自己添加话题的,不能用,发新贴没看到锚文本按钮在哪
点关注用户出现 关注话题后 出现下面的错误
Unhandled Exception. SQLSTATE[HY093]: Invalid parameter number: no parameters were bound You can find the error back in the log.
回复#8 @zyuex :你把includes/log文件夹里的错误日志发上来看看
回复#9 @lincanbin :对了,还有就是头像什么的没调用出来,我源码是放在目录bbs中,路经是localhost/bbs
回复#8 @zyuex :锚文本在发新帖页面第二行第二个
回复#12 @lincanbin :
Time : 11:28:32SQLSTATE[HY093]: Invalid parameter number: no parameters were boundRaw SQL : SELECT TopicID FROM carbon_posttags force index(TagsIndex) Where TagID in (?) ORDER BY TopicID DESC LIMIT 0,20Time : 11:28:17SQLSTATE[HY093]: Invalid parameter number: no parameters were boundRaw SQL : SELECT TopicID FROM carbon_posttags force index(TagsIndex) Where TagID in (?) ORDER BY TopicID DESC LIMIT 0,20Time : 11:26:44SQLSTATE[HY093]: Invalid parameter number: no parameters were boundRaw SQL : SELECT * FROM carbon_posts force index(UserPosts) Where UserName in (?) and IsDel=0 ORDER BY PostTime DESC LIMIT 0,25
Time : 20:04:13SQLSTATE[HY093]: Invalid parameter number: no parameters were boundRaw SQL : SELECT * FROM carbon_posts force index(UserPosts) Where UserName in (?) and IsDel=0 ORDER BY PostTime DESC LIMIT 0,25Time : 20:03:31SQLSTATE[HY093]: Invalid parameter number: no parameters were boundRaw SQL : SELECT TopicID FROM carbon_posttags force index(TagsIndex) Where TagID in (?) ORDER BY TopicID DESC LIMIT 0,20Time : 20:03:22SQLSTATE[HY093]: Invalid parameter number: no parameters were boundRaw SQL : SELECT TopicID FROM carbon_posttags force index(TagsIndex) Where TagID in (?) ORDER BY TopicID DESC LIMIT 0,20Time : 19:57:31SQLSTATE[42000] [1049] Unknown database 'bbs'Time : 19:57:00SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
回复#12 @lincanbin :Time : 11:28:32SQLSTATE[HY093]: Invalid parameter number: no parameters were boundRaw SQL : SELECT TopicID FROM carbon_posttags force index(TagsIndex) Where TagID in (?) ORDER BY TopicID DESC LIMIT 0,20
Time : 11:28:17SQLSTATE[HY093]: Invalid parameter number: no parameters were boundRaw SQL : SELECT TopicID FROM carbon_posttags force index(TagsIndex) Where TagID in (?) ORDER BY TopicID DESC LIMIT 0,20
Time : 11:26:44SQLSTATE[HY093]: Invalid parameter number: no parameters were boundRaw SQL : SELECT * FROM carbon_posts force index(UserPosts) Where UserName in (?) and IsDel=0 ORDER BY PostTime DESC LIMIT 0,25
Time : 20:04:13SQLSTATE[HY093]: Invalid parameter number: no parameters were boundRaw SQL : SELECT * FROM carbon_posts force index(UserPosts) Where UserName in (?) and IsDel=0 ORDER BY PostTime DESC LIMIT 0,25
Time : 20:03:31SQLSTATE[HY093]: Invalid parameter number: no parameters were boundRaw SQL : SELECT TopicID FROM carbon_posttags force index(TagsIndex) Where TagID in (?) ORDER BY TopicID DESC LIMIT 0,20
Time : 20:03:22SQLSTATE[HY093]: Invalid parameter number: no parameters were boundRaw SQL : SELECT TopicID FROM carbon_posttags force index(TagsIndex) Where TagID in (?) ORDER BY TopicID DESC LIMIT 0,20
Time : 19:57:31SQLSTATE[42000] [1049] Unknown database 'bbs'
Time : 19:57:00SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
回复#14 @zyuex :你的PHP版本是不是低于Carbon Forum要求的5.3.6?
回复#15 @lincanbin :恩,我这几天在测试几个加密的PHP源码,可能切换了比较低的PHP版本
回复#15 @lincanbin :
我现在是切换到PHP5.6版本的,用谷歌浏览器可以添加话题,唯独就是firefox33.1不行,还有点击关注用户,关注话题,依然还是报错,头像也没获取!
回复#17 @zyuex :你应该试试在高版本下重新安装。
回复#18 @lincanbin :好的,我也打算重装一下看看的