Hi noyz319,
I had the same problem. Fixed it by modifying a patch for the fGallery plugin that also wouldn’t write SQL tables. Copy the code below and paste into a text file. Import the script into your database using phpmyadmin. Good luck.
DROP TABLE IF EXISTS wp_comms
;
CREATE TABLE IF NOT EXISTS wp_comms
(
id
bigint(20) unsigned NOT NULL auto_increment,
email
varchar(255) NOT NULL default ”,
mobile
varchar(64) NOT NULL default ”,
name
varchar(255) NOT NULL default ”,
title
varchar(255) NOT NULL default ”,
organisation
TEXT NOT NULL default ”,
subscribed
char(1) NOT NULL default ”,
e-commerce
char(1) NOT NULL default ”,
wp-user
char(1) NOT NULL default ”,
time
datetime NOT NULL default ‘0000-00-00 00:00:00’,
PRIMARY KEY (id
),
KEY subscribed
(subscribed
)
) TYPE=MyISAM AUTO_INCREMENT=1 ;”;
DROP TABLE IF EXISTS wp_comms_groups
;
CREATE TABLE IF NOT EXISTS wp_comms_groups
(
id
bigint(20) unsigned NOT NULL auto_increment,
email
varchar(255) NOT NULL default ”,
mobile
varchar(64) NOT NULL default ”,
name
varchar(255) NOT NULL default ”,
title
varchar(255) NOT NULL default ”,
organisation
TEXT NOT NULL default ”,
subscribed
char(1) NOT NULL default ”,
e-commerce
char(1) NOT NULL default ”,
wp-user
char(1) NOT NULL default ”,
time
datetime NOT NULL default ‘0000-00-00 00:00:00’,
PRIMARY KEY (id
),
KEY subscribed
(subscribed
)
) TYPE=MyISAM AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS wp_comms_email_log
;
CREATE TABLE IF NOT EXISTS wp_comms_email_log
(
id
BIGINT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY ,
email
VARCHAR( 192 ) NOT NULL ,
commsid
BIGINT UNSIGNED NOT NULL ,
messageid
BIGINT UNSIGNED NOT NULL ,
bounced
VARCHAR( 1 ) NOT NULL ,
errorcode
VARCHAR( 64 ) NOT NULL ,
datetime
DATETIME NOT NULL ,
INDEX ( commsid
, messageid
)
) TYPE = MYISAM ;
DROP TABLE IF EXISTS wp_comms_message_log
;
CREATE TABLE IF NOT EXISTS wp_comms_message_log
(
id
BIGINT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY ,
subject
TEXT NOT NULL ,
message
LONGTEXT NOT NULL ,
type
VARCHAR( 1 ) NOT NULL DEFAULT ‘0’,
datetime
DATETIME NOT NULL
) TYPE = MYISAM ;
DROP TABLE IF EXISTS wp_sms_log
;
CREATE TABLE IF NOT EXISTS wp_sms_log
(
id
BIGINT UNSIGNED NOT NULL AUTO_INCREMENT ,
message
TEXT NOT NULL ,
mobnum
TEXT NOT NULL ,
time
VARCHAR( 60 ) NOT NULL ,
PRIMARY KEY ( id
)
) TYPE = MYISAM ;
DROP TABLE IF EXISTS wp_comms_project
;
CREATE TABLE IF NOT EXISTS wp_comms_project
(
id
BIGINT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY ,
name
VARCHAR( 255 ) NOT NULL ,
project_owner
TEXT NOT NULL,
project_developer
TEXT NOT NULL,
project_client
TEXT NOT NULL,
project_notes
TEXT NOT NULL,
userid
BIGINT UNSIGNED NOT NULL ,
completed
VARCHAR( 1 ) NOT NULL DEFAULT ‘0’,
time
DATETIME NOT NULL ,
INDEX ( name
, userid
)
) TYPE = MYISAM ;
DROP TABLE IF EXISTS wp_comms_project_status
;
CREATE TABLE IF NOT EXISTS wp_comms_project_status
(
id
BIGINT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY ,
status
VARCHAR( 1 ) NOT NULL ,
notes
LONGTEXT NOT NULL,
stage
int(10) unsigned NOT NULL,
projid
BIGINT NOT NULL ,
INDEX ( projid
)
) TYPE = MYISAM ;
DROP TABLE IF EXISTS wp_comms_groups
;
CREATE TABLE IF NOT EXISTS wp_comms_groups
(
id
BIGINT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY ,
name
VARCHAR( 255 ) NOT NULL ,
active
VARCHAR( 1 ) NOT NULL
) TYPE = MYISAM ;
DROP TABLE IF EXISTS wp_comms_user_groups
;
CREATE TABLE IF NOT EXISTS wp_comms_user_groups
(
id
bigint(20) unsigned NOT NULL auto_increment,
userid
bigint(20) unsigned NOT NULL default ‘0’,
groupid
bigint(20) unsigned NOT NULL default ‘0’,
PRIMARY KEY (id
),
INDEX ( userid
),
INDEX ( groupid
)
) TYPE = MYISAM ;