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

What is error in the site ??

xitos

New Member
Joined
Oct 14, 2008
Messages
213
Reaction score
1
Warning: parse_ini_file(C:/Users/xxxxxx/Desktop/xxxxxxx Server 8.54/config.lua) [function.parse-ini-file]: failed to open stream: No such file or directory in C:\xampp\htdocs\config-and-functions.php on line 13


Database error. Unknown database type in C:/Users/xxxxx/Desktop/xxxxx Server 8.54/config.lua . Must be equal to: "mysql" or "sqlite". Now is: ""

config.lua:

sqlType = "mysql"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "xxxx"
sqlPass = "xxxxxxxxxxxxxxxxxxxxx"
sqlDatabase = "schema"
sqlFile = "schema.s3db"
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
encryptionType = "plain"



this error appeared out of nowhere ;/

how to fix ??
 
Last edited:
Warning: parse_ini_file(C:/Users/xxxxxx/Desktop/xxxxxxx Server 8.54/config.lua) [function.parse-ini-file]: failed to open stream: No such file or directory in C:\xampp\htdocs\config-and-functions.php on line 13

This is a clear one, read it better. It tries to parse a config file that doesn't exist.

Database error. Unknown database type in C:/Users/xxxxx/Desktop/xxxxx Server 8.54/config.lua . Must be equal to: "mysql" or "sqlite". Now is: ""

This happens because the config.lua file cannot be parsed, hence the script doesn't return a value for database type.
 
Back
Top