• 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 #C-5 : Class::ConfigPHP - Key sqlType doesn't exist.

tev

Banned User
Joined
Apr 19, 2013
Messages
113
Reaction score
6
Error occured!

Error ID: #C-5
More info: ERROR: #C-5 : Class::ConfigPHP - Key sqlType doesn't exist.

File: C:\xampp\htdocs\classes/configphp.php Line: 96
File: C:\xampp\htdocs/install.php Line: 165

Install.php - Line 165:
Code:
if(Website::getServerConfig()->getValue(SERVERCONFIG_SQL_TYPE) == 'mysql')

configphp.php - Line 96:
Code:
new Error_Critic('#C-5', 'ERROR: <b>#C-5</b> : Class::ConfigPHP - Key <b>' . $key . '</b> doesn\'t exist.');

config.lua
Code:
worldType = "pvp"
hotkeyAimbotEnabled = true
protectionLevel = 1
killsToRedSkull = 3
killsToBlackSkull = 6
pzLocked = 60000
removeChargesFromRunes = true
timeToDecreaseFrags = 24 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 1000
stairJumpExhaustion = 2000
experienceByKillingPlayers = false
expFromPlayersLevelRange = 75

ip = "127.0.0.1"
bindOnlyGlobalAddress = false
loginProtocolPort = 7171
gameProtocolPort = 7172
statusProtocolPort = 7171
maxPlayers = 0
motd = "Welcome to The Forgotten Server!"
onePlayerOnlinePerAccount = true
allowClones = false
serverName = "Forgotten"
statusTimeout = 5000
replaceKickOnLogin = true
maxPacketsPerSecond = 25

enableLiveCasting = true
liveCastPort = 7173

deathLosePercent = -1

housePriceEachSQM = 1000
houseRentPeriod = "never"

timeBetweenActions = 200
timeBetweenExActions = 1000

mapName = "forgotten"
mapAuthor = "Komic"

marketOfferDuration = 30 * 24 * 60 * 60
premiumToCreateMarketOffer = true
checkExpiredMarketOffersEachMinutes = 60
maxMarketOffersAtATimePerPlayer = 100

mysqlHost = "127.0.0.1"
mysqlUser = "root"
mysqlPass = ""
mysqlDatabase = "gesior"
mysqlPort = "3306"
mysqlSock = ""
passwordType = "sha1"

allowChangeOutfit = true
freePremium = false
kickIdlePlayerAfterMinutes = 15
maxMessageBuffer = 4
emoteSpells = false
classicEquipmentSlots = false

rateExp = 5
rateSkill = 3
rateLoot = 2
rateMagic = 3
rateSpawn = 1

deSpawnRange = 2
deSpawnRadius = 50

staminaSystem = true

warnUnsafeScripts = true
convertUnsafeScripts = true

defaultPriority = "high"
startupDatabaseOptimization = false

ownerName = ""
ownerEmail = ""
url = ""
location = "Brazil"
 
SOLVED!!!!!!!!
Just added:
Code:
sqlType = "mysql"

and
Code:
encryptionType = "md5"

like that:
Code:
sqlType = "mysql"
mysqlHost = "127.0.0.1"
mysqlUser = "root"
mysqlPass = ""
mysqlDatabase = "gesior"
mysqlPort = "3306"
mysqlSock = ""
encryptionType = "md5"
 

Similar threads

Back
Top