luhfe
New Member
- Joined
- Apr 26, 2018
- Messages
- 48
- Reaction score
- 2
Hi, good night.
That problem occurs affter create account, and when anybody try enter on "Create characters" page.
Error on create acc. if someone can help, i apprec.
MyAAC version : otbr/myaac (https://github.com/otbr/myaac)
On Try acc page of Chars on site (God account or ADM or any) automatic redirec to login page.
Ty anyway. @Alpha (Sorry for mark u but i see u giving a help hand in another topic like this) !
I know that is only a problem of config, but i dont know sql so can help ? ty
---
Edit : in my SQL database i cant found this dates (ip, ipv6...)
That problem occurs affter create account, and when anybody try enter on "Create characters" page.
Error on create acc. if someone can help, i apprec.
SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'ip' at row 1
Backtrace:
#0 C:\tf1.2\UniServerZ\www\system\libs\pot\OTS_Account.php(981): PDO->exec()
#1 C:\tf1.2\UniServerZ\www\system\pages\createaccount.php(175): OTS_Account->logAction()
#2 C:\tf1.2\UniServerZ\www\index.php(347): require('C:\\tf1.2\\UniSer...')
#3 {main}
OTS_Account.php (981)
return $this->db->exec('INSERT INTO' . TABLE_PREFIX . 'account_actions
(account_id
,ip
,ipv6
,date
,action
) VALUES (' . $this->db->quote($this->getId()).', ' . ($ip == '' ? '0' : $this->db->quote(ip2long($ip))) . ', (' . ($ipv6 == '0' ? $this->db->quote('') : $this->db->quote(inet_pton($ipv6))) . '), UNIX_TIMESTAMP(NOW()), ' . $this->db->quote($action).')');
Createaccount.php(175)
$new_account->logAction('Account created.');
Using Uniform ServerIndex.php (344, 345, 346, 347) - all code lines
ob_start();
if($hooks->trigger(HOOK_BEFORE_PAGE)) {
if(!$ignore)
require $file;
MyAAC version : otbr/myaac (https://github.com/otbr/myaac)
On Try acc page of Chars on site (God account or ADM or any) automatic redirec to login page.
Ty anyway. @Alpha (Sorry for mark u but i see u giving a help hand in another topic like this) !
I know that is only a problem of config, but i dont know sql so can help ? ty
---
Edit : in my SQL database i cant found this dates (ip, ipv6...)
Last edited: