当前位置: 代码迷 >> Web开发 >> freeCS系统解决方法
  详细解决方案

freeCS系统解决方法

热度:141   发布时间:2012-12-14 10:33:08.0
freeCS系统
有谁知道FreeCS系统的么?!有谁研究过这个系统的源代码吗?我正在研究中,感觉有点难度,找不到这个系统的入口,进入不了系统的内部。。cookie一直提示为空!谁研究过啊?告知下下为什么Cookie一直会为空?如果知道这个系统的相关账户密码的,把它发给我吧,一直想进入这个系统。。可找不到它默认的账户,进不去!求助。。谢谢!!!
------最佳解决方案--------------------
没烟酒过!到官方网站找找吧
------其他解决方案--------------------
谁有这个系统的帮助文档啊?下载项目的时候这个系统的帮助文档已经关闭来,谁以前下到过的,共享下咯。。非常感谢!!!
------其他解决方案--------------------
谢谢上楼仁兄。。在官网一直在找,文档已经关闭,找不到了!不过还好,研究成功。。已经登录系统了!开始解决新的问题..
------其他解决方案--------------------
怎么进去的,能否赐教呢?
------其他解决方案--------------------
引用:
怎么进去的,能否赐教呢?

它有个配置文件,你要先配置是数据库模式还是xml模式,它的这些都是注释的,你只要自己选择好就行,去掉相应的注释,还有个选择是是否允许不注册的用户进行登录。。你去掉注释,为true之后,就可以进行聊天了。。当然你要注意编码问题,要不它会是乱码!进去之后,就可以聊天了,有个html文件是命令帮助文档,它要输入相关命令来确认你是群聊还是私聊还是建群等等操作。。
------其他解决方案--------------------
引用:
怎么进去的,能否赐教呢?

额刚那回复是在我没看代码的情况下叙述的,现在在稍微详细说下!在auth.properties文件中进行数据库或者xml配置,其中allowUnregisteredUsers=true这句是允许不注册的用户进入系统,这样你就不必注册用户可以进入系统了。。CommandList.html这个html文件是相关的聊天命令!你可以用上面的命令进行各种聊天操作等等!Server.java是这个系统的主类,你可以根据这个类进行代码跟踪,了解它的思想及流程。。。也没完全了解透!就先这样了~~~
------其他解决方案--------------------
谢谢,您的回复,控制台一直报cookie为空是什么原因呢?
------其他解决方案--------------------
引用:
谢谢,您的回复,控制台一直报cookie为空是什么原因呢?

报cookie为空?!你没设置可以不注册就可以登录进去的吗?设置那个后直接点登录就可以进去的。。你的具体情况没描述清楚,我也不知道。。
------其他解决方案--------------------
我按您的指点设置了,下面是我的配置文件auth.properties,但是点登录后,系统又返回原页面了,您帮忙看看,是不是那里漏了,谢谢!

# classes in the freecs.auth.* package that are used for authentication
# if several classes are started (comma separated) the resulting user object
# of the first class is passed to the second so that further properties can be
# loaded. validation of username/password is done only once.
#
# note that SQLAuthenticator and XmlRpcAuthenticator require further configuration
# by default the class NoAuthentication is used.

 authenticators = XmlRpcAuthenticator

#
# global authentication-properties
#

# username-regex is the pattern, which must be matched to be a valid username
# - default:
# usernameRegex=^[a-z[A-Z[0-9[???????]]]]+$

# if set to true logins aren't validated against an Authenticator
allowUnregisteredUsers=true

#
# properties for authentication via sql
#

# the jdbc driver
SQLAuthenticator.driver  = com.mysql.jdbc.Driver

# the database url to connect to
SQLAuthenticator.url = jdbc:mysql://localhost:3066/community

# user and password to access the db
SQLAuthenticator.username  = root
SQLAuthenticator.password  = root

# how many simultaneous connections to the database
  相关解决方案