Closed (works as designed)
Project:
CRM Core
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Reporter:
Created:
2 May 2012 at 16:11 UTC
Updated:
15 May 2012 at 15:52 UTC
Jump to comment: Most recent
Installed latest dev. Then tried to update some non crm modules. During run of update.php, i got:
Fatal error: Class 'crm_core_contact_handler_field_contact' not found in ...\modules\crm_core\modules\crm_core_contact\includes\views\handlers\crm_core_contact_handler_field_contact_type.inc on line 6
Comments
Comment #1
Anonymous (not verified) commentedJust did a recent pull from git to get the latest version of crm_core that is installed on a vanilla Drupal 7 and was then able to run update.php without any errors.
What happens if you disable the crm_core module and then run update.php?
Thanks for helping us to test this module we really appreciate your feedback \ O /
Best, Paul
Comment #2
zeezhao commentedHi. I am using the dev version of 2012-May-02 listed on project homepage.
update.php ran fine without crm_core.
I also get the same error when trying to activate CRM core for search via: admin/config/search/settings
I clicked tick boxes by "CRM Core Activity" & "CRM Core Contact", and then pressed "Save Configuration", and then got:
Comment #3
dealancer commentedI can't reproduce this issue using recent dev version.
This problem can be caused by views, that have not been updated yet. Try to go to the views page and revert all crm core views. Also try to empty all cache tables. Make sure you are using recent views version.
If this won't help, please, tell us:
1) Is it a new installation of crm core, or have you updated it from the previous version?
2) What modules are enabled. You can check it using drush command 'drush pmi'?
Comment #4
zeezhao commenteddone all you've suggested above.
It turns out that in: crm_core\modules\crm_core_contact\includes\views\handlers
crm_core_contact_handler_field_contact.inc was called called crm_core_contact_handler_field_contact.in
[I am using crm_core-7.x-1.x-dev.tar.gz] So I change extension to .inc, and error disappeared.
Comment #5
dealancer commentedGlad that problem is solved.
I am no sure why you have different filename spelling. I checked recent *.zip and *.tar.gz files and could not find anything wrong with filenames, thus I am closing this issue.