• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Quick Question] AAC

Status
Not open for further replies.

JDB

OtLand Veteran
Joined
Jun 1, 2009
Messages
4,145
Solutions
2
Reaction score
115
Account Page:
Created: 31 December 1969, 19:00:00

Umm, why is that? And where can I change that?

//JDB
 
I think this time is captured in the mysql schedule at the time of character creation.

So, there is no way to fix that? Because all account's created on my database are saying that date.

:(
 
Last edited:
It was bug in OTS_Account.php :)

Line 199:
PHP:
        $this->db->query('INSERT INTO ' . $this->db->tableName('accounts') . ' (' . $this->db->fieldName('id') . ', ' . $this->db->fieldName('name') . ', ' . $this->db->fieldName('password') . ', ' . $this->db->fieldName('email') . ') VALUES (' . $number . ', ' . $this->db->quote($name) . ', \'\', \'\')');
to:
PHP:
        $this->db->query('INSERT INTO ' . $this->db->tableName('accounts') . ' (' . $this->db->fieldName('id') . ', ' . $this->db->fieldName('name') . ', ' . $this->db->fieldName('password') . ', ' . $this->db->fieldName('email') . ', ' . $this->db->fieldName('created') . ') VALUES (' . $number . ', ' . $this->db->quote($name) . ', \'\', \'\',' . time() . ')');
 
Status
Not open for further replies.
Back
Top