Jump to content

Existing fields throw "does not exist" error


Recommended Posts

Posted

Hi all,

I copied my database from one site to the other and everything seems to work fine. But I have an issue with some fields that are editable in the backend but as soon I try to save the page give me the error message:

FieldtypePage: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'usr_p624065_1.field_select_hidden_categories' doesn't exist.


I tried to delete and readd them to the page but with no success. (This happens at least with two fields). What am I doing wrong?

Posted

For whatever reason not in the database but in the fieldlist and in the template. I can edit it but when I save it, it produces an error.

Posted

So there's a mistake related to the database. Or you are accessing the wrong one (check site/config.php), or the DB copy is wrong.

Posted

I suppose that there is a mistake in the database. But where does PW get the information from that this field exists?

Posted

Looks like a part of database has been copied? If I'm not wrong, fields are also referenced in fieldgroups_fields table that are referenced in templates table. So a template knows what field to display.

But the main question is: why is not the database copied properly? What method do you use?

Posted

Oh, that is an unexpected explication, I did not know this!

I copied the database via PHPMyAdmin dumb, what usually works perfectly...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...