close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Database Doesn't exist after it is installed???

Thread began 6/03/2011 11:24 pm by cldsk369146 | Last modified 6/07/2011 10:26 am by Jason Byrnes | 1485 views | 4 replies |

cldsk369146

Database Doesn't exist after it is installed???

I just installed PowerCMS onto a site to start getting the content together while thesite design is in progress...I am getting the following error on the login: Table 'db370171692.pcms2_users' doesn't exist

And when I try to Insert Content from CMS into my temp pages...my content areas are not showing.

After Using PowerCMS for a couple sites, I was excited about the PowerCMS Builder...after seeing the number of complaints in this support forum, I worry if I made a mistake in getting the SuperSuite to use the Builder...I hope this error is not the first of a long list of errors that I will be experiencing??


The Website is www.saviodesigns.com

Sign in to reply to this post

Jason ByrnesWebAssist

di you run the install on your local computer or on the remote server?

if you ran the install locally, it would not have created the tables on the remote database.

run this sql script to create the data base tables:

php:
CREATE TABLE IF NOT EXISTS `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`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;


CREATE TABLE IF NOT EXISTS `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`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;


/*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=utf8;

/*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 ( 'Temp Placeholder', NULL, NULL, 'My Site', NULL, NULL, NULL, NULL,'Site_Name', NULL, NULL, NULL, NULL );
 
INSERT INTO `wa_settings` (`name`,`type`,`options`,`value`,`grp`,`subcategory`,`cond`,`description`,`variable`,`weight`,`spry_args`,`spry_error`,`help_text`)
 SELECT 'Site Name', NULL, NULL, 'My Site', NULL, NULL, NULL, NULL,'Site_Name', NULL, NULL, NULL, NULL FROM wa_settings WHERE NOT EXISTS (SELECT name FROM wa_settings WHERE name='Site Name') LIMIT 1;
 
INSERT INTO `wa_settings` (`name`,`type`,`options`,`value`,`grp`,`subcategory`,`cond`,`description`,`variable`,`weight`,`spry_args`,`spry_error`,`help_text`)
 SELECT 'Serial Number', NULL, NULL, '@@serial_number@@', NULL, NULL, NULL, NULL,'PCMS_Serial', NULL, NULL, NULL, NULL FROM wa_settings WHERE NOT EXISTS (SELECT name FROM wa_settings WHERE name='Serial Number') LIMIT 1;
 
INSERT INTO `wa_settings` (`name`,`type`,`options`,`value`,`grp`,`subcategory`,`cond`,`description`,`variable`,`weight`,`spry_args`,`spry_error`,`help_text`)
 SELECT 'Image Upload Folder', NULL, NULL, 'files', NULL, NULL, NULL, NULL, 'images_folder', NULL, NULL, NULL, NULL FROM wa_settings WHERE NOT EXISTS (SELECT name FROM wa_settings WHERE name='Image Upload Folder') LIMIT 1;
 
INSERT INTO `wa_settings` (`name`,`type`,`options`,`value`,`grp`,`subcategory`,`cond`,`description`,`variable`,`weight`,`spry_args`,`spry_error`,`help_text`)
 SELECT 'Disable Images Upload', NULL, NULL, 0, NULL, NULL, NULL, NULL, 'dis_images_upload', NULL, NULL, NULL, NULL FROM wa_settings WHERE NOT EXISTS (SELECT name FROM wa_settings WHERE name='Disable Images Upload') LIMIT 1;

DELETE FROM `wa_settings` WHERE name = 'Temp Placeholder';

/*Table structure for table `usergroups` */

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

/*Data for the table `usergroups` */

INSERT INTO  `pcms2_usergroups` (`UserGroupID`,`UserGroup`) VALUES (0,'Temp Placeholder');

INSERT INTO `pcms2_usergroups` (`UserGroupID`,`UserGroup`)
 SELECT 1,'Administrator' FROM pcms2_usergroups WHERE NOT EXISTS (SELECT UserGroupID FROM pcms2_usergroups WHERE UserGroupID=1) LIMIT 1;
 
DELETE FROM `pcms2_usergroups` WHERE `UserGroup`='Temp Placeholder';

/*Table structure for table `users` */

CREATE TABLE IF NOT EXISTS `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=utf8;
Sign in to reply to this post

cldsk369146

Inserted from Dreamweaver

I followed the directions in the get started guide.
In Dreamweaver, I highlighted text, then selected Add content to CMS, then after uploading all the files I went to my browser and ran the install.

When I set up the CMS in the Broswer, I went back to Dreamweaver to try to insert more fields...

Was I doing this wrong?

I can run the SQL script, but I am not sure how to do that?

Sign in to reply to this post

cldsk369146

I was able to figure out how to run the script, and it seems that I can access users/etc. However, I still cannot connect via Dreamweaver to insert my data...I attached screenshots of what I get...none of my content areas are pulling up, yet all of my pages are.

Am I installing it into the site incorrectly through Dreamweaver?

Thank you for your help!

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

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...