jgrunder / website-aion

Website created for RealAion, and now available for free :) Yeah i'm a nice guys. And the agreement of PML (Ex-Administrator of RealAion)
2 stars 0 forks source link

item shop add button bug #61

Open lordfariq opened 7 years ago

lordfariq commented 7 years ago

add item from admin section but player cant add and buy it.. anyone can help me?

ghost commented 7 years ago

What item is it ? Any error message ? Any error log ? Did you set application in debug mod ?

lordfariq commented 7 years ago

Firt item dint apear at Shop (Best Sales) how to fix? second when we click add item noting will be add to chart https://s29.postimg.org/68p3gf1o7/Capture.png

yes i enable the debug mod but no error on console. when i click there is no error appear just the button dint working and not adding to cart

ghost commented 7 years ago

This functionnality is working fine. Are you sure you correctly buy one shop item ? You have to buy one item to get a best sales order.

Same comment for Add to cart functionnality, it's working on my side. Do you have any Javascript error in your console ?

lordfariq commented 7 years ago

Hi sorry for the late reply As u can tested on my test website http://aionchronicle.net/test/public/ Username is demo Pass is demo

U cant add any item at cart at all

mathieuletyrant commented 7 years ago

Hi,

So if you look, your adress finish with test/public, you must be modify your apache or Nginx configuration for point your domain on the public folder and have a url like this : http://aionchronicle.net.

Because on the shop, when you try to click on the add button in the shop, the website try this url : http://aionchronicle.net/shop/add/100002050 and not http://aionchronicle.net/test/public/shop/add/100002050

lordfariq commented 7 years ago

Ok i fix this error now the problem is item is not arrive when u buy it? how can i check that? there is no error on console at all and ingame select .shop so nothing happen

mathieuletyrant commented 7 years ago

Look in the gameserver database, table myshop. You must be have a line, with the player_id, item_id, nb

lordfariq commented 7 years ago

Hi its not item_id it was item only i change to item_id and get an error

Picture DB. myshop https://www.dropbox.com/s/yot08kqql7fmv28/Capture.PNG?dl=0

Picture after click .shop ingame https://www.dropbox.com/s/1bf39a000htfmsc/Screenshot%202017-04-06%2023.32.10.png?dl=0

any idea what should i add more in database?

mathieuletyrant commented 7 years ago

My bad, it's itemand not item_id

lordfariq commented 7 years ago

its not working anyway no item get at me and no error at console. any idea?

mathieuletyrant commented 7 years ago

Sorry i don't know, the website seems to works fine, so i think it's the JAVA command who have a issue.

ghost commented 7 years ago

Java command is working fine if you know how to adapt it to your emulator, because some used services can be some other in other version of Aion emulator. This java command was made for Aion Lightning 2.7 emulator, you must adapt it to your emulator version.