Hi

I did not see anything like this in the issues.

I get this huge error when I try and create the field "List(text)" with any widget, this is in the module Profile 2.

I have done all the regular stuff like flushing my cache, reinstalling the module, etc. But this killer bug just won't go away. See below.

If anybody can give me some advice, I would really appreciate it.

Thanks a lot!

Kind Regards,

Siegfried

Dreaded Error:

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'pfl2.cck_field_settings' doesn't exist: SELECT fs.setting_option AS setting_option FROM {cck_field_settings} fs WHERE (fs.field_name = :db_condition_placeholder_0) AND (fs.setting = :db_condition_placeholder_1) AND (fs.setting_type = :db_condition_placeholder_2) ; Array ( [:db_condition_placeholder_0] => field_list [:db_condition_placeholder_1] => allowed_values_php [:db_condition_placeholder_2] => field ) in cck_field_get_setting() (line 217 of /var/www/pfl2/modules/cck/cck.module).

Comments

bfroehle’s picture

@Siegfried: Look in your SQL database and see if you have the cck_field_settings table... If it's not there, we'll need to figure out why it isn't getting created.

siegoboy’s picture

Hi

Thanks for the reply.

No, i just checked that the table is not created. Strange.

karens’s picture

Status: Active » Postponed (maintainer needs more info)

Are you talking about a problem when creating a field from scratch? If so, that is nothing to do with CCK, it belongs on the Profile2 issue queue. The only thing CCK is doing in D7 is migrating D6 data to D7. It's not clear to me if this is a report about a migration issue or a problem with new field creation.

siegoboy’s picture

Status: Postponed (maintainer needs more info) » Active

Hi Karen

Well I am not migrating from D6 to D7 I am trying create a new field but even though I am doing this in Profiles 2, the error states that the missing CCK field is the problem.

Thanks!

Siegfried

bfroehle’s picture

Try disabling and re-enabling the CCK module, as that should get the database schema installed for you.

siegoboy’s picture

Status: Active » Fixed

Hi

Thank you bfroehle.
This infact did work for me!

Kind Regards,

Siegfried

Status: Fixed » Closed (fixed)

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