Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

having trouble fetching database! #156

Open
matin-haji opened this issue Mar 10, 2021 · 6 comments
Open

having trouble fetching database! #156

matin-haji opened this issue Mar 10, 2021 · 6 comments
Labels

Comments

@matin-haji
Copy link

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.

@BattleBusted
Copy link

show me your databases.cfg

@matin-haji
Copy link
Author

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

@BattleBusted
Copy link

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

@matin-haji
Copy link
Author

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?

@BattleBusted
Copy link

You still lock ?

@Kxnrl
Copy link
Owner

Kxnrl commented May 19, 2021

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

@Kxnrl Kxnrl added the Question label May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants