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

highscores/account dont work on page!

IMac

entrepreneur
Joined
May 31, 2009
Messages
2,482
Reaction score
16
Location
Pluto
my highscores or access account by page wont work this is errors i get
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'skulltime' in 'field list'' in C:\xampp\htdocs\pot\OTS_Player.php:112 Stack trace: #0 C:\xampp\htdocs\pot\OTS_Player.php(112): PDO->query('SELECT `id`, `n...') #1 C:\xampp\htdocs\pot\OTS_Player.php(140): OTS_Player->load('3') #2 C:\xampp\htdocs\highscores.php(90): OTS_Player->find('Wasted') #3 C:\xampp\htdocs\index.php(160): include('C:\xampp\htdocs...') #4 {main} thrown in C:\xampp\htdocs\pot\OTS_Player.php on line 112
 
you need add this columns in your table

make a sql query

PHP:
ALTER TABLE players ADD `skulltime` BIGINT NOT NULL DEFAULT 0
ALTER TABLE players ADD `redskulltime` BIGINT NOT NULL DEFAULT 0


rep++ me :D
 
this is what i get the first line worked but not the 2nd 1
SQL query:

ALTER TABLE players ADD `redskulltime` BIGINT NOT NULL DEFAULT 0

MySQL said: Documentation
#1060 - Duplicate column name 'redskulltime'
 
Back
Top