2007-04-13, 11:49 PM
I'm getting this at the top of my forum index page: (Edit: this message is gone)
And this if I try to deactivate the plugin from the ACP:
If I try using the upgrade.php I get this:
MySQL error: 1064
Any idea what is causing it? Or a way to delete the old game section completely and start again? I think I may of done something wrong in the upgrade, and tried to fix it then screwed up...
Quote:", "deletetime != '0' AND deletetime < '".time()."'"); } // Randomly clear out old guest sessions (older than 24 hours) if($rand > 4 && $rand < 8) { $timecut = time()-60*60*24; $db->delete_query(TABLE_PREFIX."sessions", "uid=0 AND time<='$timecut'"); } // Set the link to the archive. $archive_url = $mybb->settings['bburl']."/archive/index.php"; // Run hooks for end of global.php $plugins->run_hooks("global_end"); $globaltime = $maintimer->gettime(); ?>
And this if I try to deactivate the plugin from the ACP:
Quote:MySQL error: 1051
Unknown table 'mybb_games,mybb_games_categories,mybb_games_champions,mybb_games_rating,mybb_games_scores,mybb_games_settings,mybb_games_templates,mybb_games_themes'
Query: DROP TABLEmybb_games
,mybb_games_categories
,mybb_games_champions
,mybb_games_rating
,mybb_games_scores
,mybb_games_settings
,mybb_games_templates
,mybb_games_themes
;
If I try using the upgrade.php I get this:
MySQL error: 1064
Quote:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ADDonline
VARCHAR(5) NOT NULL DEFAULT 'only', ADD `stats_glob
Query: ALTER TABLEmybb_games_settings
ADDtheme
INT(10) NOT NULL DEFAULT '1' ADDonline
VARCHAR(5) NOT NULL DEFAULT 'only', ADDstats_global
VARCHAR(3) NOT NULL DEFAULT 'yes', ADDstats_cat
VARCHAR(3) NOT NULL DEFAULT 'no', ADDdecim
VARCHAR(1) NOT NULL DEFAULT ',', ADDthousands_sep
VARCHAR(1) NOT NULL DEFAULT '.';
Any idea what is causing it? Or a way to delete the old game section completely and start again? I think I may of done something wrong in the upgrade, and tried to fix it then screwed up...