I see a lot of stuff missing from that FAQ, and it's a real hassle to search through tons of threads, sometimes with vague answers.
If you have a question ask here.
I should have recorded all my problems as they happened but it's 2late now.
I will try to rerecord my issues by memory and what I did to fix them, but do please correct me if I get things wrong.
----------------------------------------------------------------------------
Q: I can't import .json files:
Unknown column 'flags' in 'field list'
A: The store.sql file in the store 1.1-alpha zip on the main thread is outdated.
You can update it by importing
1.1.1-alpha to 1.2-beta.sql.
Incase you just want to start from scratch with a new database:
https://github.com/alongubkin/store/...ipts/store.sql
This is the updated store.sql
Warning:
https://github.com/alongubkin/store/blob/master/configs/store/sql-init-scripts/store.sql is outdated and will give you the error below.
Q: I can't import .json files:
Column 'flags' cannot be null
A: Fix your database's flags in phpmyadmin here:
Q: I can't buy items from the store:
SQL Error on GiveItem: Unknown column 'acquire_method' in 'field list'
A: I had this error with the development branch of store 1.2 after updating to that version while I still had the outdated store 1.1-alpha store.sql installed.
I fixed it by completely deleting my store database (it wasn't live on my servers yet), and importing the most recent
store.sql from the developer branch instead.
Note: I forget what the exact error looks like.
Q: Store 1.2 developer branch doesn't show category descriptions in Shop, Inventory, and Refund.
A: I had to rewrite part of the plugin for Shop and Inventory. But for Refund you just need to edit sourcemod/configs/store/refund.cfg
That's all for now... busy trying to fix problems with store.
Edit: Minute after saying that ^^ I fixed it.
__________________