Hello everyone,
First of all, thanks for such a great opportunity of free account management software.
I have faced a problem which was mentioned in this thread but did not receive an answer.
First, some entry info:
1. config
permissions 666
email verification false
account management enabled
2. install.php script says there are no problems. everything is OK.
3. cache perm 755
4. sql file parsed! tables updated! checked manually and by install script.
About the problem.
When try to create account:
Database problem : Account was not created. Please report this to the Staff.
Debug
- ACM VERSION : 0.9.8
- Check if the image verification is needed
- Check if the image verification is correct
- Check if the login still exist
- l2jdb->SELECT COUNT(`login`) FROM `accounts` WHERE `login` = 'fool' LIMIT 1;
- Result: string('0')
- Check if the email still exist
- l2jdb->SELECT COUNT(`login`) FROM `accounts` WHERE `email` = 'fool@xxx.com' LIMIT 1;
- Result: string('0')
- Create a new user on the accounts table with -1 on accesslevel
- l2jdb->INSERT INTO `accounts` (`login`,`password`,`lastactive`,`accessLevel`,`lastIP`,`email`) VALUES ('fool', 'DcFW0ozSoN4oQ89yp/81/ZoM4vM=', '1.301400151E+12', '-1', 'myip', 'fool@xxx.com');
- Records: -1
- Check if the login still exist
- l2jdb->SELECT COUNT(`login`) FROM `accounts` WHERE `login` = 'fool' LIMIT 1;
- Result: string('0')
When try to access existing accnt:
We were unable to verify your login. Either your login information was entered incorrectly, or the account system is currently unavailable.
Debug
- ACM VERSION : 0.9.8
- Check if the image verification is needed
- Check if the image verification is correct
- Get how many unsuccessfull loggin user have do
- l2jdb->SELECT `value` FROM `account_data` WHERE `account_name` = 'ip' AND `var` LIKE 'try_%' LIMIT 1;
- Result: string('1301400118')
- Get how many unsuccessfull loggin user have do
- l2jdb->SELECT `var` FROM `account_data` WHERE `account_name` = 'ip' AND `var` LIKE 'try_%' LIMIT 1;
- Result: string('try_3')
- Set how many unsuccessfull loggin user have do
- l2jdb->UPDATE `account_data` SET `var` = 'try_0', `value` = '1301401932' WHERE `account_name` = 'ip';
- Records: 1
- Get how many unsuccessfull loggin user have do
- l2jdb->SELECT `var` FROM `account_data` WHERE `account_name` = 'ip' AND `var` LIKE 'try_%' LIMIT 1;
- Result: string('try_0')
- Check if login and password match on account table
- l2jdb->SELECT COUNT(`login`) FROM `accounts` WHERE `login` = 'stem' AND `password` = 'pass' AND `accessLevel` >= 0 LIMIT 1;
- Result: boolean(false)
- Get how many unsuccessfull loggin user have do
- l2jdb->SELECT `var` FROM `account_data` WHERE `account_name` = 'ip' AND `var` LIKE 'try_%' LIMIT 1;
- Result: string('try_0')
- Set how many unsuccessfull loggin user have do
- l2jdb->UPDATE `account_data` SET `var` = 'try_1', `value` = '1301401932' WHERE `account_name` = 'ip';
- Records: 1
In the same time password retrieve function is working.
I m running c4. servername.xml was replaced by the one in gameserver folder. Also ACM is located on separate server, but once again, connection is setup and install script does not show any problems. Server is up and running. Also I have tried to manually edit accesslevel on registration to 0, but its of no help.
Any advice is appreciated!!