Share » Forums » General » Can't import ez4.0.1 package to ez4.1.x

Can't import ez4.0.1 package to ez4.1.x

Can't import ez4.0.1 package to ez4.1.x

Wednesday 22 July 2009 4:12:12 am - 2 replies

Author Message

Heath

Wednesday 22 July 2009 4:19:06 am

Great Tip Felix

Thanks,
Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

Russell Michell

Thursday 13 May 2010 3:26:05 pm

Thank you also Felix!

Possibly the most useful tip I have ever had the privilage to use!

Just to clarify, becuase it took me an hour or so of trial and error even using this technique:

  • It's not just the exported filename as I thought you meant
  • The top-level/parent node you wish to export from ez v4.0.x needs to be renamed via the admin GUI in lowercase and without hyphens before performing an export
  • Once the export is complete, hyphens in the filename itself that eZ puts in there for the version no. work A-OK.
  • As you may have read elsewhere, exporting the content as 'Main Node Only' is a red-herring. It made no difference to my export.

Scripts you might find helpful are:

  • ezpublish/ezpm.php to import large packages from the command-line
  • ezpublish/bin/php ezsubtreecopy.php - ideal when you wish to export some 'live' content, but need to rename it as lowercase and without hyphens before exporting - copy the subtree, rename it accordingly, then export.

Thanks again Felix :-)
Russell

Russell Michell, Wellington, New Zealand.
We're building! http://www.theruss.com/blog/
I'm on Twitter: http://twitter.com/therussdotcom

Believe nothing, consider everything.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu