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

Solved Gesior fatal error

Snach

Sensei
Joined
Aug 8, 2009
Messages
1,694
Reaction score
84
Location
Estonia
Hello =)

When I try to create char on mywebpage it says:
The Following Errors Have Occurred:
# Wrong characters configuration ("Load vocations" in admin panel, "character to copy" doesn't exist in D. Try again or contact with admin.

I also get these errors:

Fatal error: Call to a member function fetch() on a non-object in C:\xampp\htdocs\pot\OTS_Player.php on line 66
line 66:
Code:
        // SELECT query on database
        $this->data = $this->db->query('SELECT ' . $this->db->fieldName('id') . ', ' . $this->db->fieldName('name') . ', ' . $this->db->fieldName('account_id') . ', ' . $this->db->fieldName('group_id') . ', ' . $this->db->fieldName('premend') . ', ' . $this->db->fieldName('sex') . ', ' . $this->db->fieldName('vocation') . ', ' . $this->db->fieldName('experience') . ', ' . $this->db->fieldName('level') . ', ' . $this->db->fieldName('maglevel') . ', ' . $this->db->fieldName('health') . ', ' . $this->db->fieldName('healthmax') . ', ' . $this->db->fieldName('mana') . ', ' . $this->db->fieldName('manamax') . ', ' . $this->db->fieldName('manaspent') . ', ' . $this->db->fieldName('soul') . ', ' . $this->db->fieldName('direction') . ', ' . $this->db->fieldName('lookbody') . ', ' . $this->db->fieldName('lookfeet') . ', ' . $this->db->fieldName('lookhead') . ', ' . $this->db->fieldName('looklegs') . ', ' . $this->db->fieldName('looktype') . ', ' . $this->db->fieldName('lookaddons') . ', ' . $this->db->fieldName('posx') . ', ' . $this->db->fieldName('posy') . ', ' . $this->db->fieldName('posz') . ', ' . $this->db->fieldName('cap') . ', ' . $this->db->fieldName('lastlogin') . ', ' . $this->db->fieldName('lastip') . ', ' . $this->db->fieldName('save') . ', ' . $this->db->fieldName('conditions') . ', ' . $this->db->fieldName('redskulltime') . ', ' . $this->db->fieldName('redskull') . ', ' . $this->db->fieldName('guildnick') . ', ' . $this->db->fieldName('rank_id') . ', ' . $this->db->fieldName('town_id') . ', ' . $this->db->fieldName('loss_experience') . ', ' . $this->db->fieldName('loss_mana') . ', ' . $this->db->fieldName('loss_skills') . ' FROM ' . $this->db->tableName('players') . ' WHERE ' . $this->db->fieldName('id') . ' = ' . (int) $id)->fetch();

Fatal error: Call to a member function fetchAll() on a non-object in C:\xampp\htdocs\bans.php on line 13

line 13:
Code:
$players_banned = $SQL->query('SELECT `bans`.`account`, `bans`.`comment`, `bans`.`banned_by`, `bans`.`time`, `bans`.`reason_id` FROM `bans`, `players` WHERE `players`.`account_id` = `bans`.`account` AND `bans`.`time` > '.time().' AND `bans`.`type` = 3 GROUP BY `bans`.`account` ORDER BY `bans`.`time`')->fetchAll();

Fatal error: Call to a member function fetchAll() on a non-object in C:\xampp\htdocs\pot\OTS_Base_List.php on line 208

line 208:
Code:
$this->rows = $this->db->query( $this->getSQL() )->fetchAll();


Anyone know how to fix these?
Thanks
 
Last edited:
Back
Top