Raised This Month: $ Target: $400
 0% 

Frequently Asked Questions 2.0


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 08-21-2014 , 17:24   Frequently Asked Questions 2.0
Reply With Quote #1

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:
Spoiler

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.
__________________

Last edited by Chdata; 08-25-2014 at 00:10.
Chdata is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:03.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode