Error message
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drupal-7.profile_type' doesn't exist: SELECT base.id AS id, base.type AS type, base.label AS label, base.weight AS weight, base.data AS data, base.status AS status, base.module AS module FROM {profile_type} base; Array ( ) in EntityAPIController->query() (line 152 of /Users/joachim/Sites/7-drupal/sites/all/modules/entity/includes/entity.controller.inc).
Comments
Comment #1
joachim commentedO_o
Reinstalled D7 and enabled profile2 and it works.
I wonder whether this was caused by enabling profile2 & profile2 pages at once?
Comment #2
jonsecret commentedI have too this problem. it's don't show me what is errore just show whit page.
Drupal core is 7.8
Comment #3
fagoSry, I cannot reproduce this. I guess this could happen if you install a module providing default profile types but you don't specify the dependency - or use an old drush version that doesn't order the modules correctly?
Anyway, we need to find a way to reproduce it.
Comment #4
bendiy commentedHaving the same problem.
Upon install, I install both Profile2 and Profile2 Page. The install appeared to have failed in creating any of the profile tables in the database, profile or profile_type. I cannot uninstall the module. Only way to get the white screen to go away is to remove the Profile2 folder. I've even removed Profile2 entries from the system, registry, and registry_file tables, but I cannot get Profile2 to install correctly. Flushing caches and running cron does not help.
I get the below error if I enable error reporting in php.ini and install the module from /admin/modules/list with no admin overlay:
Comment #5
bendiy commentedThis issue appears to be cause by having UUID installed: http://drupal.org/project/uuid
There is an open issue over there that might fix it:
http://drupal.org/node/1268602
Comment #6
bendiy commentedHopefully that's enough info to make active?
Comment #7
fagothis is an uuid/entity api incompatibility issue, see
http://drupal.org/node/1268602
http://drupal.org/node/1290986
Setting to postponed until these are fixed
Comment #8
adamdicarlo commentedI am not using the uuid module and I've run into this issue when enabling Profile2 in an install profile. The current crash while installing in an install profile is different than this, though, so I'm opening a new issue for it.
Comment #9
fagoCould you try whether the patch for profile2 from http://drupal.org/node/1290986#comment-5083708 solves the issue for you please?
Comment #10
fagook, I went ahead and committed it. Just test the *next* dev snapshot or the latest Git checkout please.
Comment #11
adamdicarlo commentedEdit: I was responding to the wrong issue.
I pulled from the 7.x-1.x branch on git just now and still get the crash:Comment #12
adamdicarlo commentedThe crash I'm seeing is in an install profile -- installing profile2 during Drupal installation -- should we make a new issue for that, or is this related?
Comment #13
adamdicarlo commentedwhoops -- sorry for the noise. I was responding to the wrong issue! Resetting status.