did everyone run this? just out of stupid curiosity. Because if you didnt, there is no table
Execute this against your database using phpmyadmin or whatever you use. I still havent tested this. Im just looking at the code.
CREATE TABLE `invites` (
`id` int(10) unsigned NOT NULL auto_increment,
`inviter` int(10) unsigned NOT NULL default '0',
`inviteid` int(10) NOT NULL default '0',
`invite` varchar(32) NOT NULL default '',
`time_invited` datetime NOT NULL default '0000-00-00 00:00:00',
`confirmed` char(3) NOT NULL default 'no',
PRIMARY KEY (`id`),
KEY `inviter` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1;
TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)