Good evening everyone...
I'm currently attempting to install SMF Lottery Mod 1.0.1, using SMF Shop v.3.2. My SMF forum that I'm using for testing purposes before putting any changes into production is version 2.0.2. The only other mods I currently have installed are SimplePortal 2.3.5 and Member Awards 2.2.3.
When attempting to install the lottery mod, this is the error I encounter:
Fatal error: Call to undefined function db_query() in /home/.../public_html/izukoislandweyr/Packages/temp/LotterySQL.php on line 17
I have some familiarity with coding, but it's mostly limited to CSS and JavaScript. However, looking over the source code in LotterySQL.php, I don't know why it's throwing this error when attempting to install the mod. I've attempted to uninstall the mod, cleared my browser cache, even went so far as to try this from two different computers but still no go.
Attached is the exact copy of my LotterySQL.php for review. I figure I could use an extra set of eyes to look this over, and I would be grateful for the help.
Thanks in advance...