We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

EE Migrate

Development and Programming

Mark Huot's avatar
Mark Huot
587 posts
16 years ago
Mark Huot's avatar Mark Huot

Hum, that’s strange because it’s doing the replace on ALL tables and fields. I don’t have a list coded in there at all, it just grabs a list of all the tables and their fields then runs a replace on that. Are you sure you’ve entered a string that exists in those fields? Are you sure there’s content to replace?

       
dfbills's avatar
dfbills
56 posts
16 years ago
dfbills's avatar dfbills

Yes, I definitely had the data in there, I had to change it by hand to get up and running. I’ll be trying it again in the next couple of weeks and will report back. This tool sounds like just the ticket for me.

       
dfbills's avatar
dfbills
56 posts
16 years ago
dfbills's avatar dfbills

Mark: I used 1.0.3 successfully yesterday to launch a site. Here’s what I’ve written in my documentation:


The migrate tool will change embedded domain name and server path variables.  The following data is needed:  original host name, target host name, original server path, target server path.    

The tool is available here:

http://FINAL.DOMAIN.NAME/system/eemigrate.php

The tool should be run twice:

1.    Replace the host name
2.    Replace the server paths

Note: The folder "system" is a placeholder variable for EE system folder.  This folder should be renamed and not called "system".

It might be nice to actually tailor the tool to this purpose, prompting the user to complete the two-part process.

       
OrganizedFellow's avatar
OrganizedFellow
435 posts
15 years ago
OrganizedFellow's avatar OrganizedFellow

I’ve used this offline a few times already. I moved an installed of EE to a different directory on Ubuntu, and ran this script.

Works flawlessly! Three times thus far!

I’m sure (hoping so, really!) … but pretty darned excited about getting my site ONline, so I can really test this out.

Thanks Mark!

       
kingdoz's avatar
kingdoz
45 posts
15 years ago
kingdoz's avatar kingdoz

hi mark, is there a version for EE 1.6?

       
Mark Huot's avatar
Mark Huot
587 posts
15 years ago
Mark Huot's avatar Mark Huot

Not yet. possibly in a month or so.

       
kingdoz's avatar
kingdoz
45 posts
15 years ago
kingdoz's avatar kingdoz

doh!

       
OrganizedFellow's avatar
OrganizedFellow
435 posts
15 years ago
OrganizedFellow's avatar OrganizedFellow

Glad to hear it is in development Mark.

       
textdriven's avatar
textdriven
107 posts
15 years ago
textdriven's avatar textdriven

What will happen if I use this with 1.6

       
textdriven's avatar
textdriven
107 posts
15 years ago
textdriven's avatar textdriven

I’m an idiot. I tried to use this on 1.6 and things broke. I did a database restore but I can no longer login. What doesn’t this change that it isn’t meant to?

       
Mark Huot's avatar
Mark Huot
587 posts
15 years ago
Mark Huot's avatar Mark Huot

What do you mean you can’t log in? Does it tell you a password is wrong? Do you see a white screen? If you view source is there anything there?

       
textdriven's avatar
textdriven
107 posts
15 years ago
textdriven's avatar textdriven

White screen no source. I restored the database to an version just before the switch and also overwrote the EE files with the newest build of ee 1.6

       
Sue Crocker's avatar
Sue Crocker
26,054 posts
15 years ago
Sue Crocker's avatar Sue Crocker

But can you run update.php from your system directory?

       
textdriven's avatar
textdriven
107 posts
15 years ago
textdriven's avatar textdriven

yes

       
dfbills's avatar
dfbills
56 posts
15 years ago
dfbills's avatar dfbills

Mark:

I’d be willing to contribute ($) toward the development of the next version. Let’s setup a time to chat. I’ve got some specialized uses in mind for your product.

       
1 2 3

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.