• 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!

Website errors when create account/character

robbydeath

Well-Known Member
Joined
Feb 11, 2008
Messages
495
Reaction score
92
Location
washington state
Sorry I thought this was fixed it's not. It was two errors I fixed one. This remains;

Code:
Fatal error: Uncaught exception 'DatabaseQueryException'
Message: Error #1048:Column 'ip' cannot be null
SQL query: INSERT INTO `nicaw_account_logs` (id, ip, account_id, date, action) VALUES(NULL, INET_ATON('::1'), 455455, UNIX_TIMESTAMP(NOW()), 'Created')
File: sql.php on line: 94
Script was terminated because something unexpected happened. You can report this, if you think it's a bug.

Debug Backtrace:Disabled

I get this error after creating an account, although the account is created correctly.

I would greatly appreciate any help, sorry about that!

By the way, I think something is wrong in this but I cant see it...

Code:
  //Perform simple SQL query
  public function myQuery($q) {
  if(is_resource($this->last_query))
  mysql_free_result($this->last_query);
  $this->last_query = mysql_query($q, $this->sql_connection);
  $this->last_insert_id = mysql_insert_id();
  if ($this->last_query === false) {
  $this->analyze();
  throw new DatabaseQueryException('Error #'.mysql_error().':'.mysql_error(), $q);
  }
  return $this->last_query;
  }
 
Last edited:
Back
Top