Migrating to new host

Permalink
I've installed Concrete5 on my local computer while building a site.

What is the process for migrating the site to a new host, if I've also added content ?

artisancreative
 
frz replied on at Permalink Reply
frz
pretty much that.

export DB, save all files
setup new c5 install
overwrite DB
upload everyting in /files dir and you theme
make sure site.php is right for new site

enjoy.
artisancreative replied on at Permalink Reply
artisancreative
I'm unable to log in anymore, tried the new password from the new install, and the old password from the old site, but neither work.

Also resetting the password does nothing?

Am i being thick?? lol
frz replied on at Permalink Reply
frz
when you request a new password, do you get any emails?
artisancreative replied on at Permalink Reply
artisancreative
I get a message in the server log saying "sendmail: fatal: myhostname and relayhost parameter settings must not be identical:"
whenever I try and send an email.

But I figured out a way round it, by changing the password as soon as I install the new site, the deleting everything in the database except anything that relates to user, then importing the database and it works fine :)
olay replied on at Permalink Reply
olay
I wonder if anyone can explain this in any more detail?

I would like to move a site from one server to (from a practice server to a live site, on a different host) –

Franz's instructions are fairly straight forward

"(export DB, save all files
setup new c5 install
overwrite DB
upload everyting in /files dir and you theme
make sure site.php is right for new site)"

but could someone walk me through the export on php admin ( – what settings I need to export with). And then how do you overwrite a database?

Also when you set up the new C5 install how far do you take it through the standard install process? Do you create a whole dummy database and start a fully working C5 site. Presumably the old database and the new dummy database must share the same username, password and name.

MANY THANKS
itdept replied on at Permalink Reply
I have followed all of these steps and most of it is working. The template works perfect. All my linked pages are there and link correctly. The issue I have is every page is blank. All of my "content" is gone. Any ideas?
kutis replied on at Permalink Reply
kutis
@olay, when exporting from phpmyadmin, check the drop table if exist in the option.

@itdept, check the source, then check the database.

as per general migrating, try having the same setup for the servers (dev, staging, and production) thus a great idea is running a version control (svn or cvs) >> cvs commit and cvs update instead of ftp upload would save your life on more than several occasion.

edit: and use the config variable to make it modular (if that makes any sense)
stoneyard replied on at Permalink Reply
stoneyard
What happens to files that have been inserted into pages that are referenced with an absolute url?
i.e.http://www.site.com/files/5512/4396/9109/product-101-thumb.jpg...
Basty replied on at Permalink Reply
Basty
Motto: "One month later is not really a necro, is it?"

I have run in all sorts of problems on my last migration.

Some of the subdirectories from "files" got stuck in wwwrun ownership, had to contact my host to manually delete them ( i have no ssh access to server ).

Also, a lot of issues started with clearing and uploading the cache directory. On future migrations, I would advise anyone to take great with that (as in not uploading it but rather create it and set the writing permissions manually).

Or, just to be on the safe side, do a fresh install / DB drop / import / overwrite. Yes, except the cache.