This forum is for questions about upgrading an existing Drupal site. Don't forget to read the UPGRADE.txt file that comes with every Drupal download.

Migrating selective nodes and user data from Drupal 6 to Drupal 7

My site (www.elementsforlife.co.uk) is running Drupal 6 / Ubercart 2 and I'm looking to move to Drupal 7 / Commerce. I've looked at the Ubercart/Commerce migrate module and I don't think its really for me as I don't need to pull everything over. Over time a lot of junk has crept in to the site and this is an opportunity for me to largely start again.

I'm happy to rebuild the shop from scratch as it doesn't have huge numbers of products and most of the product content is going to be replaced with new text, images and so on. I can easily rebuild the shop taxonomy and set up the URL aliases. Loosing comments will be a pain, but not the end of the world.

I don't need to be able to migrate the existing orders (just under 1000 completed) as my customer base will not worry about losing direct access to past orders. Besides I can always email through order details from a local backup if needed.

What I would like to keep and move to D7/Commerce is:

i) All Users that have a role of Customer or Affiliate (which is less than 1/3 the total due to a flood of spam users). Some profile details for these users, specifically Username, Password, Email, Billing Address, Shipping Address, Phone Numbers.

ii) All blog posts, including comments if possible.

Upgrading from 6 to 7 -theme update

So I'm attempting to migrate a Drupal 6 site to Drupal 7 for a major client.

So far, I've updated some of the modules, including the CCK fields - some modules don't have an updated version, fine.

But one problem I'm seeing is updating the custom theme - how difficult is this? Are there any guides? What absolutely HAS to be done? Is there like a minimum list?

Can a Drupal 6 theme work out of the box with Drupal 7 (besides obviously updating the theme to tell Drupal 7 it can work with it).

Upgrade drupal - 7.22 to 7.23

hi,
my problem is what i can't upgrade my drupal to a 7.23 version, always times i try, the site print diferents messages error...
i don't understand why, i search the some erros but i don't find...

help me someone pelase...

the messages follow below:

"1- Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 7680 bytes) in
/var/www/vhosts/meu-site/httpdocs/sites/all/modules/views/plugins/views_plugin_access_perm.inc on line 14

Upgraded to Drupal 7.23, internal server error? Code 500

I'm working on a website on a shared server. I tried upgrading to Drupal 7.23 and when I try to access the website I get a server error. I've already tried commenting out the "Options..." line, replacing the .htaccess file with the default, nothing works. I didn't change anything when I upgraded, I only kept the custom modules and themes I had added. How can I fix this?

Error messages for custom module after D6 to D7 upgrade

After upgrading a site from Drupal 6 to 7 I'm getting the following error messages when I attempt to visit the site:

Warning: Attempt to assign property of non-object in templates_load() (line 428 of /path to module/templates.module).

Notice: Trying to get property of non-object in templates_load()(line 429 of /path to module/templates.module).

Recoverable fatal error: Argument 2 passed to db_query() must be an array, null given, called in /path to module/templates.module on line 429 and defined in db_query() (line 2342 of /path to includes/includes/database/database.inc).

The templates module was custom written (not by me, I'm not a programmer) for the site.

Below are the offending lines of code.

From templates.module:

function templates_load($node) {
$node->module = 'templates'; // line 428
$query = db_query('SELECT * FROM {templates_fields} WHERE nid=%d ORDER BY fid', $node->nid); // line 429
$node->areas = array();
while($row = db_fetch_array($query)) {
$area = $row['area'];
$node->areas[$area][] = $row;
}
return $node;
}

From database.inc:

function db_query($query, array $args = array(), array $options = array()) { //line 2342
if (empty($options['target'])) {
$options['target'] = 'default';
}

return Database::getConnection($options['target'])->query($query, $args, $options);
}

image galleries are not re-created

Hello,

I've recently upgraded from an earlier 6.x version 6.28 with the intention of moving to 7.23. Everything has upgraded correctly except for the image galleries. I had to upgrade multiple modules and something seems to have gotten lost during the process. I still have all the images, but the galleries themselves are empty (just descriptions). It seems i'm going to have to manually re-upload each image.

If there is no easy fix for this, i'm okay with basically re-creating each gallery. However, i'd like to avoid this in the future.

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal