xXKeLLerman
Enthusiast
Thank you for your hard work !
but when i press the button,open a messagebox error"Failed to retrieve data"
in all the forms botton " login " , " generated key" etc ...
is the latest version posted in the main thread? i didnt see any php files/plugins for ipb(if they exist?) also the files in my downloaded folder are from 2013 so was just checking.
Why would there be php files or plugins for ipb (a free forum)? Of course the files are from 2013, the project was released in 2013. I doubt any changes have been made since, but it shouldn't matter as it will still work just fine.
is the latest version posted in the main thread? i didnt see any php files/plugins for ipb(if they exist?) also the files in my downloaded folder are from 2013 so was just checking.
Actually you guys have it double posted and the more updated version is in another section with the php files etc, but thanks for the sarcasm.
but thanks for the sarcasm.
First off I want to say that this is really awesome! I've been looking for something like this for quite some time now.
Sorry in advance for the stupid question... here goes.
I have this working for the most part, it's connecting to the database with proper privileges and all that. I am just stuck on how many columns I need to add to my table to get this to work.
I assumed it was 6 columns like how you showed in your first post, but it's giving me an error saying that the columns aren't matching up.
If I leave it at 1 column, the generate key will work. I know I need more for user/email/password etc.
Any idea or enlightenment that you can provide me on the table setup?
Thanks again, and cheers mate!
CREATE DATABASE IF NOT EXISTS `accounts` /*!40100 DEFAULT CHARACTER SET latin1 */;
USE `accounts`;
CREATE TABLE IF NOT EXISTS `keys` (
`keystring` varchar(12) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
CREATE TABLE IF NOT EXISTS `user` (
`Id` int(11) NOT NULL AUTO_INCREMENT,
`email` varchar(85) NOT NULL,
`password` varchar(45) NOT NULL,
`keystring` varchar(12) NOT NULL,
`hwid` text NOT NULL,
`status` tinyint(2) NOT NULL,
PRIMARY KEY (`Id`,`email`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
Everything has been working great, though I encountered an error and I'm not sure why.
The error occurs when a user attempts to create an account with a very specific password, that password was: cfgg1346
But when the user attempts to create with pretty much any other password there is no error and everything works fine.
Error information is posted below, Any ideas?
Error
"Failed to execute data! Fatal error encountered during command execution."
Exception Text
System.NullReferenceException: Object reference not set to an instance of an object.
at hwid_login_system.DatabaseAccess.ExecuteQuery(String query)
at hwid_login_system.Login.newaccount()
at hwid_login_system.Login.loginButton_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Is the user using the provided key that's generated in the admin table? You would have to run the instance in a step debug so you can tell me where it began to fail.