I have a large site (Open Atrium distro) with around 400 modules.

Even though the available RAM is 1GB one has to be careful when enabling modules - don't enable more than one item at a time or you'll get WSOD that is only recoverable by deleting the CRM Core module directory and contents.

I had enabled about 4 items simultaneously and it crashed.

Most Drupal devs know better than to enable a bunch of modules at once but I'd still recommend adding this caveat to the installation documentation.

Comments

druplicate created an issue. See original summary.

RoSk0’s picture

Status: Active » Closed (works as designed)

I don't think that this is an issue of CRM Core itself. If you think that this should be documented you free to create "Tips and tricks" section in the documentation.
Closing it because I don't see what we can do about it.

druplicate’s picture

If I'm having issues with this much available RAM, then I'm sure others will too.

I managed to get CRM core installed with most of the sub-modules enabled but just now I went to enable the Activities sub-module and got WSOD.

I haven't had this issue installing other complex module suites, so you may want to take a look at memory usage.

For now just add the caveat to the documentation.

druplicate’s picture

Category: Task » Bug report
Status: Closed (works as designed) » Active

This may be a bug. The site is running under Aegir on Omega8.cc and a health check resulted in a number of this error after enabling the Activity sub-module: Error: Class 'CRMCoreActivityTypeController' not found in .../includes/common.inc, line 8027

druplicate’s picture

Priority: Normal » Major

Elevating to major because installing a module on a professionally managed Drupal-only host with 1024MB of PHP memory should not cause a WSOD and crash the site.

The host (Omega8.cc) could not offer any help - nothing wrong with the server or installation in other words.

Something in the Activity module is broken or is consuming an inordinate amount of memory.

EDIT: This is a duplicate of #2446945: Fatal error: Class 'CRMCoreActivityTypeController' not found in d7/includes/common.inc on line 8092 which is unresolved.

Another duplicate: #2665758: Aegir Install: Class 'CRMCoreActivityTypeController' not found in d7/includes/common.inc, line 8190 - seems there is a workaround but the basic issue has not been fixed. The confidence level that this won't cause other problems is very low, even with the workaround.

druplicate’s picture

Assigned: Unassigned » druplicate
Priority: Major » Normal

Changing back to "normal" as there is a workaround.

Reported here:#2665758: Aegir Install: Class 'CRMCoreActivityTypeController' not found in d7/includes/common.inc, line 8190, as this is a duplicate.

druplicate’s picture

No problem testing on SimplyTestMe and plain vanilla D7, however I then installed Open Atrium and added CRM Core.

I enabled the core and core UI modules and then attempted to enable the Contact and Contact UI module and got this stream of warnings:

    Warning: class_implements(): Class CRMCoreContactController does not exist and could not be loaded in entity_entity_info_alter() (line 1474 of /home/r00t0/www/profiles/openatrium/modules/contrib/entity/entity.module).
    Warning: in_array() expects parameter 2 to be array, boolean given in entity_entity_info_alter() (line 1474 of /home/r00t0/www/profiles/openatrium/modules/contrib/entity/entity.module).
    Warning: class_implements(): Class CRMCoreContactTypeController does not exist and could not be loaded in entity_entity_info_alter() (line 1474 of /home/r00t0/www/profiles/openatrium/modules/contrib/entity/entity.module).
    Warning: in_array() expects parameter 2 to be array, boolean given in entity_entity_info_alter() (line 1474 of /home/r00t0/www/profiles/openatrium/modules/contrib/entity/entity.module).
    Warning: class_implements(): Class CRMCoreContactTypeController does not exist and could not be loaded in entity_create() (line 463 of /home/r00t0/www/profiles/openatrium/modules/contrib/entity/entity.module).
    Warning: in_array() expects parameter 2 to be array, boolean given in entity_create() (line 463 of /home/r00t0/www/profiles/openatrium/modules/contrib/entity/entity.module).
    Warning: Creating default object from empty value in crm_core_contact_install() (line 15 of /home/r00t0/www/sites/all/modules/crm_core/modules/crm_core_contact/crm_core_contact.install).
    Warning: class_implements(): Class CRMCoreContactTypeController does not exist and could not be loaded in entity_save() (line 288 of /home/r00t0/www/profiles/openatrium/modules/contrib/entity/entity.module).
    Warning: in_array() expects parameter 2 to be array, boolean given in entity_save() (line 288 of /home/r00t0/www/profiles/openatrium/modules/contrib/entity/entity.module).
    Warning: class_implements(): Class CRMCoreContactTypeController does not exist and could not be loaded in entity_create() (line 463 of /home/r00t0/www/profiles/openatrium/modules/contrib/entity/entity.module).
    Warning: in_array() expects parameter 2 to be array, boolean given in entity_create() (line 463 of /home/r00t0/www/profiles/openatrium/modules/contrib/entity/entity.module).
    Warning: Creating default object from empty value in crm_core_contact_install() (line 22 of /home/r00t0/www/sites/all/modules/crm_core/modules/crm_core_contact/crm_core_contact.install).
    Warning: class_implements(): Class CRMCoreContactTypeController does not exist and could not be loaded in entity_save() (line 288 of /home/r00t0/www/profiles/openatrium/modules/contrib/entity/entity.module).
    Warning: in_array() expects parameter 2 to be array, boolean given in entity_save() (line 288 of /home/r00t0/www/profiles/openatrium/modules/contrib/entity/entity.module).
    Warning: class_implements(): Class CRMCoreContactTypeController does not exist and could not be loaded in entity_create() (line 463 of /home/r00t0/www/profiles/openatrium/modules/contrib/entity/entity.module).
    Warning: in_array() expects parameter 2 to be array, boolean given in entity_create() (line 463 of /home/r00t0/www/profiles/openatrium/modules/contrib/entity/entity.module).
    Warning: Creating default object from empty value in crm_core_contact_install() (line 28 of /home/r00t0/www/sites/all/modules/crm_core/modules/crm_core_contact/crm_core_contact.install).
    Warning: class_implements(): Class CRMCoreContactTypeController does not exist and could not be loaded in entity_save() (line 288 of /home/r00t0/www/profiles/openatrium/modules/contrib/entity/entity.module).
    Warning: in_array() expects parameter 2 to be array, boolean given in entity_save() (line 288 of /home/r00t0/www/profiles/openatrium/modules/contrib/entity/entity.module).

The module appears to work but not properly as I reported here: #2675936: No pre-configured contact types

grahl’s picture

Assigned: druplicate » Unassigned
Status: Active » Closed (outdated)

Closing outdated issue, please reopen if still relevant.