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

delton

New Member
Joined
Jun 13, 2008
Messages
230
Reaction score
0
Location
Ijuí
When players login:
LUA:
[22/07/2010 19:05:54] > Saving server...
[22/07/2010 19:05:54] OTSYS_SQLITE3_PREPARE(): SQLITE ERROR: no such table: account_viplist (DELETE FROM "account_viplist" WHERE "account_id" = 3 AND "world_id" = 0)
[22/07/2010 18:59:45] Error while saving player: Dellton.


Help Plx
 
Last edited:
Okey, it clearly says that you don't have a table named account_viplist.
Execute this in Phpmyadmin:
Code:
CREATE TABLE "account_viplist" (
	"account_id" INTEGER NOT NULL,
	"world_id" INTEGER NOT NULL DEFAULT 0,
	"player_id" INTEGER NOT NULL,
	UNIQUE ("account_id", "player_id"),
	FOREIGN KEY ("account_id") REFERENCES "accounts" ("id"),
	FOREIGN KEY ("player_id") REFERENCES "players" ("id")
);
 
Back
Top