Drupal issueshttps://lab.civicrm.org/dev/drupal/-/issues2020-09-30T17:43:55Zhttps://lab.civicrm.org/dev/drupal/-/issues/139Drupal8: ckeditor, unable to upload images to event info2020-09-30T17:43:55ZAlanDixonDrupal8: ckeditor, unable to upload images to event infoSimilar to https://lab.civicrm.org/dev/drupal/-/issues/77
I can fix it the same way (add a .htaccess the undoes Drupal's inherited rewrite), but curious whether there's a nicer solution similar to 77's solution, or whether these ckedito...Similar to https://lab.civicrm.org/dev/drupal/-/issues/77
I can fix it the same way (add a .htaccess the undoes Drupal's inherited rewrite), but curious whether there's a nicer solution similar to 77's solution, or whether these ckeditor direct access issues should be addressed in a different way altogether?https://lab.civicrm.org/dev/drupal/-/issues/138Drupal 9 deprecations2020-09-15T21:10:00ZDaveDDrupal 9 deprecationsSee also https://lab.civicrm.org/dev/drupal/-/issues/122 which is about the civicrm-drupal-8 repo, whereas this is more about core files.
entity_create() is gone.
entity_load() is gone.
url() is gone.
getUsername() is gone.
I have a...See also https://lab.civicrm.org/dev/drupal/-/issues/122 which is about the civicrm-drupal-8 repo, whereas this is more about core files.
entity_create() is gone.
entity_load() is gone.
url() is gone.
getUsername() is gone.
I have a patch ready but haven't fully tested it yet. WIP: https://github.com/civicrm/civicrm-core/compare/master...demeritcowboy:entity-drupal-9?expand=15.31.0https://lab.civicrm.org/dev/drupal/-/issues/137D8 Install checks run via Drupal Status Report - give misleading warnings.2020-10-14T13:50:13Zluke.stewartD8 Install checks run via Drupal Status Report - give misleading warnings.**Problem:**
If the civicrm.settings.php file is not writable, a warning is showing on Drupal Status Report indicating that the civicrm.settings.php file should be writable by the webserver user. This also shows on the command line when...**Problem:**
If the civicrm.settings.php file is not writable, a warning is showing on Drupal Status Report indicating that the civicrm.settings.php file should be writable by the webserver user. This also shows on the command line when running some drush commands.
**Ideal solution:**
The reverse behaviour should be present. Ideally we should warn if civicrm.settings.php is writable by the web server user.
The drupal hook requirements is what is generating this error message.
**Details:**
There is an argument passed to this hook `$phase` that would allow us to target this behaviour.
Currently the behaviour is to use \Civi\Setup checkRequirements() which runs Civicrm Core's install requirements checks.
There is possibly some use in some of these requirements being checked and warnings displayed on the Drupal Status Report page - however there is currently no easy way to differentiate between checks that should only run at install time like the writability of civicrm.settings.php and those that make sense to run post install as well.
Currently the check to see if the user is authorised to run the install only runs when phase is set to install.
An initial solution is potentially to only run the check requirements on install. Then if additional metadata can be returned by `$setup->checkRequirements()->getMessages()` as to whether the warning should run on install or runtime, or checks performed inside civicrm core requirements checks to test for if civi is installed the change could be reverted.5.32.0https://lab.civicrm.org/dev/drupal/-/issues/135Use Exception handling for drush (d7) commands - specifically civicrm-upgrade-db2021-02-15T02:50:40ZeileenUse Exception handling for drush (d7) commands - specifically civicrm-upgrade-dbWhen there is a problem upgrading via drush this is how it looks
![Screen_Shot_2020-08-19_at_2.33.52_PM](/uploads/7f3a15ac5a07104926c78d77c9ff168d/Screen_Shot_2020-08-19_at_2.33.52_PM.png)
I think we should set exception handling 'some...When there is a problem upgrading via drush this is how it looks
![Screen_Shot_2020-08-19_at_2.33.52_PM](/uploads/7f3a15ac5a07104926c78d77c9ff168d/Screen_Shot_2020-08-19_at_2.33.52_PM.png)
I think we should set exception handling 'somewhere' & my current best guess as to where is
--- a/CRM/Upgrade/Headless.php
+++ b/CRM/Upgrade/Headless.php
@@ -30,6 +30,8 @@ class CRM_Upgrade_Headless {
set_time_limit(0);
}
+ // As long as the error scope is not deconstructed exceptions will be thrown.
+ $errorScope = CRM_Core_TemporaryErrorScope::useException();
$upgrade = new CRM_Upgrade_Form();https://lab.civicrm.org/dev/drupal/-/issues/134[Drupal 8] civicrm-buildkit places assets in the wrong folder2020-08-21T21:35:52ZJonGold[Drupal 8] civicrm-buildkit places assets in the wrong folderOn a standard D8/Civi install, the CiviCRM assets are located in `<projectroot>/web/libraries/civicrm/`. On civicrm-buildkit, they're located in `<projectroot>/web/libraries/civicrm/core/` *except* for the `packages` folder, which is lo...On a standard D8/Civi install, the CiviCRM assets are located in `<projectroot>/web/libraries/civicrm/`. On civicrm-buildkit, they're located in `<projectroot>/web/libraries/civicrm/core/` *except* for the `packages` folder, which is located in `<projectroot>/web/libraries/civicrm/`. This causes a 404 error on any request to the contents of the `packages` folder, e.g. jQuery.https://lab.civicrm.org/dev/drupal/-/issues/133Breadcrumb error on CiviCRM admin pages (Drupal 8)2023-12-13T17:46:26ZW01FBreadcrumb error on CiviCRM admin pages (Drupal 8)Getting the following error on several CiviCRM admin pages, including /civicrm/admin
```
Warning: Invalid argument supplied for foreach() in CRM_Utils_System_Drupal8->appendBreadCrumb() (line 190 of /home/customer/www/youpickfarms.org/v...Getting the following error on several CiviCRM admin pages, including /civicrm/admin
```
Warning: Invalid argument supplied for foreach() in CRM_Utils_System_Drupal8->appendBreadCrumb() (line 190 of /home/customer/www/youpickfarms.org/vendor/civicrm/civicrm-core/CRM/Utils/System/Drupal8.php).
CRM_Utils_System_Drupal8->appendBreadCrumb('Administer CiviCRM', '/civicrm/admin?reset=1') (Line: 60)
CRM_Utils_System::__callStatic('appendBreadCrumb', Array) (Line: 76)
CRM_Contact_Form_Domain->preProcess() (Line: 599)
CRM_Core_Form->buildForm() (Line: 120)
CRM_Core_StateMachine->perform(Object, 'next', 'Next') (Line: 45)
CRM_Core_QuickForm_Action_Next->perform(Object, 'next') (Line: 203)
HTML_QuickForm_Controller->handle(Object, 'next') (Line: 103)
HTML_QuickForm_Page->handle('next') (Line: 347)
CRM_Core_Controller->run() (Line: 98)
CRM_Utils_Wrapper->run('CRM_Contact_Form_Domain', 'Organization Address and Contact Info', Array) (Line: 285)
CRM_Core_Invoke::runItem(Array) (Line: 68)
CRM_Core_Invoke::_invoke(Array) (Line: 36)
CRM_Core_Invoke::invoke(Array) (Line: 88)
Drupal\civicrm\Civicrm->invoke(Array) (Line: 80)
Drupal\civicrm\Controller\CivicrmController->main(Array, '')
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 151)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
```5.70.0https://lab.civicrm.org/dev/drupal/-/issues/132Drupal 8 Profile menu items2020-10-04T04:46:49ZAlanDixonDrupal 8 Profile menu itemsWhen using the CiviCRM profiles for "View/Edit Drupal User Account", the tab generated on the user page doesn't use the 'public title'.
Fix on line 40 of
src/Plugin/Derivative/LocalTasks.php
change uf_group['title'] to uf_group['fronten...When using the CiviCRM profiles for "View/Edit Drupal User Account", the tab generated on the user page doesn't use the 'public title'.
Fix on line 40 of
src/Plugin/Derivative/LocalTasks.php
change uf_group['title'] to uf_group['frontend_title']5.31.0https://lab.civicrm.org/dev/drupal/-/issues/130Use civicrm profile to simultaneously create civi contact and drupal user2020-09-01T19:18:58ZW01FUse civicrm profile to simultaneously create civi contact and drupal userI have set up a CiviCRM profile - ![ypf-profile](/uploads/e0b45d07d90d8fee422697b887f85fa9/ypf-profile.png) - in order to allow users to register with the site, and create both a CiviCRM contact and Drupal user account.
If from the prof...I have set up a CiviCRM profile - ![ypf-profile](/uploads/e0b45d07d90d8fee422697b887f85fa9/ypf-profile.png) - in order to allow users to register with the site, and create both a CiviCRM contact and Drupal user account.
If from the profiles page (/civicrm/admin/uf/group?reset=1) I click more > Use - Create Mode, it redirects to a screen that does not have the Drupal fields (username/password), and can successfully create a CiviCRM contact. But this is weird and happens even with setting "Account creation required" selected. I would expect this page to show and reflect the Drupal fields as well with that setting selected.
When visiting the same url (https://www.mysite.com/civicrm/profile/create?gid=14&reset=1) as an anonymous user, I correctly see the Drupal account fields AND the CiviCRM fields, but upon hitting save am shown an error:
> Profile Error Your profile is not saved and Account is not created.
Neither a Drupal account or CiviCRM contact are created.
There are also no new log messages at /admin/reports/dblog to indicate why it didn't work.https://lab.civicrm.org/dev/drupal/-/issues/129When creating a D8 private file system e.g. /sites/default/private -> CiviCRM...2020-09-14T03:22:22ZKarinGWhen creating a D8 private file system e.g. /sites/default/private -> CiviCRM overrides location for templates_c specified in civicrm.settings.php fileIs this intentional? And is it necessary? I first saw this on my Pantheon test install and am now seeing it on one of Alan's hosted sites as well. Storing `templates_c` in the private file system [even though the `civicrm.settings.php` f...Is this intentional? And is it necessary? I first saw this on my Pantheon test install and am now seeing it on one of Alan's hosted sites as well. Storing `templates_c` in the private file system [even though the `civicrm.settings.php` file still has the non-public files location] results in a slow page load.
This only happens if you put your private files dir in `/sites/default/ `
On Alan's hosting we can move the private/files to the same level as `web/`
`[$settings['file_private_path'] = $app_root . '/../private/files';`
- so CiviCRM keeps using `/sites/default/files` for `templates_c` - but on Pantheon [and likely other hosting] you may not have access to create a dir at that level.
End result is that it creates the impression that CiviCRM on D8 is very slow.
@DaveD @seamuslee @jackrabbithanna @bgm - any ideas as to why/history/intentional?https://lab.civicrm.org/dev/drupal/-/issues/128CiviCRM menu disappears immediately after clicking the CiviCRM button.2020-07-26T19:46:09ZHeneryHCiviCRM menu disappears immediately after clicking the CiviCRM button.![Screen_Shot_2020-07-10_at_7.53.31_PM](/uploads/f352a63527756f273cb26cacaf41752e/Screen_Shot_2020-07-10_at_7.53.31_PM.png)
Here is a log of the errors in my browser when the event happens
```
The resource from “http://bionic.mydomain....![Screen_Shot_2020-07-10_at_7.53.31_PM](/uploads/f352a63527756f273cb26cacaf41752e/Screen_Shot_2020-07-10_at_7.53.31_PM.png)
Here is a log of the errors in my browser when the event happens
```
The resource from “http://bionic.mydomain.org/libraries/civicrm/packages/jquery/plugins/jquery.mousewheel.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/jquery-ui/jquery-ui.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/packages/jquery/plugins/jquery.timeentry.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/select2/select2.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/jquery/dist/jquery.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
Loading failed for the <script> with source “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/jquery/dist/jquery.min.js”. civicrm:9:1
The resource from “http://bionic.mydomain.org/libraries/civicrm/packages/jquery/plugins/jquery.form.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/lodash-compat/lodash.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/packages/jquery/plugins/jquery.blockUI.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/datatables/media/js/jquery.dataTables.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/jquery-validation/dist/additional-methods.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/jquery-validation/dist/jquery.validate.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/packages/jquery/plugins/jquery.ui.datepicker.validation.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/js/Common.js?r=vESOV” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/js/crm.datepicker.js?r=vESOV” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/js/crm.ajax.js?r=vESOV” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/packages/jquery/plugins/jquery.notify.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/js/wysiwyg/crm.wysiwyg.js?r=vESOV” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/packages/jquery/plugins/jquery.tableHeader.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/smartmenus/dist/jquery.smartmenus.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/smartmenus/dist/addons/keyboard/jquery.smartmenus.keyboard.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/js/jquery/jquery.dashboard.js?r=vESOV” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/js/crm.menubar.js?r=vESOV” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/js/crm.optionEdit.js?r=vESOV” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/js/noconflict.js?r=vESOV” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/js/crm.drupal8.js?r=vESOV” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/css/crm-i.css?r=vESOV” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/datatables/media/css/jquery.dataTables.min.css” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/font-awesome/css/font-awesome.min.css” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/jquery-ui/themes/smoothness/jquery-ui.min.css” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/css/civicrm.css?r=vESOV” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/select2/select2.min.css” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core//bower_components/d3/d3.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core//bower_components/crossfilter2/crossfilter.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core//bower_components/dc-2.1.x/dc.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/css/dashboard.css?r=vESOV” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/jquery-ui/jquery-ui.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
Loading failed for the <script> with source “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/jquery-ui/jquery-ui.min.js”. civicrm:11:1
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/lodash-compat/lodash.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
Loading failed for the <script> with source “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/lodash-compat/lodash.min.js”. civicrm:13:1
The resource from “http://bionic.mydomain.org/libraries/civicrm/packages/jquery/plugins/jquery.mousewheel.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
Loading failed for the <script> with source “http://bionic.mydomain.org/libraries/civicrm/packages/jquery/plugins/jquery.mousewheel.min.js”. civicrm:15:1
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/select2/select2.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
Loading failed for the <script> with source “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/select2/select2.min.js”. civicrm:17:1
The resource from “http://bionic.mydomain.org/libraries/civicrm/packages/jquery/plugins/jquery.form.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
Loading failed for the <script> with source “http://bionic.mydomain.org/libraries/civicrm/packages/jquery/plugins/jquery.form.min.js”. civicrm:19:1
The resource from “http://bionic.mydomain.org/libraries/civicrm/packages/jquery/plugins/jquery.timeentry.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
Loading failed for the <script> with source “http://bionic.mydomain.org/libraries/civicrm/packages/jquery/plugins/jquery.timeentry.min.js”. civicrm:21:1
The resource from “http://bionic.mydomain.org/libraries/civicrm/packages/jquery/plugins/jquery.blockUI.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
Loading failed for the <script> with source “http://bionic.mydomain.org/libraries/civicrm/packages/jquery/plugins/jquery.blockUI.min.js”. civicrm:23:1
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/datatables/media/js/jquery.dataTables.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
Loading failed for the <script> with source “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/datatables/media/js/jquery.dataTables.min.js”. civicrm:25:1
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/jquery-validation/dist/jquery.validate.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
Loading failed for the <script> with source “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/jquery-validation/dist/jquery.validate.min.js”. civicrm:27:1
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/jquery-validation/dist/additional-methods.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
Loading failed for the <script> with source “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/jquery-validation/dist/additional-methods.min.js”. civicrm:29:1
The resource from “http://bionic.mydomain.org/libraries/civicrm/packages/jquery/plugins/jquery.ui.datepicker.validation.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
Loading failed for the <script> with source “http://bionic.mydomain.org/libraries/civicrm/packages/jquery/plugins/jquery.ui.datepicker.validation.min.js”. civicrm:31:1
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/js/Common.js?r=vESOV” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
Loading failed for the <script> with source “http://bionic.mydomain.org/libraries/civicrm/core/js/Common.js?r=vESOV”. civicrm:33:1
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/js/crm.datepicker.js?r=vESOV” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
Loading failed for the <script> with source “http://bionic.mydomain.org/libraries/civicrm/core/js/crm.datepicker.js?r=vESOV”. civicrm:35:1
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/js/crm.ajax.js?r=vESOV” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
Loading failed for the <script> with source “http://bionic.mydomain.org/libraries/civicrm/core/js/crm.ajax.js?r=vESOV”. civicrm:37:1
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/js/wysiwyg/crm.wysiwyg.js?r=vESOV” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
Loading failed for the <script> with source “http://bionic.mydomain.org/libraries/civicrm/core/js/wysiwyg/crm.wysiwyg.js?r=vESOV”. civicrm:39:1
Uncaught ReferenceError: jQuery is not defined
<anonymous> http://bionic.mydomain.org/civicrm/ajax/l10n-js/en_US?cid=2&r=vESOV:114
en_US:114:1
The resource from “http://bionic.mydomain.org/libraries/civicrm/packages/jquery/plugins/jquery.tableHeader.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
Loading failed for the <script> with source “http://bionic.mydomain.org/libraries/civicrm/packages/jquery/plugins/jquery.tableHeader.js”. civicrm:43:1
The resource from “http://bionic.mydomain.org/libraries/civicrm/packages/jquery/plugins/jquery.notify.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
Loading failed for the <script> with source “http://bionic.mydomain.org/libraries/civicrm/packages/jquery/plugins/jquery.notify.min.js”. civicrm:45:1
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/smartmenus/dist/jquery.smartmenus.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
Loading failed for the <script> with source “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/smartmenus/dist/jquery.smartmenus.min.js”. civicrm:47:1
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/smartmenus/dist/addons/keyboard/jquery.smartmenus.keyboard.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
Loading failed for the <script> with source “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/smartmenus/dist/addons/keyboard/jquery.smartmenus.keyboard.min.js”. civicrm:49:1
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/js/crm.menubar.js?r=vESOV” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
Loading failed for the <script> with source “http://bionic.mydomain.org/libraries/civicrm/core/js/crm.menubar.js?r=vESOV”. civicrm:51:1
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/js/crm.optionEdit.js?r=vESOV” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
Loading failed for the <script> with source “http://bionic.mydomain.org/libraries/civicrm/core/js/crm.optionEdit.js?r=vESOV”. civicrm:53:1
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/js/crm.drupal8.js?r=vESOV” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
Loading failed for the <script> with source “http://bionic.mydomain.org/libraries/civicrm/core/js/crm.drupal8.js?r=vESOV”. civicrm:55:1
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/js/jquery/jquery.dashboard.js?r=vESOV” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
Loading failed for the <script> with source “http://bionic.mydomain.org/libraries/civicrm/core/js/jquery/jquery.dashboard.js?r=vESOV”. civicrm:57:1
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/js/noconflict.js?r=vESOV” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
Loading failed for the <script> with source “http://bionic.mydomain.org/libraries/civicrm/core/js/noconflict.js?r=vESOV”. civicrm:59:1
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/datatables/media/css/jquery.dataTables.min.css” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/css/civicrm.css?r=vESOV” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/css/crm-i.css?r=vESOV” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/font-awesome/css/font-awesome.min.css” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/select2/select2.min.css” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/bower_components/jquery-ui/themes/smoothness/jquery-ui.min.css” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content. modernizr.min.js:3:3631
Uncaught TypeError: CRM.$ is not a function
<anonymous> http://bionic.mydomain.org/civicrm:232
civicrm:232:5
The resource from “http://bionic.mydomain.org/libraries/civicrm/core//bower_components/d3/d3.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
Loading failed for the <script> with source “http://bionic.mydomain.org/libraries/civicrm/core//bower_components/d3/d3.min.js”. civicrm:304:1
The resource from “http://bionic.mydomain.org/libraries/civicrm/core//bower_components/crossfilter2/crossfilter.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
Loading failed for the <script> with source “http://bionic.mydomain.org/libraries/civicrm/core//bower_components/crossfilter2/crossfilter.min.js”. civicrm:305:1
The resource from “http://bionic.mydomain.org/libraries/civicrm/core//bower_components/dc-2.1.x/dc.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
Loading failed for the <script> with source “http://bionic.mydomain.org/libraries/civicrm/core//bower_components/dc-2.1.x/dc.min.js”. civicrm:306:1
Uncaught TypeError: CRM.$ is not a function
<anonymous> http://bionic.mydomain.org/civicrm:473
civicrm:473:7
The resource from “http://bionic.mydomain.org/libraries/civicrm/core/css/dashboard.css?r=vESOV” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
civicrm
```
https://lab.civicrm.org/dev/drupal/-/issues/127Drupal 8 - Using Create User Record action on a contact with no email is too ...2020-08-04T13:32:09ZDaveDDrupal 8 - Using Create User Record action on a contact with no email is too quiet. Also CRM_Core_Session::setStatus is sometimes ignored.Followup to https://lab.civicrm.org/dev/drupal/-/issues/91 and https://github.com/civicrm/civicrm-core/pull/17771
It won't create the user but because of the way it fails the logged in user doesn't see an error, it just reloads the cont...Followup to https://lab.civicrm.org/dev/drupal/-/issues/91 and https://github.com/civicrm/civicrm-core/pull/17771
It won't create the user but because of the way it fails the logged in user doesn't see an error, it just reloads the contact view page. If you look in drupal watchdog though it will say `CRM_Core_Exception: is not of type String in CRM_Core_DAO::composeQuery() (line 1660 of ...\CRM\Core\DAO.php)`.
What's happening is hook_user_insert is trying to do stuff and it properly fails, but because of two compounding bugs you don't see the usual bounce message or fatal error screen.
One is that there are certain situations where if you call CRM_Core_Session::setStatus() and leave the message blank and only set a title, it won't show the popup.
The other is that the form doesn't look at the return value of the user create call, so even if the popup was working it would say success.
So two things:
Avoid the exception. I'm still looking closer where this should go. To be in line with https://github.com/civicrm/civicrm-drupal-8/pull/42 there could also be a non-form-related user-validation attached somewhere to handle blank emails when a drupal user is created programmatically.
Audit uses of setStatus to see if they are silently failing elsewhere, and see if fixing info.tpl makes them work. It looks like there are two others:
* On batch update for contacts, when you save it's supposed to display a popup message.
* Ditto when you delete a campaign survey.
* There is also when you delete or restore a case activity, but this follows a different path and is javascript only and doesn't use info.tpl.5.29.0https://lab.civicrm.org/dev/drupal/-/issues/126Error when merging contacts2020-07-23T16:00:03ZhowardshandError when merging contactsAfter an upgrade to Civi 5.23 on Drupal 7 started experiencing an issue during contact merges:
```
backTrace
#0 sites\all\modules\civicrm\CRM\Core\Error.php(148): CRM_Core_Error::backtrace()
#1 sites\all\modules\civicrm\vendor\pear\pear...After an upgrade to Civi 5.23 on Drupal 7 started experiencing an issue during contact merges:
```
backTrace
#0 sites\all\modules\civicrm\CRM\Core\Error.php(148): CRM_Core_Error::backtrace()
#1 sites\all\modules\civicrm\vendor\pear\pear-core-minimal\src\PEAR.php(922): CRM_Core_Error::handle(Object(DB_Error))
#2 sites\all\modules\civicrm\packages\DB.php(997): PEAR_Error->__construct("DB Error: already exists", -5, 16, (Array:2), "UPDATE civicrm_activity_contact SET contact_id = 150 WHERE contact_id = 54501...")
#3 sites\all\modules\civicrm\vendor\pear\pear-core-minimal\src\PEAR.php(575): DB_Error->__construct(-5, 16, (Array:2), "UPDATE civicrm_activity_contact SET contact_id = 150 WHERE contact_id = 54501...")
#4 sites\all\modules\civicrm\vendor\pear\pear-core-minimal\src\PEAR.php(223): PEAR->_raiseError(Object(DB_mysqli), NULL, -5, 16, (Array:2), "UPDATE civicrm_activity_contact SET contact_id = 150 WHERE contact_id = 54501...", "DB_Error", TRUE)
#5 sites\all\modules\civicrm\packages\DB\common.php(1925): PEAR->__call("raiseError", (Array:7))
#6 sites\all\modules\civicrm\packages\DB\mysqli.php(935): DB_common->raiseError(-5, NULL, NULL, "UPDATE civicrm_activity_contact SET contact_id = 150 WHERE contact_id = 54501...", "1062 ** Duplicate entry '150-7752-3' for key 'UI_activity_contact'")
#7 sites\all\modules\civicrm\packages\DB\mysqli.php(405): DB_mysqli->mysqliRaiseError()
#8 sites\all\modules\civicrm\packages\DB\common.php(1231): DB_mysqli->simpleQuery("UPDATE civicrm_activity_contact SET contact_id = 150 WHERE contact_id = 54501")
#9 sites\all\modules\civicrm\packages\DB\DataObject.php(2696): DB_common->query("UPDATE civicrm_activity_contact SET contact_id = 150 WHERE contact_id = 54501")
#10 sites\all\modules\civicrm\packages\DB\DataObject.php(1829): DB_DataObject->_query("UPDATE civicrm_activity_contact SET contact_id = 150 WHERE contact_id = 54501")
#11 sites\all\modules\civicrm\CRM\Core\DAO.php(421): DB_DataObject->query("UPDATE civicrm_activity_contact SET contact_id = 150 WHERE contact_id = 54501")
#12 sites\all\modules\civicrm\CRM\Core\DAO.php(1473): CRM_Core_DAO->query("UPDATE civicrm_activity_contact SET contact_id = 150 WHERE contact_id = 54501", TRUE)
#13 sites\all\modules\civicrm\CRM\Dedupe\Merger.php(563): CRM_Core_DAO::executeQuery("UPDATE civicrm_activity_contact SET contact_id = 150 WHERE contact_id = 54501", (Array:0), TRUE, NULL, TRUE)
#14 sites\all\modules\civicrm\CRM\Dedupe\Merger.php(1316): CRM_Dedupe_Merger::moveContactBelongings(Object(CRM_Dedupe_MergeHandler), (Array:5), (Array:0))
#15 sites\all\modules\civicrm\CRM\Contact\Form\Merge.php(308): CRM_Dedupe_Merger::moveAllBelongings(150, 54501, (Array:16))
#16 sites\all\modules\civicrm\CRM\Core\Form.php(484): CRM_Contact_Form_Merge->postProcess()
#17 sites\all\modules\civicrm\CRM\Core\QuickForm\Action\Done.php(59): CRM_Core_Form->mainProcess()
#18 sites\all\modules\civicrm\packages\HTML\QuickForm\Controller.php(203): CRM_Core_QuickForm_Action_Done->perform(Object(CRM_Contact_Form_Merge), "done")
#19 sites\all\modules\civicrm\packages\HTML\QuickForm\Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Contact_Form_Merge), "done")
#20 sites\all\modules\civicrm\CRM\Core\Controller.php(335): HTML_QuickForm_Page->handle("done")
#21 sites\all\modules\civicrm\CRM\Utils\Wrapper.php(98): CRM_Core_Controller->run()
#22 sites\all\modules\civicrm\CRM\Core\Invoke.php(285): CRM_Utils_Wrapper->run("CRM_Contact_Form_Merge", "Merge Contact", (Array:0))
#23 sites\all\modules\civicrm\CRM\Core\Invoke.php(68): CRM_Core_Invoke::runItem((Array:13))
#24 sites\all\modules\civicrm\CRM\Core\Invoke.php(36): CRM_Core_Invoke::_invoke((Array:3))
#25 sites\all\modules\civicrm\drupal\civicrm.module(454): CRM_Core_Invoke::invoke((Array:3))
#26 includes\menu.inc(527): civicrm_invoke("contact", "merge")
#27 index.php(21): menu_execute_active_handler()
#28 {main}
Sorry, due to an error, we are unable to fulfill your request at the moment. You may want to contact your administrator or service provider with more details about what action you were performing when this occurred.
DB Error: already exists
Error Details
Database Error Code: Duplicate entry '150-7752-3' for key 'UI_activity_contact', 1062
Additional Details:
Array
(
[callback] => Array
(
[0] => CRM_Core_Error
[1] => handle
)
[code] => -5
[message] => DB Error: already exists
[mode] => 16
[debug_info] => UPDATE civicrm_activity_contact SET contact_id = 150 WHERE contact_id = 54501 [nativecode=1062 ** Duplicate entry '150-7752-3' for key 'UI_activity_contact']
[type] => DB_Error
[user_info] => UPDATE civicrm_activity_contact SET contact_id = 150 WHERE contact_id = 54501 [nativecode=1062 ** Duplicate entry '150-7752-3' for key 'UI_activity_contact']
[to_string] => [db_error: message="DB Error: already exists" code=-5 mode=callback callback=CRM_Core_Error::handle prefix="" info="UPDATE civicrm_activity_contact SET contact_id = 150 WHERE contact_id = 54501 [nativecode=1062 ** Duplicate entry '150-7752-3' for key 'UI_activity_contact']"]
)
Return to home page.
Fatal error: Uncaught CRM_Core_Exception: [0: Transaction integrity error: Expected to find active frame thrown in sites\all\modules\civicrm\Civi\Core\Transaction\Manager.php on line 93
```
This seems to be caused by the fact that we record activities for all of our mailings and merging records who were sent the same mailing is causing "Duplicate entry '150-7752-3' for key 'UI_activity_contact'". We have always done this though and have never had the error before.https://lab.civicrm.org/dev/drupal/-/issues/125Cron url not found and other cron challenges2021-10-01T15:48:59ZHeneryHCron url not found and other cron challengesI just installed CiviCRM 5.29.alpha (dev-master) on top of Drupal 8.9.2 and it seems to have worked for the most part.
I'm having some trouble with the cron jobs. Trying all different flavors with little success.
In my instance, this ...I just installed CiviCRM 5.29.alpha (dev-master) on top of Drupal 8.9.2 and it seems to have worked for the most part.
I'm having some trouble with the cron jobs. Trying all different flavors with little success.
In my instance, this URL is not found
http://my.domain.org/sites/all/modules/civicrm/bin/cron.php
I searched for the php file and it is here.
`<cms-root>/vendor/civicrm/civicrm-core/bin/cron.php`
Any hints on getting this URL method to work?
On another method...
When I run this command line, it seems to work but my cron table in CiviCRM never shows an updated execution event.
```
<cms-root>$ sudo -u www-data cv api job.version_check --user=admin --cwd=/var/www/drupal/web
{
"is_error": 0,
"version": 3,
"count": 1,
"values": 1
}
```
yet the table sever updates...
![Screen_Shot_2020-07-13_at_12.08.12_PM](/uploads/b7eddaeb0bcc02ed011603173503314c/Screen_Shot_2020-07-13_at_12.08.12_PM.png)https://lab.civicrm.org/dev/drupal/-/issues/124Cannot Load ckeditor From Drupal 82020-10-24T19:01:14ZskesslerCannot Load ckeditor From Drupal 8When going to a page that loads ckeditor in CiviCRM 5.26.2 in Drupal 8.9.1 it attempts to load CSS and JS from /core/assets/vendor/ckeditor/ however the files it is attempting to load to do not exist.
For example, there is no folder s...When going to a page that loads ckeditor in CiviCRM 5.26.2 in Drupal 8.9.1 it attempts to load CSS and JS from /core/assets/vendor/ckeditor/ however the files it is attempting to load to do not exist.
For example, there is no folder skins/moono/skin.js there is a folder called moono-lisa.
I am not sure if these are changes, typos or what have you but since there are not matching files I am not sure what to just make as a patch.
Thanks,
Stevehttps://lab.civicrm.org/dev/drupal/-/issues/123acl_entity_role entries deleted after upgrading to 5.25.02021-03-28T20:24:15Zedvanleeuwenacl_entity_role entries deleted after upgrading to 5.25.0After upgrading tot 5.25.0 all entries have been deleted on the Assign Users page. The table acl_entity_role is empty. In the log there are the following lines for each role:
```
"id" "acl_role_id" "entity_table" "entity_id" "is_active"...After upgrading tot 5.25.0 all entries have been deleted on the Assign Users page. The table acl_entity_role is empty. In the log there are the following lines for each role:
```
"id" "acl_role_id" "entity_table" "entity_id" "is_active" "log_date" "log_conn_id" "log_user_id" "log_action"
"458" "459" "civicrm_group" "175" "1" "2020-06-06 14:29:11" "286442" "2" "Delete"
```
I am using OG Sync which did not have any problems previously.https://lab.civicrm.org/dev/drupal/-/issues/122[Drupal 9] Module incompatibilities.2021-02-02T00:50:16Zhomotechsual[Drupal 9] Module incompatibilities.This is the list of [`upgrade_status`](https://drupal.org/project/upgrade_status) warnings for the CiviCRM module on Drupal 9.0.0-rc1
| File | Line | Warning ...This is the list of [`upgrade_status`](https://drupal.org/project/upgrade_status) warnings for the CiviCRM module on Drupal 9.0.0-rc1
| File | Line | Warning | Status |
| ------------------------------------------------------------- | ---- | ---------------------------------------- | ------ |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 317 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 343 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 390 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 392 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 405 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 413 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 461 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 511 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 586 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 601 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 609 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 624 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 632 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 647 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 655 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 690 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 763 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 767 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 805 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 809 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 832 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 837 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 860 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 865 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 929 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 933 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 937 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 939 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 944 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 1017 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 1028 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 1034 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 1045 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 1049 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 1054 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 1077 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 1079 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 1081 | Call to deprecated function drush_log(). | Discussing |
| web/modules/contrib/civicrm/src/Tests/CivicrmInstallation.php | | Class Drupal\simpletest\WebTestBase not found and could not be autoloaded. | |
| web/modules/contrib/civicrm/src/Tests/CivicrmInstallation.php | 10 | Class Drupal\simpletest\WebTestBase not found and could not be autoloaded. | |
| web/modules/contrib/civicrm/src/Tests/CivicrmTestBase.php | | Class Drupal\simpletest\WebTestBase not found and could not be autoloaded. | |
| web/modules/contrib/civicrm/src/Tests/CivicrmTestBase.php | 11 | Class Drupal\simpletest\WebTestBase not found and could not be autoloaded. | |
| web/modules/contrib/civicrm | 0 | The 'civicrm' extension is not installed. Cannot check deprecated library use. | |
| web/modules/contrib/civicrm/civicrm.module | 99 | The 'civicrm/civicrm-icons' library is not defined because the defining extension is not installed. Cannot decide if it is deprecated or not. | |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 666 | The 'civicrm/upgrade' library is not defined because the defining extension is not installed. Cannot decide if it is deprecated or not. | |
| web/modules/contrib/civicrm/drush/civicrm.drush.inc | 673 | The 'civicrm/upgrade' library is not defined because the defining extension is not installed. Cannot decide if it is deprecated or not. | |
| web/modules/contrib/civicrm/civicrm.info.yml | 0 | Add core_version_requirement: ^8 \|\| ^9 to civicrm.info.yml to designate that the module is compatible with Drupal 9. See https://drupal.org/node/3070687. | [Open PR](https://github.com/civicrm/civicrm-drupal-8/pull/40) |https://lab.civicrm.org/dev/drupal/-/issues/119Exception handling - 'Allowed memory size' exhasted issues2020-10-05T22:47:08ZRob_SException handling - 'Allowed memory size' exhasted issuesI'm having issues with Exception handling. I've hit a few places, where rather than getting provided with a useful error message, I am getting WSOD and then in the Apache error logs I am seeing "PHP Fatal error: Allowed memory size of x...I'm having issues with Exception handling. I've hit a few places, where rather than getting provided with a useful error message, I am getting WSOD and then in the Apache error logs I am seeing "PHP Fatal error: Allowed memory size of xxx bytes exhausted (tried to allocate xxx bytes) in Unknown on line 0".
"Unknown on line 0" isn't very helpful. One instance where I am getting this is if I want to view a contribution page, that has "Allow individuals to contribute and / or signup for membership on behalf of an organisation?" selected, but the user does not have the 'CiviCRM: profile create' permission.
It's taken me a while to narrow down the problem following a debug_backtrace() in templates/CRM/Contribute/Form/Contribution/Main.tpl.
I've tracked it as far as CRM_Core_Exception. The constructor method here is working ok, but there is another method, getErrorData() which is somehow getting called, but I cannot figure out where from. It seems to me that there must be some kind of infinite loop thing going on with one Exception class calling another. CRM_Core_Exception extends PEAR_Exception which extends Exception.
I have at least three other instances of WSOD on the site, with the same uninformative 'Allowed memory size ..' errors in the Apache log, but I haven't got as far as tracking them down to see if it is the same thing yet.
Is anyone else having problems like this? Would appreciate any thoughts.5.31.0https://lab.civicrm.org/dev/drupal/-/issues/118civicrm_views module no longer present causing updatedb error: "The module ci...2020-04-30T18:34:04Zjohnkcivicrm_views module no longer present causing updatedb error: "The module civicrm_views does not exist"CiviCRM 5.24.4 with Drupal 8.8.5. The last few version upgrades, now, I get this error from updatedb.
```
In ExtensionList.php line 265:
...CiviCRM 5.24.4 with Drupal 8.8.5. The last few version upgrades, now, I get this error from updatedb.
```
In ExtensionList.php line 265:
The module civicrm_views does not exist.
```
I thought I was able to fix it, before, with a `drush pm:uninstall civicrm_views`. (I don't need it.) But the error came back. This time I was only able to resolve it by copying civicrm_views from my vendor/civicrm/civicrm-drupal-8/modules/ into web/modules/contrib/civicrm/modules. I can then run the updatedb. Even though I now have this module disabled, I can't remove it from web/modules or I get this in my Apache log upon going to the status page:
```
Uncaught PHP Exception Drupal\\Core\\Extension\\Exception\\UnknownExtensionException: "The module civicrm_views does not exist or is not installed." at /var/www/acreresidency.org/web/core/lib/Drupal/Core/Extension/ExtensionList.php line 346
```
Was this recently taken out of the set of modules and stuff that gets installed by the composer scripts? I'm thinking back to when I used to have to do some of this install work manually, and then eventually composer took over for me.
If I had to take a guess at what this bug is: civicrm_views got removed from what is installed by default, but I already had it installed. And the module doesn't properly clean up after itself on uninstall?
I seem to recall I also, for one of the upgrades, had to remove a line saying "civicrm_views" from an extensions list that's in my config/sync. Just now I looked in the database too. I tried out some "LIKE" queries with "civicrm_view%", and I wasn't able to find anything in my drupal_config table that relates to this module.
How screwed up is my install now? I should have reported this sooner.https://lab.civicrm.org/dev/drupal/-/issues/117Profiles used for editing user records in drupal 8 don't load civi javascript2021-06-14T15:53:02ZDaveDProfiles used for editing user records in drupal 8 don't load civi javascript1. Create a civi profile that has `View/Edit Drupal User Account` checked under "Used For".
1. Add the Individual birthdate field.
1. Clear drupal cache at admin/config/development/performance (otherwise the tab in the next step won't sh...1. Create a civi profile that has `View/Edit Drupal User Account` checked under "Used For".
1. Add the Individual birthdate field.
1. Clear drupal cache at admin/config/development/performance (otherwise the tab in the next step won't show up).
1. Edit any user record under /admin/people.
1. Click on the tab for the profile you made.
1. Birthdate field has no datepicker. If you turn off aggregation which is on by default you can see no civi javascript seems to be even listed (i.e. it's not a 404 or resource url issue).
Civi and civicrm-drupal-8 version is master.5.40.0https://lab.civicrm.org/dev/drupal/-/issues/115Let's make some D8 upgrade documentation2020-10-20T21:12:09ZStoobLet's make some D8 upgrade documentation[This single stack exchange](https://civicrm.stackexchange.com/questions/33945/how-can-i-update-civicrm-installed-with-drupal-8-using-composer) the best documentation yet I've found about upgrading Drupal 8 and it is varied and cluttered...[This single stack exchange](https://civicrm.stackexchange.com/questions/33945/how-can-i-update-civicrm-installed-with-drupal-8-using-composer) the best documentation yet I've found about upgrading Drupal 8 and it is varied and cluttered. With a security update of Civi planned for April, we need to provide a more consolidated way to provide upgrade instructions. I volunteer to help, but since I have not yet been successful upgrading my Composer-installed Civi on D8 (hosted by CiviHosting) myself I am not qualified to write it. I am currently looking for solutions and collaborators.2020-04-11