close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Database table not created

Thread began 3/07/2011 3:20 pm by windsoarer388279 | Last modified 3/31/2011 11:36 am by windsoarer388279 | 2594 views | 18 replies

Jason ByrnesWebAssist

this is the sql script thatis used to create the tables:

CREATE TABLE `pcms2_contenthistory` (
`HistoryID` int(11) NOT NULL auto_increment,
`HistoryContentID` int(11) default NULL,
`HistoryUserID` int(11) default NULL,
`HistoryValue` text,
`HistoryGroup` varchar(100) default NULL,
`HistoryReference` varchar(100) default NULL,
`HistoryDate` timestamp NOT NULL default CURRENT_TIMESTAMP,
`ContentPageName` varchar(100) default NULL,
`ContentPageSetParentID` int(11) default NULL,
`ContentPageSetOrder` int(11) default NULL,
`ParentID` int(11) default NULL,
PRIMARY KEY (`HistoryID`)
);


CREATE TABLE `pcms2_contents` (
`ContentID` int(11) NOT NULL auto_increment,
`ContentGroup` varchar(100) default NULL,
`ContentRefID` varchar(100) default NULL,
`ContentUserID` int(11) default NULL,
`ContentValue` text,
`ContentDate` timestamp NOT NULL default CURRENT_TIMESTAMP,
`ContentPageName` varchar(100) default NULL,
`ContentPageSetParentID` int(11) default NULL,
`ContentPageSetOrder` int(11) default NULL,
`ParentID` int(11) default NULL,
PRIMARY KEY (`ContentID`)
);


/*Data for the table `wa_settings` */

CREATE TABLE IF NOT EXISTS wa_settings (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) COLLATE latin1_bin DEFAULT NULL,
`type` varchar(50) COLLATE latin1_bin DEFAULT NULL,
`options` text COLLATE latin1_bin,
`value` varchar(255) COLLATE latin1_bin DEFAULT NULL,
`grp` varchar(50) COLLATE latin1_bin DEFAULT NULL,
`subcategory` varchar(50) COLLATE latin1_bin DEFAULT NULL,
`cond` varchar(255) COLLATE latin1_bin DEFAULT NULL,
`description` varchar(255) COLLATE latin1_bin DEFAULT NULL,
`variable` varchar(50) COLLATE latin1_bin DEFAULT NULL,
`weight` float DEFAULT NULL,
`spry_args` text COLLATE latin1_bin,
`spry_error` text COLLATE latin1_bin,
`help_text` text COLLATE latin1_bin,
PRIMARY KEY (id)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_bin;

/*Data for the table `settings` */

INSERT INTO `wa_settings` (`name`,`type`,`options`,`value`,`grp`,`subcategory`,`cond`,`description`,`variable`,`weight`,`spry_args`,`spry_error`,`help_text`)
VALUES
('Site Name', NULL, NULL, 'My Site', NULL, NULL, NULL, NULL,'Site_Name', NULL, NULL, NULL, NULL),
('PCMS Remote Root', NULL, NULL, '/none/', NULL, NULL, NULL, NULL, 'pcms_remote_root' , NULL, NULL, NULL, NULL),
('Image Upload Folder', NULL, NULL, 'files', NULL, NULL, NULL, NULL, 'images_folder', NULL, NULL, NULL, NULL),
('Disable Images Upload', NULL, NULL, 0, NULL, NULL, NULL, NULL, 'dis_images_upload', NULL, NULL, NULL, NULL),
('Disable Adv Upload', NULL, NULL, 0, NULL, NULL, NULL, NULL, 'dis_adv_upload', NULL, NULL, NULL, NULL);

/*Table structure for table `usergroups` */

CREATE TABLE `pcms2_usergroups` (
`UserGroupID` int(11) NOT NULL auto_increment,
`UserGroup` varchar(50) default NULL,
PRIMARY KEY (`UserGroupID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Data for the table `usergroups` */

insert into `pcms2_usergroups`(`UserGroupID`,`UserGroup`) values (1,'Administrator');

/*Table structure for table `users` */

CREATE TABLE `pcms2_users` (
`UserID` int(11) NOT NULL auto_increment,
`UserEmail` varchar(500) default NULL,
`UserPassword` varchar(500) default NULL,
`UserFirstName` varchar(50) default NULL,
`UserLastName` varchar(50) default NULL,
`UserCity` varchar(90) default NULL,
`UserState` varchar(20) default NULL,
`UserZip` varchar(12) default NULL,
`UserEmailVerified` tinyint(1) default '0',
`UserRegistrationDate` timestamp NULL default CURRENT_TIMESTAMP,
`UserVerificationCode` varchar(20) default NULL,
`UserIP` varchar(50) default NULL,
`UserPhone` varchar(20) default NULL,
`UserFax` varchar(20) default NULL,
`UserCountry` varchar(20) default NULL,
`UserAddress` varchar(100) default NULL,
`UserAddress2` varchar(50) default NULL,
`UserGroupID` int(11) NOT NULL default '1',
PRIMARY KEY (`UserID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;




try executing that on your server.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...