Login and register help
Login and register help
I tried adding login and register to the avatar chat but it not working.
-
- Posts: 34
- Joined: 17 Sep 2011, 22:04
- Location: Florida
- Contact:
Register/Login.
Hey! I can only suggest you search for errors? Php, AvatarChat, Etc. I need more information to be able to help you!
(If you used a Tutorial try re doing it.)
(If you used a Tutorial try re doing it.)
Re: Register/Login.
WorldOfNyan wrote:Hey! I can only suggest you search for errors? Php, AvatarChat, Etc. I need more information to be able to help you!
(If you used a Tutorial try re doing it.)
Can someone make a tutorial on this?
- zachofthegolden1
- Posts: 89
- Joined: 05 Sep 2011, 19:31
Re: Login and register help
longmvucp wrote:I tried adding login and register to the avatar chat but it not working.
please check out http://sfs-tutor.blogspot.com/
that site has loads of good tutorials on database logins and register functions.
-ZG1
Re: Login and register help
So how do you use the tutorial on http://sfs-tutor.blogspot.com/ and merge it with the avatar chat?
Re: Login and register help
Can someone post the source code for http://sfs-tutor.blogspot.com/?
Re: Login and register help
Well, I'm sorry but my laptop's HDD burned last summer, and so I lost all the tutorial's source.
I suggest you to follow the tutorial with attention, as all the code is there. Maybe anyone else has a working example and doesn't mind sharing.
I suggest you to follow the tutorial with attention, as all the code is there. Maybe anyone else has a working example and doesn't mind sharing.
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
-
- Posts: 2
- Joined: 27 Feb 2012, 02:21
Re: Login and register help
I tried adding login and register to the avatar chat but it not working.
Re: Login and register help
<DatabaseManager active="true">
<Driver>The Driver</Driver>
<ConnectionString>The URL</ConnectionString>
<UserName>Database Username</UserName>
<Password>Database Password</Password>
<TestSQL><![CDATA[Test SQL Statement]]></TestSQL>
<MaxActive>100</MaxActive>
<MaxIdle>100</MaxIdle>
<OnExhaustedPool>fail</OnExhaustedPool>
<BlockTime>5000</BlockTime>
</DatabaseManager>
What the driver,url,user name,password?
<Driver>The Driver</Driver>
<ConnectionString>The URL</ConnectionString>
<UserName>Database Username</UserName>
<Password>Database Password</Password>
<TestSQL><![CDATA[Test SQL Statement]]></TestSQL>
<MaxActive>100</MaxActive>
<MaxIdle>100</MaxIdle>
<OnExhaustedPool>fail</OnExhaustedPool>
<BlockTime>5000</BlockTime>
</DatabaseManager>
What the driver,url,user name,password?
Re: Login and register help
Hi.
Please read the whole docs before starting developing. That will help you a lot.
On this chapter, it explains very well what are those drivers, and provides an example about how to connect to a MySQL database. You can also find how to setup your h2Databse here and in the config.xml that originally comes with the server, you'll find 2 zones: dbZone (which has the DBManager setup for connecting to a MySQL database) and h2dbzone (which has the DBManager setup for connecting to a H2Database).
Please read the whole docs before starting developing. That will help you a lot.
On this chapter, it explains very well what are those drivers, and provides an example about how to connect to a MySQL database. You can also find how to setup your h2Databse here and in the config.xml that originally comes with the server, you'll find 2 zones: dbZone (which has the DBManager setup for connecting to a MySQL database) and h2dbzone (which has the DBManager setup for connecting to a H2Database).
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Re: Login and register help
I got a error on mac
Last login: Mon Feb 27 22:34:43 on ttys001
(name remove)-mac-mini:~ longvu$ /Applications/SmartFoxServer\ PRO\ 1.6.6/Server/adminDb.sh
Exception in thread "main" java.lang.NoClassDefFoundError: org/h2/tools/Server
Caused by: java.lang.ClassNotFoundException: org.h2.tools.Server
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
(name remove)-mac-mini:~ longvu$
Last login: Mon Feb 27 22:34:43 on ttys001
(name remove)-mac-mini:~ longvu$ /Applications/SmartFoxServer\ PRO\ 1.6.6/Server/adminDb.sh
Exception in thread "main" java.lang.NoClassDefFoundError: org/h2/tools/Server
Caused by: java.lang.ClassNotFoundException: org.h2.tools.Server
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
(name remove)-mac-mini:~ longvu$
Re: Login and register help
Please check this topic, it seems the problem you're facing is the same.
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Re: Login and register help
rjgtav wrote:Please check this topic, it seems the problem you're facing is the same.
It says "cd /Applications/SFS\ Pro\ 1.6.3/Server/"
I am more use to windows so what should I put in there?
Re: Login and register help
Well, I never used Mac. But I suppose thats the line of code you should run on the terminal, in order to go to the server folder. Of course the folder should be different actually, as the server is already on version 1.6.9, and not 1.6.3, as it was at the time of that topic.
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Return to “SmartFoxServer 1.x Discussions and Help”
Who is online
Users browsing this forum: No registered users and 69 guests