upgraded to d7rc3 and updated entity to beta5.

got this error

Fatal error: require_once() [function.require]: Failed opening required '/home/foo/public_html/sites/all/modules/entity/entity/entity.controller.inc' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/foo/public_html/includes/bootstrap.inc on line 2789

i looked in sites/all/modules/entity/entity and entity.controller.inc doesn't exist. it exists int /modules/entity/includes

site is down... reverting to previous entity builds doesn't work either...

thanks

Comments

bredi’s picture

I copied entity.controller.inc from the entity/includes directory into the entity/entity directory.
This allowed me to run update.php and things seem to be working.

I then removed entity.controller.inc from the entity/entity directory and things still seem to be working ok.

I hope this helps someone!

ngmaloney’s picture

I'm having the same issue. Anyone know where entity.controller.inc is being included from? Attempting to locate so I can roll a patch.

scor’s picture

@bredi, I ran drush updb and it worked for me (I didn't use beta5 but a git clone from github, but the files are the same).

fago’s picture

Title: entity 1.0beta5 crashes d7rc3 » update to entity 1.0beta5 crashes d7rc3

In my tests the entity.controller.inc was not necessary for the upgrade to work, however if it is for you copy the file in the "entity" subdirectory as described in #1. After updating, you can delete the whole entity sub-directory.

so4’s picture

Component: Entity CRUD API - main » Core integration

#1 worked for me. thanks.

klausi’s picture

Status: Active » Fixed

reopen if still an issue.

Status: Fixed » Closed (fixed)

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