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

Shopadmin Website

freddzor11

Member
Joined
May 25, 2009
Messages
695
Reaction score
5
When I click at edit/delete at shop admin
a4ZEzS.png


then I get this error

E6zG-.png


and this is line 94
LUA:
 $items = simplexml_load_file($config['site']['server_path'].'/data/items/items.xml') or die('<b>Could not load items!</b>');
 
Last edited:
Go to config.php file make sure the path its 100% okay, you can also do this

PHP:
$items = simplexml_load_file('full path to your otserver/data/items/items.xml') or die('<b>Could not load items!</b>');

For example if server is located at C:/Otserver you should add this

PHP:
$items = simplexml_load_file('C:/Otserver/data/items/items.xml') or die('<b>Could not load items!</b>');
 
Go to config.php file make sure the path its 100% okay, you can also do this

PHP:
$items = simplexml_load_file('full path to your otserver/data/items/items.xml') or die('<b>Could not load items!</b>');

For example if server is located at C:/Otserver you should add this

PHP:
$items = simplexml_load_file('C:/Otserver/data/items/items.xml') or die('<b>Could not load items!</b>');

Now it say
9TgFsQ.png


LUA:
   $main_content .= '<center><table width="550"><tr BGCOLOR="#505050"><td width="5"><font color="white"><a href="index.php?subtopic=shopadmin&action=viewoffer&order=' . getOrder($order, 'order', 'id') . '" class=white>ID:</td><td width="5"><font color="white"><a href="index.php?subtopic=shopadmin&action=viewoffer&order=' . getOrder($order, 'order', 'points') . '" class=white>Points:</td><td width="7">
 
Now it say
9TgFsQ.png


LUA:
   $main_content .= '<center><table width="550"><tr BGCOLOR="#505050"><td width="5"><font color="white"><a rel="nofollow" href="index.php?subtopic=shopadmin&action=viewoffer&order=' . getOrder($order, 'order', 'id') . '" class=white>ID:</td><td width="5"><font color="white"><a rel="nofollow" href="index.php?subtopic=shopadmin&action=viewoffer&order=' . getOrder($order, 'order', 'points') . '" class=white>Points:</td><td width="7">

seems that your using a non defined function so, since I dont know what script yur using I recommend you to get a fresh one ... or give me more info ( like what aac maker ur using )
 
Back
Top