Moving from test site to permanent site problems
Posted: Sat Mar 26, 2011 6:51 am
Using CMSMS latest version.
Have read the wiki and it all sounded very easy.
Until I began.
Downloaded the old site files and stored them. Empty directory now. Installed a fresh version of CMSMS. Now I had to upload the site files. This I did and ended up with two 'admin' dirs.
This is because I had changed the name of the admin dir in the interests of security. So I renamed the new 'admin' so it wouldn't be confused with the proper one though I guess I can delete it. So far so good.
Created a new database. Had already backed up the database on the test site and now I exported it to my computer. Then opened up phpMyAdmin in new site and tried to Import the downloaded DB. Got the following error message:
SQL query
--
-- Database: `westtest_sails`
--
-- --------------------------------------------------------
--
-- Table structure for table `cms_additional_htmlblob_users`
--
CREATE TABLE IF NOT EXISTS `cms_additional_htmlblob_users` (
`additional_htmlblob_users_id` int( 11 ) NOT NULL ,
`user_id` int( 11 ) DEFAULT NULL ,
`htmlblob_id` int( 11 ) DEFAULT NULL ,
PRIMARY KEY ( `additional_htmlblob_users_id` )
) ENGINE = MYISAM DEFAULT CHARSET = utf8;
MySQL said: Documentation
#1046 - No database selected
I didn't tick or untick anything - just left it at the default settings.
I can access the CMS - all good including my own theme - but it doesn't show any of my site, just the usual CMSMS new installation display. I'm guessing this is because of the database or lack of it. Config.php lists the new DB.
I thought I had prepared well but it is a disaster. Need to get the site up this weekend as I have taken the old site down.
Thanks. Hope someone can suggest where I have gone wrong and how to fix it. Have a ticket in with my hosting company but no reply as yet.
Have read the wiki and it all sounded very easy.
Until I began.
Downloaded the old site files and stored them. Empty directory now. Installed a fresh version of CMSMS. Now I had to upload the site files. This I did and ended up with two 'admin' dirs.
This is because I had changed the name of the admin dir in the interests of security. So I renamed the new 'admin' so it wouldn't be confused with the proper one though I guess I can delete it. So far so good.
Created a new database. Had already backed up the database on the test site and now I exported it to my computer. Then opened up phpMyAdmin in new site and tried to Import the downloaded DB. Got the following error message:
SQL query
--
-- Database: `westtest_sails`
--
-- --------------------------------------------------------
--
-- Table structure for table `cms_additional_htmlblob_users`
--
CREATE TABLE IF NOT EXISTS `cms_additional_htmlblob_users` (
`additional_htmlblob_users_id` int( 11 ) NOT NULL ,
`user_id` int( 11 ) DEFAULT NULL ,
`htmlblob_id` int( 11 ) DEFAULT NULL ,
PRIMARY KEY ( `additional_htmlblob_users_id` )
) ENGINE = MYISAM DEFAULT CHARSET = utf8;
MySQL said: Documentation
#1046 - No database selected
I didn't tick or untick anything - just left it at the default settings.
I can access the CMS - all good including my own theme - but it doesn't show any of my site, just the usual CMSMS new installation display. I'm guessing this is because of the database or lack of it. Config.php lists the new DB.
I thought I had prepared well but it is a disaster. Need to get the site up this weekend as I have taken the old site down.
Thanks. Hope someone can suggest where I have gone wrong and how to fix it. Have a ticket in with my hosting company but no reply as yet.