Store icon indicating copy to clipboard operation
Store copied to clipboard

having trouble fetching database!

Open mhajidev opened this issue 5 years ago • 6 comments

hi,

so I made a retake server on dathost. I tried installing this store and I think I did it correctly. But every time I type !store in chat it says, "Please wait! fetching your inv" something like that. I imported it to the database in phpAdmin. I have tried everything and I cannot seem to find any help online. Please let me know what screenshots to provide to help you help me.

plus, when it says delete store_(GAMEMODE).smx. I do not know the specif abbreviations, like tt, bh, kz, etc. So I deleted all except one, and I renamed it to store.smx. I hope I did that step right.

mhajidev avatar Mar 10 '21 20:03 mhajidev

show me your databases.cfg

BattleBusted avatar Mar 20 '21 00:03 BattleBusted

show me your databases.cfg

so I just realised that I did not import the database.cfg, but im using dathost for my server. I dont have the database.cfg file on my pc as its a third part provider. If I would try to download the file and important it into PhP it would be a copy of the file, not the one in the server. idk if these pics would help. c2 c3 Capture

mhajidev avatar Mar 23 '21 19:03 mhajidev

You have to add a connection named "csgo" to a database (name it as you want) in your database.cfg. Then go to phpmyadmin and create the database. Now go into the kxnrl repo /config/ folder I think there's a database.sql file. Open it and copy paste the code into the sql tab of your created database on phpmyadmin

BattleBusted avatar Mar 23 '21 20:03 BattleBusted

You have to add a connection named "csgo" to a database (name it as you want) in your database.cfg. Then go to phpmyadmin and create the database. Now go into the kxnrl repo /config/ folder I think there's a database.sql file. Open it and copy paste the code into the sql tab of your created database on phpmyadmin

sorry, very new to this. How do I add the database in the cfg. like do I add lines of code? is that what you mean?

mhajidev avatar Mar 23 '21 23:03 mhajidev

You still lock ?

BattleBusted avatar Apr 02 '21 17:04 BattleBusted

check databases.cfg, and make sure you imported item/category into database

Kxnrl avatar May 19 '21 21:05 Kxnrl