While testing a D6 to D7 site upgrade, I get the following error:

An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: ... StatusText: OK ResponseText: Fatal error: Call to undefined function db_fetch_object() in .../sites/all/modules/filefield/field_file.inc on line 35

On the error page, I get:

The update process was aborted prematurely while running update #7012 in user.module. All errors have been logged.

Anyone have any thoughts?

Thanks,
Eric

Comments

quicksketch’s picture

Category: bug » support
Priority: Major » Normal
Status: Active » Fixed

There isn't a D7 version of the FileField module. You should remove it from your installation when upgrading to Drupal 7. The D7 version of CCK, which included the field_migrate module (I think that's what it's called) handles the upgrading of FileField to Drupal 7.

aitala’s picture

I know that there is no D7 version.. I did disable the D6 version, but should the module directory be deleted before the upgrade is attempted? I had not even gotten to upgrading the contrib modules....

Eric

quicksketch’s picture

but should the module directory be deleted before the upgrade is attempted?

Yes, there shouldn't by any D6 modules on your site when you attempt to upgrade to D7. Take a look at the UPGRADE.txt file for the full set of instructions on upgrading your site to Drupal 7 from Drupal 6.

aitala’s picture

Well, from - https://drupal.org/node/570162

9. Remove uninstalled modules
If you uninstalled any modules, remove them from the sites/all/modules and other sites/*/modules directories. Leave other modules in place, even though they are incompatible with Drupal 7.x.

Note that is says you don't need to remove D6 modules. I have done a D6 -> D7 w/o first removing the D6 contrib modules.

Eric

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.