Page 1 of 1

Migrating a site

Posted: Tue Dec 08, 2009 2:10 pm
by dntel123
Hi. I'm running CMS Made Simple 1.6.6. This is all working on xampp 1.7.2 with apache and mysql running.

I do not normally deal with CMS (although after this I see its pretty cool!) our site was hosted with another company, and now were taking the site back and hosting it ourselves.

Thing is, I'd never used CMS Made simple before, and thats what they have cheekily done it in, which I dnt see much need for for a small static site.

So the problem is: they have sent me the whole site zipped and the database, but the website doesnt have a database so I assume thats for users of the CMS. And I am trying to first get the site working as it looks online but locally to do SEO changes. Thing is I don't know how, I've consulted the guide on here about moving servers, still couldnn't work it.

What I have done:

-Installed CMS Made Simple on my Local with xampp and managed to change the database password with phpMyAdmin and get into the admin part so you can start editing your site. I have left the one they sent me completely alone.

-I have tried to work out how to import it in or copy it across and failed everytime.

So if anyone knows, how I can import it so the css styles etc stay like they are on the original and all the content is there?

Sorry bare with me, its quite hard for to me explain :(

Thanks in advance if anyone can even point me in the right direction! Let me know if you'd like me to upload the files or whatever only about 7mb

Liam

Re: Migrating a site

Posted: Tue Dec 08, 2009 3:40 pm
by replytomk3
Try investing the time in searching the forum.

Are you trying to import a database or replicate the site look yourself?

If you are trying to use the database, then you can PM/email it to me and I can test install it on localhost in 5 minutes.

If you are trying to create a template for CMSMS that is another deal

Explain clearer.

Re: Migrating a site

Posted: Tue Dec 08, 2009 4:27 pm
by dntel123
Sorry, I tried  >:(

Basically, this website www.hsd-london.co.uk was hosted by another company and were taking it back.

It was made with CMS - the person has zipped up the whole thing and sent it to us.

The database is also zipped up inside that zip - well its an sql file - but it makes a database if you paste the whole thing into an SQL query in phpmyadmin.

If you could see if you could get it running that would be real nice of you, its zipped up here http://www.hsd-london.co.uk/website_and_db.zip (like 7mb)

Just SQL/Database file is 72kb - http://rapidshare.com/files/318058274/xesvzay_hsd.sql.zip.html

Or I can PM you just the SQL file?

Sorry I have no Clue with CMS never used it.

Thanks for replying!  :)

Re: Migrating a site

Posted: Tue Dec 08, 2009 5:26 pm
by replytomk3
1) Don't use rapidshare. The file was small enough for you to have emailed it to me (could not download from rapidshare as a free user)

2) I have PMed you a link of a rough-draft install on my website

3) You can remove those links to your website and database now. It is usually only done thru personal messages.

Re: Migrating a site

Posted: Tue Dec 08, 2009 6:42 pm
by replytomk3
Steps taken:

1) Create a database on host

2) Make sure the database dump file is usable. This might require renaming the name of the database and database prefix inside the file

3) Import the database

4) Uncompress CMSMS installation file on server

5) Run thru installation and specify the new database

6) Look thru the website backup files for usable things like /uploads, list of modules, etc (check the links in my signature for things that you need to restore and backup)

7) Usually have to reset the admin password thru the database (or use old one of someone remembers it)

8) See what happens. Usually images do not initially work either because links are not relative, images were added since backup was created (as is the case for this website), not all modules were installed, images were not uploaded to the correct directory, etc, etc.

Everything certainly doable, with with few caveats to avoid. For someone like me who has done it many times it is easy. For everybody else - PRACTICE PRACTICE PRACTICE!

Usually, few cleanup work is required, and that is actually the only reason I highly prefer to do this on billable time. Otherwise, you might import the site, but later still have broken links, no pretty URLs, images not showing up, errors, etc, etc.