Hi.
I have no idea what's wrong with the store and at this point i don't know what else to do than make a thread about it. I will describe in detail what i did below:
1. Create a database
2. Install the plug-in on the server by dragging the contents of the zipped archive into my sourcemod directory
3. edit my databases.cfg accordingly
4. import the sql script into my database using phpmyadmin
5. restart my server
After having done that exact course of actions this is the errors i am getting:
Code:
L 01/06/2017 - 08:25:15: SourceMod error session started
L 01/06/2017 - 08:25:15: Info (map "jb_new_summer_v2") (file "errors_20170106.log")
L 01/06/2017 - 08:25:15: [SM] Exception reported: Fatal error creating dynamic native!
L 01/06/2017 - 08:25:15: [SM] Blaming: store-core.smx()
L 01/06/2017 - 08:25:15: [SM] Call stack trace:
L 01/06/2017 - 08:25:15: [SM] [0] CreateNative
L 01/06/2017 - 08:25:15: [SM] [1] Line 212, F:\Files\Google Drive\SourcePawn\projects\Sourcemod-Store\scripting\store-core.sp::AskPluginLoad2()
L 01/06/2017 - 08:25:15: [SM] Failed to load plugin "store-core.smx": unexpected error 23 in AskPluginLoad callback.
L 01/06/2017 - 08:25:15: [SM] Fatal error encountered parsing translation file "adminsmite.phrases.txt"
L 01/06/2017 - 08:25:15: [SM] Error (line 0, column 0): Stream failed to open
L 01/06/2017 - 08:25:15: [SM] Fatal error encountered parsing translation file "noknife.phrases.txt"
L 01/06/2017 - 08:25:15: [SM] Error (line 0, column 0): Stream failed to open
L 01/06/2017 - 08:25:16: [SM] Unable to load plugin "store\store-skins.smx": Could not find required plugin "store-loadout"
L 01/06/2017 - 08:25:16: [SM] Unable to load plugin "store\store-trails.smx": Could not find required plugin "store-loadout"
L 01/06/2017 - 08:25:16: [SM] Unable to load plugin "store-backend.smx": Could not find required plugin "store"
L 01/06/2017 - 08:25:16: [SM] Unable to load plugin "store-distributor.smx": Could not find required plugin "store-core"
L 01/06/2017 - 08:25:16: [SM] Unable to load plugin "store-gifting.smx": Could not find required plugin "store-core"
L 01/06/2017 - 08:25:16: [SM] Unable to load plugin "store-inventory.smx": Could not find required plugin "store-core"
L 01/06/2017 - 08:25:16: [SM] Unable to load plugin "store-loadouts.smx": Could not find required plugin "store-core"
L 01/06/2017 - 08:25:16: [SM] Unable to load plugin "store-logging.smx": Could not find required plugin "store-core"
L 01/06/2017 - 08:25:16: [SM] Unable to load plugin "store-refunds.smx": Could not find required plugin "store-core"
L 01/06/2017 - 08:25:16: [SM] Unable to load plugin "store-shop.smx": Could not find required plugin "store-core"
L 01/06/2017 - 08:25:16: [SM] Unable to load plugin "store-skins.smx": Could not find required plugin "store-loadout"
L 01/06/2017 - 08:25:16: [SM] Unable to load plugin "store-trails.smx": Could not find required plugin "store-loadout"
L 01/06/2017 - 08:25:16: [SM] Exception reported: Invalid convar handle 0 (error 4)
L 01/06/2017 - 08:25:16: [SM] Blaming: noknife.smx()
L 01/06/2017 - 08:25:16: [SM] Call stack trace:
L 01/06/2017 - 08:25:16: [SM] [0] SetConVarString
L 01/06/2017 - 08:25:16: [SM] [1] Line 89, F:\Sourcemod_Dev\knife_menu\noknife\noknife.sp::OnMapStart()
It says in the errors that the store-core and store-loadout plug-ins can't be found but i can clearly see them in my plug-in directory...
The webpanel connects to my database and is working like a charm. My database allows external connections and i have quadruple checked my databases.cfg file for typo's etc.
I ran this on my test server first (cs:s), and it was working fine. I think i had an earlier version of it. Then when i installed the latest version on my cs:go servers it just didn't work. I thought maybe the store was incompatible with cs:go so i made a post in the main thread, but redwerewolf said right after that he would stop maintaining it so i never got any reply.
Now some time later i picked up the project again because i was going to help a friend set up a cs:s server running this store so i went through the regular process of installing the plug-in on the server etc. but it just wouldn't work. So i thought maybe there was something wrong with the updated "sourcemod-store-master" plug-in. I installed it on my test server 3 hours ago now (Note that the store was working fine on my test server up until this point), and after it had updated it just wasn't working again.
Bottom line is;
I used the "issue" thread prefix because i followed the EXACT install instructions and got the same result on all servers i tried it with. There are 2 possibilities as i see it; The install instructions are outdated or there is a bug with the plug-in.
P.s: I am running newer versions of sourcemod on all my servers.