Might be my lack of experience in upgrading existing projects so far,
but, why are you upgrading first from 3 to 4 en then 5?
Is that to slightly change and check how it all goes, so it's not a to
big jump with eventual problems?

On Oct 1, 3:47 pm, Chris Kent <[email protected]> wrote:
> Ben,
>
> It was a few months ago now amd i can not remember all the details, it
> was a one-off, only had 1 site to go from V3 to V5 and did not keep
> good documentation.
>
> I did some of the importing direct in the database using SELECT
> INTO ...
>
> Other content types that required a little more work using code
> similar to this:
>
> <cfset objImage = CreateObject
> ("component","#application.types.dmImage.typepath#")>
> <!--- get v3 content --->
> <cfquery name="qV3" datasource="#application.dsn#">
>         SELECT *
>         FROM v3_dmImage
> </cfquery>
> <!--- import to V5 --->
> <cfloop query="qV3">
>         <cfset stProps = structNew()>
>         <cfset stProps.objectID = qV3.objectID>
>         <cfset stProps.label = qV3.label>
>         <cfset stProps.alt = qV3.alt>
>         ...
>         ...
>         <!--- repeat for all properties to be imported --->
>         ...
>         ...
>         <cfset crtImage = objImage.setData(stProperties=stProps)>
> </cfloop>
>
> From memory the 2 areas where there was the most differences between
> V3 and V5 for the content import were the security and categories.
> For the security I used the code in the Farcry Upgrade
>         <cfset application.security = createobject
> ("component","farcry.core.packages.security.security").init() />
>         <cfset migrateresult = createobject
> ("component","farcry.core.packages.security.FarcryUD").migrate() />
>
> I cannot find teh code i used for the categories, but it was nothing
> too complex.
>
> Oh, and friendly URLs, these are different in V5, so I set new FURLs
> and also created redirects FURLs for the old FURLs.
>
> Chris.
>
> On Oct 1, 2:24 pm, Ben Smith <[email protected]> wrote:
>
> > Is there a "best practice" way to import content? Is it a manual
> > process? is it a lot of effort to script the data across into the new
> > structure?
>
> > (The site i'm working on has a lot of content.
>
> > Duncan - my notes are up on the wiki, look under "More rough notes on
> > upgrading":http://docs.farcrycms.org/display/FCDEV40/Upgrading+from+Earlier+Vers...
>
> > the wiki doesn't allow the best formatting options, so copy and paste
> > 'em into word for readability.
>
> > B.
>
> > On Oct 1, 7:34 pm, Chris Kent <[email protected]> wrote:
>
> > > Duncan,
>
> > > An alternative approach to upgrading from V3 to V4 and then V5 would
> > > be to create a new V5 site and import in your content.
>
> > > I did this recently on a site where a lot of old legacy code/
> > > functionality was no longer required so it was the best option to
> > > start with a new clean V5 site and import the require content.
>
> > > Chris.
>
> > > On Oct 1, 12:13 pm, duncane <[email protected]> wrote:
>
> > > > Hi Ben - i'd be really interested in getting a copy of your notes on
> > > > your v3 to v4 upgrade - would you be able to email me a copy? I'm
> > > > having upgrade one of our sites next week - we're planning on going
> > > > from v3 to v4 and then on to v5.
>
> > > > Many thanks,
> > > > Duncan
>
> > > > On Oct 1, 8:45 am, Ben Smith <[email protected]> wrote:
>
> > > > > scratch that - have resolved using COAPI deployment.
>
> > > > > On Oct 1, 12:20 pm, Ben Smith <[email protected]> wrote:
>
> > > > > > I'm half way through an upgrade from V3 to V4 - I've got a document
> > > > > > with some notes that I'll add to the wiki when I'm done.
>
> > > > > > After running updates b400 and b401, I've just encountered an error
> > > > > > where dmHTML didn't contain a field called catHTML.
>
> > > > > > I've gotten around it by adding this field as a varchar(512) - what
> > > > > > should it be? what's it for?
--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---

Reply via email to