Migrating data from Drupal to Mercury

Events happening in the community are now at Drupal community events on www.drupal.org.
arnold_mad's picture

Is there a guide how to best migrate an update to date drupal 6.19 installation to a mercury installation ? Didn't find any documentation about that.

Comments

Migrating data from Drupal to Mercury

aussielunix's picture

G`day

Mercury makes use of Pressflow instead of Drupal plus some extra modules for caching and solr search.
Pressflow core is a drop in replacement for Drupal core.

So long as your site uses a standard core (not hacked) it should be very easy to migrate.

I have a blog post about this whilst very specific to my chosen workflow (Git etc ) it should still hold some valuable info for you.
http://www.lunix.com.au/blog/migrating_drupal6_to_mercury/

This wiki page lists some Drupal modules that are not properly compatible with Pressflow/caching and some tips on fixing them.
https://wiki.fourkitchens.com/display/PF/Modules+that+break+caching,+and...

Regards
Mick Pollard

www.lunix.com.au

Hi Mick ! Thanks for your

arnold_mad's picture

Hi Mick !

Thanks for your response - will read the mentioned pages. In general what are the first sources I should have a look at for documentation and so on ?

Where to report errors?

arnold_mad's picture

Hi !

Is there also a standard way to report issues as I just imported a running page into my mercury installation and I get the following errors:

Notice: Undefined index: nid in location_context_create_location() (line 51 of /var/www/sites/default/modules/location/plugins/contexts/location.inc).
Notice: Undefined index: city in location_context_create_location() (line 59 of /var/www/sites/default/modules/location/plugins/contexts/location.inc).
Notice: Undefined index: 0 in location_location_from_node_context() (line 52 of /var/www/sites/default/modules/location/plugins/relationships/location_from_node.inc).
Notice: Undefined index: full in content_display_order_alter_weights() (line 132 of /var/www/sites/default/modules/content_display_order/content_display_order.module).
Notice: Undefined offset: 4 in _menu_translate() (line 576 of /var/www/includes/menu.inc).
Notice: Undefined offset: 5 in _menu_translate() (line 576 of /var/www/includes/menu.inc).

re: Where to report errors?

Greg Coit's picture

This is a fine place to report errors, or you can use launchpad.com/pantheon.

Your errors appear database related - did you get any errors when you imported your database into pantheon?

Greg

--
Greg Coit
Systems Administrator
http://www.chapterthree.com

You mean

Dokuro's picture

You mean launchpad.net/pantheon unless you want to buy a domain name, then the .com will give you that :-/

These are php run-time

aaronlevy's picture

These are php run-time notices. For example, the 'undefined index' notices could be from things like using "foo[key]" rather than "foo['key']".

You can turn off php notices in /etc/php5/apache2/php.ini by changing:

error_reporting = E_ALL & ~E_DEPRECATED
to
error_reporting = E_ALL & ~E_DEPRECATED ~E_NOTICE

In the future, however, if you re-run bcfg2 it will overwrite any changes you've made to the php.ini file.

This is most likely caused by

ChrisBryant's picture

This is most likely caused by this core bug and because the server you are migrating to is running PHP 5.3 while you are running 5.2 locally:

undefined offset in includes/menu.inc on line 576

Mercury

Group organizers

Group categories

Post Type

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week