I update eck 2.x to 3.x (current git version) on working site (with already created some eck entities), and got the error:
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mysite.t' doesn't exist: SELECT t.* FROM {} t WHERE (name = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => supplier ) in function DBObject->load() (sting 111 in file sites/all/modules/eck/eck.classes.inc).
How can I solve this problem? Maybe I can do some modifications in database manually for support 3.x version? If yes, can you describe what I must change?

Comments

fmizzell’s picture

I believe this error has to do with the eck_cache table, last time I checked there was no update function that added it

acrazyanimal’s picture

What? Yes there is: eck_update_7010()

acrazyanimal’s picture

@Murz: did you run update db after you updated the module? And clear all caches?

The error above seems to not be including a table name in the call to the db. Where/when do you get this error?

fmizzell’s picture

@acrazyanimal: Oops, sorry for creating confusion, I thought I had not see the update function.

murz’s picture

Status: Active » Closed (fixed)

@acrazyanimal - yes, I run update.php and clear caches too, but got this error.
Today I update code to version from 2013-05-07 and all works well without errors, thanks.

jmev’s picture

Issue summary: View changes

I'm now getting this error when adding this module. I have to delete the eck directory for it to clear up.

Somehow, I managed to get it running on one installation, but can't repeat the success on another. I tried simply copying the eck directory over, but no dice.

I'm on version 7.x-2.0-rc2. Any thoughts?