Invalid column name

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 年 前
Hi,

I am new here so I don't know if I post in the right channel.

I have updated nopCommerce 3.1 to 3.7. Everything works well except the customer part both in admin and in the store.

When I ex. click on the "Register" I get:

Invalid column name 'Name'.
Invalid column name 'IsRequired'.
Invalid column name 'AttributeControlTypeId'.
Invalid column name 'DisplayOrder'.
Invalid column name 'DisplayOrder'.

How can I do to fix this? Is it possible to add these lines in my database or is something else wrong?

Thankful for you help.
7 年 前
Those columns should have been created in your database when you upgraded. It seems like maybe you forgot to execute one or more of the upgrade scripts over your database.
7 年 前
Hi,

Thank you for your reply.

I tried to run all the upgrade scripts but without success.

Later I took a backup and renamed the CustomerAttribute to CustomerAttribute1 and created a new table with the new columns.

Now everything works fine, but I am wondering what the CustomerAttribute does?

Nothing fails now and I have all the data that I need.

Thank you in advance.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.