Delete the tables manually
Or you could try removing the cpg_inst.php, hit refresh on the Modules page, then put the cpg_inst.php file back in (might fix cacheing issues).
Also, you're looking at the Application module correct?
Delete the tables manually
Or you could try removing the cpg_inst.php, hit refresh on the Modules page, then put the cpg_inst.php file back in (might fix cacheing issues).
Also, you're looking at the Application module correct?
includes/db/db.php
* CMS Warning line 75: On /Application.html While executing query "SELECT * FROM cms_recruitment" the following error occured: Table 'dragonfly.cms_recruitment' doesn't exist In: /home/httpd/vhosts/rage-and-mana.com/subdomains/wow/httpdocs/modules/Application/appconfig.php on line: 40
includes/db/db.php
* CMS Warning line 75: On /admin.php?op=modules&install=Application While executing query "CREATE TABLE cms_cms_recruitment ( `status` varchar(32) NOT NULL default '', `druid` varchar(32) NOT NULL default '', `hunter` varchar(32) NOT NULL default '', `mage` varchar(32) NOT NULL default '', `paladin` varchar(32) NOT NULL default '', `priest` varchar(32) NOT NULL default '', `rogue` varchar(32) NOT NULL default '', `shaman` varchar(32) NOT NULL default '', `warlock` varchar(32) NOT NULL default '', `warrior` varchar(32) NOT NULL default '', `grpID` tinyint(10) NOT NULL default '0', `showguildinfo` enum('1','0') NOT NULL default '1', `guildrules` varchar(255) NOT NULL default '', `rankstructure` varchar(255) NOT NULL default '', `raidinginfo` varchar(255) NOT NULL default '', `about` varchar(255) NOT NULL default '', `appmessage` varchar(255) NOT NULL default
On /admin.php?op=modules&install=Application
While executing query "CREATE TABLE cms_cms_recruitment (
`status` varchar(32) NOT NULL default '',
`druid` varchar(32) NOT NULL default '',
`hunter` varchar(32) NOT NULL default '',
`mage` varchar(32) NOT NULL default '',
`paladin` varchar(32) NOT NULL default '',
`priest` varchar(32) NOT NULL default '',
`rogue` varchar(32) NOT NULL default '',
`shaman` varchar(32) NOT NULL default '',
`warlock` varchar(32) NOT NULL default '',
`warrior` varchar(32) NOT NULL default '',
`grpID` tinyint(10) NOT NULL default '0',
`showguildinfo` enum('1','0') NOT NULL default '1',
`guildrules` varchar(255) NOT NULL default '',
`rankstructure` varchar(255) NOT NULL default '',
`raidinginfo` varchar(255) NOT NULL default '',
`about` varchar(255) NOT NULL default '',
`appmessage` varchar(255) NOT NULL default '',
`appmessage_display` enum('1','0') NOT NULL default '1',
`appcomment` varchar(255) NOT NULL default '',
`recipient` varchar(100) NOT NULL default '',
`testname` varchar(50) NOT NULL default '',
`testrecipient` varchar(100) NOT NULL default '',
`altallowed` enum('1','0') NOT NULL default '0',
`druid_forum_id` varchar(32) NOT NULL default '',
`hunter_forum_id` varchar(32) NOT NULL default '',
`mage_forum_id` varchar(32) NOT NULL default '',
`paladin_forum_id` varchar(32) NOT NULL default '',
`priest_forum_id` varchar(32) NOT NULL default '',
`rogue_forum_id` varchar(32) NOT NULL default '',
`shaman_forum_id` varchar(32) NOT NULL default '',
`warlock_forum_id` varchar(32) NOT NULL default '',
`warrior_forum_id` varchar(32) NOT NULL default '',
`save_db` enum('1','0') NOT NULL default '1',
`post_forum` enum('1','0') NOT NULL default '0',
`post_id` int(50) NOT NULL default '',
`post_name` varchar(255) NOT NULL default '',
`post_sig` tinyint(10) NOT NULL default '0',
`send_mail` enum('1','0') NOT NULL default '0'
) TYPE=MyISAM DEFAULT CHARSET=utf8"
the following error occured: Invalid default value for 'post_id'
In: C:\wamp\www\includes\classes\installer.php on line: 61
<?php
/*********************************************
CPG-Dragonflyâ„¢ CMS
********************************************
Copyright © 2004 - 2005 by CPG Dev Team
http://www.dragonflycms.com
Dragonfly is released under the terms and conditions
of the GNU GPL version 2 or any later version
$Source: /cvs/modules/IRCChat/modules/IRCChat/cpg_inst.php,v $
$Revision: 9.2 $
$Author: djmaze $
$Date: 2005/02/10 00:55:52 $
**********************************************/
if (!defined('ADMIN_MOD_INSTALL')) { exit; }
//global $prefix;
class Application {
var $radmin;
var $version;
var $modname;
var $description;
var $author;
var $website;
var $dbtables;
function Application() {
$this->radmin = true;
$this->version = '2.0';
$this->modname = 'Recruitment_Settings';
$this->description = 'Recruitment mod';
$this->author = 'Unknown';
$this->website = 'www.wow-deception.com';
$this->dbtables = array('recruitment');
}
function install() {
global $installer, $prefix;
$installer->add_query('CREATE', 'recruitment', "
`status` varchar(32) NOT NULL default '',
`druid` varchar(32) NOT NULL default '',
`hunter` varchar(32) NOT NULL default '',
`mage` varchar(32) NOT NULL default '',
`paladin` varchar(32) NOT NULL default '',
`priest` varchar(32) NOT NULL default '',
`rogue` varchar(32) NOT NULL default '',
`shaman` varchar(32) NOT NULL default '',
`warlock` varchar(32) NOT NULL default '',
`warrior` varchar(32) NOT NULL default '',
`grpID` tinyint(10) NOT NULL default '0',
`showguildinfo` enum('1','0') NOT NULL default '1',
`guildrules` varchar(255) NOT NULL default '',
`rankstructure` varchar(255) NOT NULL default '',
`raidinginfo` varchar(255) NOT NULL default '',
`about` varchar(255) NOT NULL default '',
`appmessage` varchar(255) NOT NULL default '',
`appmessage_display` enum('1','0') NOT NULL default '1',
`appcomment` varchar(255) NOT NULL default '',
`recipient` varchar(100) NOT NULL default '',
`testname` varchar(50) NOT NULL default '',
`testrecipient` varchar(100) NOT NULL default '',
`altallowed` enum('1','0') NOT NULL default '0',
`druid_forum_id` varchar(32) NOT NULL default '',
`hunter_forum_id` varchar(32) NOT NULL default '',
`mage_forum_id` varchar(32) NOT NULL default '',
`paladin_forum_id` varchar(32) NOT NULL default '',
`priest_forum_id` varchar(32) NOT NULL default '',
`rogue_forum_id` varchar(32) NOT NULL default '',
`shaman_forum_id` varchar(32) NOT NULL default '',
`warlock_forum_id` varchar(32) NOT NULL default '',
`warrior_forum_id` varchar(32) NOT NULL default '',
`save_db` enum('1','0') NOT NULL default '1',
`post_forum` enum('1','0') NOT NULL default '0',
`post_id` int(50) NOT NULL default '1',
`post_name` varchar(255) NOT NULL default '',
`post_sig` tinyint(10) NOT NULL default '0',
`send_mail` enum('1','0') NOT NULL default '0'
", 'recruitment');
$installer->add_query('INSERT', 'recruitment', '"Open", "High", "Closed", "Closed", "Closed", "Closed", "Closed", "Closed", "Closed", "Closed", "0", "1", "", "", "", "", "", "1", "", "", "", "", "0", "", "", "", "", "", "", "", "", "", "1", "0", "", "", "0", "0"');
$installer->add_query('CREATE', 'recruit_data', "
`ID` int(100) unsigned NOT NULL auto_increment,
`Name` varchar(255) NOT NULL default '',
`age` varchar(5) NOT NULL default '',
`email` varchar(255) NOT NULL default '',
`time_zone` varchar(10) NOT NULL default '',
`charname` varchar(255) NOT NULL default '',
`class` varchar(50) NOT NULL default '',
`lvl` varchar(30) NOT NULL default '',
`fa_lvl` varchar(30) NOT NULL default '',
`prof1` varchar(100) NOT NULL default '',
`prof2` varchar(100) NOT NULL default '',
`prof1_lvl` varchar(30) NOT NULL default '',
`prof2_lvl` varchar(30) NOT NULL default '',
`talentname` varchar(100) NOT NULL default '',
`tpoint1` tinyint(10) NOT NULL default '0',
`tpoint2` tinyint(10) NOT NULL default '0',
`tpoint3` tinyint(10) NOT NULL default '0',
`res_fr` tinyint(10) NOT NULL default '0',
`res_shad` tinyint(10) NOT NULL default '0',
`res_arc` tinyint(10) NOT NULL default '0',
`res_nature` tinyint(10) NOT NULL default '0',
`res_frost` tinyint(10) NOT NULL default '0',
`att_ony` enum('Yes','No') NOT NULL default 'Yes',
`att_mc` enum('Yes','No') NOT NULL default 'Yes',
`att_bwl` enum('Yes','No') NOT NULL default 'Yes',
`att_naxx` enum('Yes','No') NOT NULL default 'Yes',
`att_kara` enum('Yes','No') NOT NULL default 'Yes',
`att_serp` enum('Yes','No') NOT NULL default 'Yes',
`att_eye` enum('Yes','No') NOT NULL default 'Yes',
`att_hyjal` enum('Yes','No') NOT NULL default 'Yes',
`gear_url` varchar(255) NOT NULL default '',
`guild1` varchar(100) NOT NULL default '',
`guild2` varchar(100) NOT NULL default '',
`guild3` varchar(100) NOT NULL default '',
`guild_reason` varchar(255) NOT NULL default '',
`scale_play` tinyint(10) NOT NULL default '0',
`flymount` enum('Yes','No') NOT NULL default 'Yes',
`raid_mon` enum('Yes','No') NOT NULL default 'Yes',
`raid_tues` enum('Yes','No') NOT NULL default 'Yes',
`raid_wed` enum('Yes','No') NOT NULL default 'Yes',
`raid_thurs` enum('Yes','No') NOT NULL default 'Yes',
`raid_fri` enum('Yes','No') NOT NULL default 'Yes',
`raid_sat` enum('Yes','No') NOT NULL default 'Yes',
`raid_sun` enum('Yes','No') NOT NULL default 'Yes',
`bosses_zul` varchar(255) NOT NULL default '',
`bosses_mc` varchar(255) NOT NULL default '',
`bosses_bwl` varchar(255) NOT NULL default '',
`bosses_aq40` varchar(255) NOT NULL default '',
`bosses_naxx` varchar(255) NOT NULL default '',
`bosses_kara` varchar(255) NOT NULL default '',
`bosses_mag` varchar(255) NOT NULL default '',
`bosses_gruul` varchar(255) NOT NULL default '',
`bosses_serp` varchar(255) NOT NULL default '',
`bosses_eye` varchar(255) NOT NULL default '',
`bosses_bltemple` varchar(255) NOT NULL default '',
`bosses_hyjal` varchar(255) NOT NULL default '',
`tbc_key_shatter` enum('Yes','No') NOT NULL default 'Yes',
`tbc_key_shadow` enum('Yes','No') NOT NULL default 'Yes',
`tbc_key_arc` enum('Yes','No') NOT NULL default 'Yes',
`tbc_hfc_rep` enum('Yes','No') NOT NULL default 'Yes',
`tbc_cfr_rep` enum('Yes','No') NOT NULL default 'Yes',
`tbc_auch_rep` enum('Yes','No') NOT NULL default 'Yes',
`tbc_tk_rep` enum('Yes','No') NOT NULL default 'Yes',
`read_faqs` enum('Yes','No') NOT NULL default 'Yes',
`cdate` date NOT NULL default '0000-00-00',
`other_notes` varchar(255) NOT NULL default '',
PRIMARY KEY (`ID`)
", 'recruit_data');
return true;
}
function uninstall() {
global $installer;
$installer->add_query('DROP', 'recruitment');
$installer->add_query('DROP', 'recruit_data');
return true;
}
function upgrade($prev_version) {
return true;
}
}
Users browsing this forum: No registered users and 1 guest