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

Can't Add items GESIOR?

Rider Ones

New Member
Joined
Jan 12, 2009
Messages
104
Reaction score
2
i cant add items to gesior acc version "Gesior2012-TFS-0.3.6_and_0.4_to_rev_3703"

when i try to add an items
263vubr.png


i see anything in the shop offer
1zc0f4j.png


So i go to this option in Shop Admin!
2cgfx5h.png


and i see this error when i click "VIEW SHOP OFFER (EDIT/DELETE)"
29ff0r6.png


Anyone knows what is the error?
 
https://github.com/gesior/Gesior2012
Update to the new version, that version is buggy and can easily be hacked.
If you still wanna use the old version post the www/shopadmin.php file, or upload it to paste.ots.me.
My guess is that it uses items.xml and can't locate it, but have no ide since I can't see what the if statment requires.
 
this is my shopadmin.php
http://speedy*****malware.localhost/cvkpT/shopadmin.php

https://github.com/gesior/Gesior2012
Update to the new version, that version is buggy and can easily be hacked.
If you still wanna use the old version post the www/shopadmin.php file, or upload it to paste.ots.me.
My guess is that it uses items.xml and can't locate it, but have no ide since I can't see what the if statment requires.
this is my shopadmin.php
http://speedy*****malware.localhost/cvkpT/shopadmin.php
 
Last edited by a moderator:
Btw you can send a code by writing [ccode] then the code [/code]

Dude if you have phpmyadmin go into your database then go into z_shop_offer then there up into the corner and right click on Add thats the easiest way to make a offer in gesior
 
Last edited by a moderator:
Dude if you have phpmyadmin go into your database then go into z_shop_offer then there up into the corner and right click on Add thats the easiest way to make a offer in gesior
i can't do it in my z_shop_offer dont have the option Add, someone knows to fix this bug?
 

As I suspected,
Code:
$items = simplexml_load_file($config['site']['server_path'].'/data/items/items.xml') or die('<b>Could not load items!</b>');

Read that code and try to find out what can be the problem (trying to teach you).
The config:server_path = where the data dir is, and after it finds that it wanna see where the data/items/items.xml file is.
If it can't find that it will "die" - send out an error and stop the code.
Try to read the code above and if you can't find the issue then read the spoiler.
 
As I suspected,
Code:
$items = simplexml_load_file($config['site']['server_path'].'/data/items/items.xml') or die('<b>Could not load items!</b>');

Read that code and try to find out what can be the problem (trying to teach you).
The config:server_path = where the data dir is, and after it finds that it wanna see where the data/items/items.xml file is.
If it can't find that it will "die" - send out an error and stop the code.
Try to read the code above and if you can't find the issue then read the spoiler.

Finally how we can solve this issue? becouse I have the same error, maybe I should set /serverfolder/data/items/items.xml?
 
Finally how we can solve this issue? becouse I have the same error, maybe I should set /serverfolder/data/items/items.xml?

Well first of all, check if the config variable is correct, if it is then check if the item folder is actually there.
If not sent me a pm.
 
Back
Top