• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

[Gesior AAC] Help ive got an error when trying to log in!

Niioxce

Otland lurker
Joined
Jun 22, 2012
Messages
324
Reaction score
4
Location
Sweden
Hi, i have trouble when loging on my website i dunno what it is but iam very grateful if someone would help me, and what should i do? I have searched on forums and founf nothing so im in big need of help!

Error occured!
Error ID: ObjectData::getCustomField - Field email_new_time does not exist in data / is not loaded.
More info:

File: C:\xampp\htdocs\classes/objectdata.php Line: 52
File: C:\xampp\htdocs\pages/accountmanagement.php Line: 42
File: C:\xampp\htdocs\system/load.page.php Line: 7
File: C:\xampp\htdocs/index.php Line: 37
 
SQL:
ALTER TABLE `accounts` ADD `email_new_time` INT(11) NOT NULL DEFAULT 0;
 
In classes/account.php
Code:
public $data = array('name' => null, 'password' => null, 'salt' => null, 'premdays' => null, 'lastday' => null, 'email' => null, [COLOR=#ff0000]'email_new_time' => null,[/COLOR] 'key' => null, 'group_id' => null, 'create_ip' => null, 'create_date' => null, 'premium_points' => null, 'page_access' => null, 'location' => null, 'rlname' => null, 'email_new' => null, 'email_code' => null, 'next_email' => null, 'last_post' => null, 'flag' => null);
public static $fields = array('id', 'name', 'password', 'salt', 'premdays', 'lastday', 'email', [COLOR=#ff0000]'email_new_time',[/COLOR] 'key', 'group_id', 'create_ip', 'create_date', 'premium_points', 'page_access', 'location', 'rlname', 'email_new', 'email_code', 'next_email', 'last_post', 'flag');
 
In classes/account.php
Code:
public $data = array('name' => null, 'password' => null, 'salt' => null, 'premdays' => null, 'lastday' => null, 'email' => null, [COLOR=#ff0000]'email_new_time' => null,[/COLOR] 'key' => null, 'group_id' => null, 'create_ip' => null, 'create_date' => null, 'premium_points' => null, 'page_access' => null, 'location' => null, 'rlname' => null, 'email_new' => null, 'email_code' => null, 'next_email' => null, 'last_post' => null, 'flag' => null);
public static $fields = array('id', 'name', 'password', 'salt', 'premdays', 'lastday', 'email', [COLOR=#ff0000]'email_new_time',[/COLOR] 'key', 'group_id', 'create_ip', 'create_date', 'premium_points', 'page_access', 'location', 'rlname', 'email_new', 'email_code', 'next_email', 'last_post', 'flag');

now i get Fatal error: Call to a member function fetch() on a non-object in C:\xampp\htdocs\classes\account.php on line 33

- - - Updated - - -

Bump
 
Do you mean you also get the "Fatal error: Call to a member function fetch() on a non-object" error?
In index.php set DEBUG_DATABASE false to true to see the error about what's missing in the database.
PHP:
define('DEBUG_DATABASE', true);
Set it back to false after that.
 
bumb the same error
Do you mean you also get the "Fatal error: Call to a member function fetch() on a non-object" error?
In index.php set DEBUG_DATABASE false to true to see the error about what's missing in the database.
PHP:
define('DEBUG_DATABASE', true);
Set it back to false after that.
whhen i set it to true i got this

Query: SELECT `id`, `name`, `password`, `salt`, `premdays`, `lastday`, `email`, `key`, `group_id`, `create_ip`, `create_date`, `premium_points`, `guild_points`, `page_access`, `location`, `rlname`, `email_new`, `email_new_time`, `email_code`, `next_email`, `last_post`, `flag` FROM `accounts` WHERE `name` = 'D'
SQLSTATE: 42S22
Driver code: 1054
Error message: Unknown column 'create_ip' in 'field list'

Fatal error: Call to a member function fetch() on a non-object in C:\xampp\htdocs\classes\account.php on line 33
 
Back
Top