error Log shows Rebuilding migrate_extras_pathauto / field.

Unable to access module table.

Below error message appears.

FieldException: Cannot change an existing field's type. in field_update_field() (line 234 of /home/sites/mysite/public_html/modules/field/field.crud.inc).

Instalation failed on demo store setup while assuming using Migrate, due to error log last action

Have attempted 3 installs with different errors on each install.

Previous intall 7.x-2.0-rc1, I Enabled commerce kickstart blog. error log showed Rebuilding commerce_kickstart_blog / field. And again the same Field exception error mentioned above. So started with another fresh install using the "dev version". And it stopped on Path Auto..

Any sugestions to get round this without having to uninstall and start again.

Clean install
Drupal 7.15
PHP 5.3.10
PHP memory limit 400M
Web server Apache/2

Comments

theo_’s picture

This is due to the body field we are using which do not match the one provided by drupal standard install. Since many modules rely on it, we need to fix it.

What need to be done is :
_ revert our body field type to 'text_with_summary'
_ provide an upgrade path to not lose data

bojanz’s picture

That is a duplicate of #1660968: Revert: replace default body fields of type text_with_summary with ones of type text_long then.

(Working on it, btw).

However, I'm getting no error during install, so I'm guessing colinf modified his install in some way (added features / modules?)

bojanz’s picture

Status: Active » Closed (duplicate)
theo_’s picture

I don't think install has been modified in this case. Just enable the migrate_extras_pathauto module and the error will show.

bojanz’s picture

Great, that's valuable for debugging.

colinf’s picture

@comment 2 No modification or features added during install

lefnire’s picture

for us starting fresh (don't need an upgrade path) - is it sufficient to simply change {field_config} -> body ->type to 'text_with_summary' in the database after installation? Seems to have mitigated the issue of installing external features for me.

mcrostie’s picture

Hi boys and girls three in the morning and I hit this problem to answers on a post card PLEASE

Regards

Martin

jjclint’s picture

getting the following errors on #7:

Notice: Undefined variable: columns in text_field_schema() (line 54 of C:\wamp\www\xxx\modules\field\modules\text\text.install).
Notice: Undefined variable: columns in text_field_schema() (line 54 of C:\wamp\www\xxx\modules\field\modules\text\text.install).
Notice: Undefined variable: columns in text_field_schema() (line 54 of C:\wamp\www\xxx\modules\field\modules\text\text.install).