• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Znote 1.5 serverinfo.php error

Loth Gena

Roxeria 8.60 Developer
Joined
Feb 5, 2014
Messages
245
Reaction score
23
Location
UK
Hello, my problem is that when I click on "server info" on my website I get no information and this error:

Here you will find all basic information about Draconia OT
Warning: syntax error, unexpected '(' in C:\Users\Server\Desktop\Server\config.lua on line 25 in C:\xampp\htdocs\serverinfo.php on line 13

So I checked out line 13 and I got this:

$lua_path = parse_ini_file ($config['server_path'].'\config.lua');

I don't actually think anything is wrong with this like of code... so whats the problem?

Thanks

I may as well get gesior to be honest, I had a lot of problems with znote

Update; got gesior and everything works fine ;3
 
Last edited by a moderator:
you need to put the address of your otserver

my addres
Code:
// Check if server stages are enabled
    $stages_path = simplexml_load_file($config['server_path'].'C:\Users\davidabraham\Desktop\Realx64 Datapack\data\XML\stages.xml');
    $lua_path = parse_ini_file($config['server_path'].'C:\Users\davidabraham\Desktop\Realx64 Datapack\data\config.lua');
 
you need to put the address of your otserver

my addres
Code:
// Check if server stages are enabled
    $stages_path = simplexml_load_file($config['server_path'].'C:\Users\davidabraham\Desktop\Realx64 Datapack\data\XML\stages.xml');
    $lua_path = parse_ini_file($config['server_path'].'C:\Users\davidabraham\Desktop\Realx64 Datapack\data\config.lua');
Thanks, I had this problem and stages part is fixed, any Idea why the stages part could be working now and the rest of server info is not?
 
Back
Top