Hey,
looks like i cant use apachesolr in installprofiles
Error message:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'webusr_drupal.taxonomy_vocabulary' doesn't exist
this error only appears while installing when setting the dependencie for apachesolr in installprofiles.
does apachesolr need's taxonomy_vocabulary table for installation?
Comments
Comment #1
pwolanin commentedI'm not aware of it being required. Please supply more details or steps to reproduce.
Comment #2
n20 commentedto reproduce: D7.12 latest release (stable, not dev). before a fresh install just put the apachesolr module in place and add to /profiles/standard/standard.info:
dependencies[] = apachesolr
run installation with standard profile.
you will get an error:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'webusr_db1.taxonomy_vocabulary' doesn't existComment #3
nick_vhResponsible function :
apachesolr_vocab_name(), and it is only being called during term indexing. So this seems to be a very odd error
Comment #4
prdatur2-1 commentedHave the same issue here.
We have a profile which needs the apachesolr dependency and got the same error as above descriped.
It occures after setting the apachesolr module as depends[] within a profile .info file.
Comment #5
pyrello commentedI am having the same issue as well.
I attempted to fix this issue by applying the patches from #1418834: Beta15+ problems with i18n and entity_translation and #1410256: apachesolr_hook_info() calls entity_get_info() which can throw an error when installing using a profile.. The first did not seem to make any difference. The second made the above error go away, but it was replaced by a similar error complaining about
Table 'examplecom.rdf_mapping' doesn't existRemoving the dependencies for the apachesolr and apachesolr_search modules from my .info file allowed the installation to finish without issue.
Comment #6
nick_vhDuplicate of #1410256: apachesolr_hook_info() calls entity_get_info() which can throw an error when installing using a profile.