过来研究一下这个论坛

过来研究一下这个论坛

By zyuex at 2014-11-13
0人收藏 • 8741人看过

刚下来了这个论坛源码,本地老是发表不了新帖,提示话题不能为空,搞不懂,话题那里都有写入了!

63 个回复 | 最后更新于 2014-11-14
sccgin
2014-11-13
#1

看看什么

lincanbin
2014-11-13
#2

是在论坛右侧这里下载的吗?

zyuex
2014-11-13
#3

是的啊,我在话题那里输入了内容相关的话题,然后按enter 就是添加不出来啊,点发表,老提示话题为空

zyuex
2014-11-13
#4

还有这个不能添加锚文本链接的吗

lincanbin
2014-11-13
#5

回复#4 @zyuex :浏览器以及版本是什么?我下载个试试。你在官网能吗?官网和发布出去的源码是一模一样的。

锚文本链接在发新帖页面有这个按钮,在回复这里我为了把编辑器精简到剩下一行,去掉了那个,我觉得没什么人用而且我自己也不习惯用。

asddd
2014-11-13
#6

回复#3 @zyuex :那是因为,添加话题那栏你没有填写吧,就是tag没有填写。

zyuex
2014-11-14
#7

我用的是Firefox33.1 ,官网有自动提示的,我自己本地测试的,也装了词典了才能用了,要不然自己添加话题的,不能用,发新贴没看到锚文本按钮在哪

zyuex
2014-11-14
#8

回复#5 @lincanbin :

我用的是Firefox33.1 ,官网有自动提示的,我自己本地测试的,也装了词典了才能用了,要不然自己添加话题的,不能用,发新贴没看到锚文本按钮在哪

点关注用户出现  关注话题后 出现下面的错误

Unhandled Exception. SQLSTATE[HY093]: Invalid parameter number: no parameters were bound You can find the error back in the log.

lincanbin
2014-11-14
#9

回复#7 @zyuex :好,确认了。

用Firefox能复现这个bug,Chrome与IE均正常。

等下我回去后看看Firefox是有什么问题,估计又是不同的Javascript标准导致的。

lincanbin
2014-11-14
#10

回复#8 @zyuex :你把includes/log文件夹里的错误日志发上来看看

zyuex
2014-11-14
#11

回复#9 @lincanbin :对了,还有就是头像什么的没调用出来,我源码是放在目录bbs中,路经是localhost/bbs

lincanbin
2014-11-14
#12

回复#8 @zyuex :锚文本在发新帖页面第二行第二个

zyuex
2014-11-14
#13

回复#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)

zyuex
2014-11-14
#14

回复#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)

lincanbin
2014-11-14
#15

回复#14 @zyuex :你的PHP版本是不是低于Carbon Forum要求的5.3.6?

zyuex
2014-11-14
#16

回复#15 @lincanbin :恩,我这几天在测试几个加密的PHP源码,可能切换了比较低的PHP版本

zyuex
2014-11-14
#17

回复#15 @lincanbin :

我现在是切换到PHP5.6版本的,用谷歌浏览器可以添加话题,唯独就是firefox33.1不行,还有点击关注用户,关注话题,依然还是报错,头像也没获取!

lincanbin
2014-11-14
#18

回复#17 @zyuex :你应该试试在高版本下重新安装。

zyuex
2014-11-14
#19

回复#18 @lincanbin :好的,我也打算重装一下看看的


登 录


现在注册

QQ  登 录    Weibo  登 录    GitHub  登 录