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

Problem with Unknown column 'loss_experience' in 'field list'

next problem : <
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'loss_mana' in 'field list'' in C:\xampp\htdocs\system\application\libraries\POT\OTS_Player.php:113 Stack trace: #0 C:\xampp\htdocs\system\application\libraries\POT\OTS_Player.php(113): PDO->query('SELECT `id`, `n...') #1 C:\xampp\htdocs\system\application\libraries\POT\OTS_Player.php(141): OTS_Player->load('146') #2 C:\xampp\htdocs\system\application\controllers\character.php(227): OTS_Player->find('Thear Fared') #3 [internal function]: Character->view('Thear Fared') #4 C:\xampp\htdocs\system\codeigniter\CodeIgniter.php(236): call_user_func_array(Array, Array) #5 C:\xampp\htdocs\index.php(165): require_once('C:\xampp\htdocs...') #6 {main} thrown in C:\xampp\htdocs\system\application\libraries\POT\OTS_Player.php on line 113
 
It seems that ModernAAC doesn't work with your version of forgottenserver. In my opinion you have to download AAC created for your server.

Anyway, execute this query through phpmyadmin to fix your latest error
Code:
ALTER TABLE `players` ADD `loss_mana` INT NOT NULL DEFAULT 100;
ALTER TABLE `players` ADD `loss_skills` INT NOT NULL DEFAULT 100;
ALTER TABLE `players` ADD `loss_containers` INT NOT NULL DEFAULT 100;
ALTER TABLE `players` ADD `loss_items` INT NOT NULL DEFAULT 100;
 
Back
Top