|
|||
|
Integrate it into PostNuke:
1. open <installed_server_dir>/etc/fcserver.xml , and edit it: find: <integrated-other-database>None</integrated-other-database> change to: <integrated-other-database>Mysql</integrated-other-database> 2. open <installed_server_dir>/etc/Mysql.xml edit it: <?xml version="1.0" encoding="UTF-8"?> <Mysql> <database-host>your_db_host</database-host> <database-name>your_nuke_db_name</database-name> <database-user>your_db_user</database-user> <database-password>your_db_password</database-password> <user-table>nuke_users</user-table> <username-field>username</username-field> <password-field>user_password</password-field> <enable-md5>On</enable-md5> </Mysql> 3. restart 123 flash chat server good luck, ![]() |
|
|||
|
Hi
I made the changes and this occurred Starting the server ... You database setting error , please check your user-table, username-field, password-field :Column not found, message from server: "Unknown column 'user_password' in 'field list'" [cvhs2:Apache2/htdocs/123flashchat] lelchuck% java -cp lib/fcserver.jar:lib/log4j.jar:lib/jdom.jar:lib/xerces.jar:lib/mysql.jar:.* com.topcmm.jchat.MainServer ==== The proper username/password combo is pn_uname/pn_pass I made these changes and re-started the server thanks larry ===== ----== ->->->-> www.123flashchat.com <-<-<-< ==----- Welcome to try 123 Flash Chat Server software! This is a demo version of 123 Flash Chat Server 1.2 Demo version will disconnect the user after logging in for 10 minutes! Get the full version: http://www.123flashchat.com/buy.html ----== ->->->-> www.123flashchat.com <-<-<-< ==----- Starting the server ... log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: logs/access.log (Permission denied) at java.io.FileOutputStream.openAppend(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.j ava:174) at java.io.FileOutputStream.<init>(FileOutputStream.j ava:102) at org.apache.log4j.FileAppender.setFile(FileAppender .java:272) at org.apache.log4j.FileAppender.activateOptions(File Appender.java:151) at org.apache.log4j.DailyRollingFileAppender.activate Options(DailyRollingFileAppender.java:206) at org.apache.log4j.config.PropertySetter.activate(Pr opertySetter.java:247) at org.apache.log4j.config.PropertySetter.setProperti es(PropertySetter.java:123) at org.apache.log4j.config.PropertySetter.setProperti es(PropertySetter.java:87) at org.apache.log4j.PropertyConfigurator.parseAppende r(PropertyConfigurator.java:645) at org.apache.log4j.PropertyConfigurator.parseCategor y(PropertyConfigurator.java:603) at org.apache.log4j.PropertyConfigurator.configureRoo tCategory(PropertyConfigurator.java:500) at org.apache.log4j.PropertyConfigurator.doConfigure( PropertyConfigurator.java:406) at org.apache.log4j.PropertyConfigurator.configure(Pr opertyConfigurator.java:340) at aa.b(Unknown Source) at W.a(Unknown Source) at W.<init>(Unknown Source) at com.topcmm.jchat.MainServer.<init>(Unknown Source) at com.topcmm.jchat.MainServer.main(Unknown Source) log4j:ERROR Either File or DatePattern options are not set for appender [AInfo]. log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: logs/error.log (Permission denied) at java.io.FileOutputStream.openAppend(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.j ava:174) at java.io.FileOutputStream.<init>(FileOutputStream.j ava:102) at org.apache.log4j.FileAppender.setFile(FileAppender .java:272) at org.apache.log4j.FileAppender.activateOptions(File Appender.java:151) at org.apache.log4j.DailyRollingFileAppender.activate Options(DailyRollingFileAppender.java:206) at org.apache.log4j.config.PropertySetter.activate(Pr opertySetter.java:247) at org.apache.log4j.config.PropertySetter.setProperti es(PropertySetter.java:123) at org.apache.log4j.config.PropertySetter.setProperti es(PropertySetter.java:87) at org.apache.log4j.PropertyConfigurator.parseAppende r(PropertyConfigurator.java:645) at org.apache.log4j.PropertyConfigurator.parseCategor y(PropertyConfigurator.java:603) at org.apache.log4j.PropertyConfigurator.configureRoo tCategory(PropertyConfigurator.java:500) at org.apache.log4j.PropertyConfigurator.doConfigure( PropertyConfigurator.java:406) at org.apache.log4j.PropertyConfigurator.configure(Pr opertyConfigurator.java:340) at aa.b(Unknown Source) at W.a(Unknown Source) at W.<init>(Unknown Source) at com.topcmm.jchat.MainServer.<init>(Unknown Source) at com.topcmm.jchat.MainServer.main(Unknown Source) log4j:ERROR Either File or DatePattern options are not set for appender [AError]. Init File System error, Server started failed! |
|
|||
|
Quote:
chmod 666 log/access.log to allow other users to access the file, try some similar command in MAC, or just delete the log/access.log file, and try again! |
|
|||
|
please undo the changes in <installed_server_dir>/etc/fcserver.xml
edit it, and change: <integrated-other-database>Mysql</integrated-other-database> to <integrated-other-database>None</integrated-other-database> then restart the chat server, is there same error ? |
|
|||
|
I think the reason is:the system user you started the server at the first time and the current system user you starting the server is not the same one, so the second user have not permissiton to write the file when the first user created.
just use the administrator user delete "logs" and "data" dir, and then login in with the common user, and start the server again! |
|
|||
|
Thanks for your valuable time on this.
After getting it to work with the java command that you provided on the previous page, I created a user with a user/pass. At the same time that I followed your directions to have it link to my Mysql database, I changed the admin/admin in the .xml file to the same user/pass I had created earlier. I think that this caused the conflict. Once I deleted both folders as you suggested, it started ok using it's own database. Ditto for linking to my Mysql database. A couple of questions: 1. Am I ok to change the admin user/pass (in the .xml file) to my preferred one (as long as I did not log in to 123flashchat using that username OR is there a way to do it from within the browser? 2. Is these a way to restrict access to user rooms and then to allow a room to have breakout rooms? Eg. Only Math student sget to enter the Math room, and they can then subdivide into group rooms. 3. I am excited about the possibilities of adding voice and video if this is not too much of a stretch. Is this a possibility and what are the timefrasmes? thanks again. |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|