Drupal issueshttps://lab.civicrm.org/dev/drupal/-/issues2022-04-29T09:11:35Zhttps://lab.civicrm.org/dev/drupal/-/issues/177Cannot resolve path using "cms.root.url"2022-04-29T09:11:35ZalmadorxCannot resolve path using "cms.root.url"Hi! I'm having the issue with
```
In Paths.php line 140:
Cannot resolve path using "cms.root.url"
```
I'm using Drupal 9 and the last version of CiviCRM
I've tried the solution from here
([regression `cv` fails on CiviCRM 5.15.0](htt...Hi! I'm having the issue with
```
In Paths.php line 140:
Cannot resolve path using "cms.root.url"
```
I'm using Drupal 9 and the last version of CiviCRM
I've tried the solution from here
([regression `cv` fails on CiviCRM 5.15.0](https://lab.civicrm.org/dev/drupal/-/issues/75))
\vendor\civicrm\civicrm-core\CRM\Utils\System\Drupal8.php:
` public function getCurrentLanguage() {
// Drupal might not be bootstrapped if being called by the REST API.
if (!class_exists('Drupal') || !\Drupal::hasContainer()) {
return NULL;`
I've replaced _return NULL;_ with _return $url;_ but that doesn't solved the issue.https://lab.civicrm.org/dev/drupal/-/issues/160No dashboard displaying after installing and configuring CiviCRM with Backdrop2021-05-03T14:54:29ZcedeweyNo dashboard displaying after installing and configuring CiviCRM with BackdropI just installed CiviCRM on my Backdrop CMS site and walked through the configuration checklist.
When I click on the CiviCRM admin menu link I am taken to an essentially blank page. It seems like I must be missing a configuration or per...I just installed CiviCRM on my Backdrop CMS site and walked through the configuration checklist.
When I click on the CiviCRM admin menu link I am taken to an essentially blank page. It seems like I must be missing a configuration or permission setting, but I can't find what that might be. I am logged in as user 1 (administrator).
Also, when I hover over the CiviCRM menu item, no subpages appear in a dropdown as I have seen on other CiviCRM sites.
![civicrm-no-dashboard-no-menu](/uploads/ee163fe2b83d699e94b2185e85da0e5c/civicrm-no-dashboard-no-menu.png)https://lab.civicrm.org/dev/drupal/-/issues/155Installer does not recognize https urls when installing and setting civicrm.s...2021-02-04T20:02:47ZHeneryHInstaller does not recognize https urls when installing and setting civicrm.settings.php variablesTwo instances of url are in the settings file and when I install on an https site I need to edit the file manually to change the http to https.
Can the installer detect this and set the proper URL?Two instances of url are in the settings file and when I install on an https site I need to edit the file manually to change the http to https.
Can the installer detect this and set the proper URL?https://lab.civicrm.org/dev/drupal/-/issues/152Installing CiviCRM on some Distributions causes error Failed to find next ins...2021-01-13T19:55:59ZHeneryHInstalling CiviCRM on some Distributions causes error Failed to find next installable packageOne could argue that since CiviCRM installs of a clean core then it isn't its problem if there are errors on other distributions. But I have had this error when installing on a variety of different distis.
Maybe the root problem is in ...One could argue that since CiviCRM installs of a clean core then it isn't its problem if there are errors on other distributions. But I have had this error when installing on a variety of different distis.
Maybe the root problem is in some module somewhere or maybe the problem is in CiviCRM and it just doesn't manifest itself on a clean install of core.
I am not sure the data that I can help collect on this but I am now seeing it while trying to load CiviCRM on top of the Thunder disti.
Any ideas on what data collection would help?
```
composer create-project thunder/thunder-project $drupal_root --stability dev --no-interaction --no-install
.
.
.
vi composer.json # (to add the path for docroot to the civicrm-asset extras)
composer config extra.enable-patching true
composer -vvv require civicrm/civicrm-asset-plugin:'~1.1'
composer -vvv require civicrm/civicrm-{core,packages,drupal-8}:'~5.33-dev'
.
.
.
.
Writing lock file
Generating autoload files
- CiviCRM asset map
83 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Skip extra file civicrm/civicrm-core:angular
Skip extra file civicrm/civicrm-core:angular-bootstrap
Skip extra file civicrm/civicrm-core:angular-file-upload
Skip extra file civicrm/civicrm-core:angular-jquery-dialog-service
Skip extra file civicrm/civicrm-core:angular-mocks
Skip extra file civicrm/civicrm-core:angular-route
Skip extra file civicrm/civicrm-core:angular-sanitize
Skip extra file civicrm/civicrm-core:angular-ui-sortable
Skip extra file civicrm/civicrm-core:angular-ui-utils
Skip extra file civicrm/civicrm-core:angular-unsavedchanges
Skip extra file civicrm/civicrm-core:angular-xeditable
Skip extra file civicrm/civicrm-core:checklist-model
Skip extra file civicrm/civicrm-core:ckeditor
Skip extra file civicrm/civicrm-core:crossfilter-1.3.x
Skip extra file civicrm/civicrm-core:crossfilter2
Skip extra file civicrm/civicrm-core:css-color-names
Skip extra file civicrm/civicrm-core:d3
Skip extra file civicrm/civicrm-core:d3-3.5.x
Skip extra file civicrm/civicrm-core:datatables
Skip extra file civicrm/civicrm-core:dc-2.1.x
Skip extra file civicrm/civicrm-core:es6-promise
Skip extra file civicrm/civicrm-core:ext-greenwich-bootstrap3
Skip extra file civicrm/civicrm-core:font-awesome
Skip extra file civicrm/civicrm-core:marked
Skip extra file civicrm/civicrm-core:monaco-editor
Skip extra file civicrm/civicrm-core:google-code-prettify
Skip extra file civicrm/civicrm-core:jquery
Skip extra file civicrm/civicrm-core:jquery-ui
Skip extra file civicrm/civicrm-core:jquery-validation
Skip extra file civicrm/civicrm-core:json-formatter
Skip extra file civicrm/civicrm-core:jstree
Skip extra file civicrm/civicrm-core:lodash-compat
Skip extra file civicrm/civicrm-core:phantomjs-polyfill
Skip extra file civicrm/civicrm-core:select2
Skip extra file civicrm/civicrm-core:js-yaml
Skip extra file civicrm/civicrm-core:smartmenus
Executing command (/var/www/thunder/docroot): git ls-files --error-unmatch '/var/www/thunder/docroot//autoload.php'
Executing command (/var/www/thunder): git rev-parse --show-toplevel
[civicrm-asset-plugin] Found drupal/core. Defaults will be based on tarball.
[RuntimeException]
Error: Failed to find next installable package. Remaining: npm-asset/shariff thunder/thunder-distribution thunder/t
hunder-project
Exception trace:
() at /var/www/thunder/vendor/civicrm/composer-compile-plugin/src/PackageSorter.php:103
Civi\CompilePlugin\PackageSorter::sortPackages() at /var/www/thunder/vendor/civicrm/composer-compile-plugin/src/TaskList.php:42
Civi\CompilePlugin\TaskList->load() at /var/www/thunder/vendor/civicrm/composer-compile-plugin/src/Command/CompileCommand.php:60
Civi\CompilePlugin\Command\CompileCommand->execute() at phar:///usr/local/bin/composer/vendor/symfony/console/Command/Command.php:245
Symfony\Component\Console\Command\Command->run() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:835
Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:185
Symfony\Component\Console\Application->doRun() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:281
Composer\Console\Application->doRun() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:117
Symfony\Component\Console\Application->run() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:113
Composer\Console\Application->run() at phar:///usr/local/bin/composer/bin/composer:61
require() at /usr/local/bin/composer:24
compile [--all] [-N|--dry-run] [--soft-options [SOFT-OPTIONS]] [--] [<filterExpr>]...
Subcommand @composer compile returned with error code 1
Installation failed, reverting ./composer.json to its original content.
[RuntimeException]
Subcommand @composer compile returned with error code 1
Exception trace:
() at /var/www/thunder/vendor/civicrm/composer-compile-plugin/src/Util/ComposerPassthru.php:72
Civi\CompilePlugin\Util\ComposerPassthru->run() at /var/www/thunder/vendor/civicrm/composer-compile-plugin/src/CompilePlugin.php:117
Civi\CompilePlugin\CompilePlugin->runTasks() at n/a:n/a
call_user_func() at phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:164
Composer\EventDispatcher\EventDispatcher->doDispatch() at phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:96
Composer\EventDispatcher\EventDispatcher->dispatchScript() at phar:///usr/local/bin/composer/src/Composer/Installer.php:338
Composer\Installer->run() at phar:///usr/local/bin/composer/src/Composer/Command/RequireCommand.php:248
Composer\Command\RequireCommand->doUpdate() at phar:///usr/local/bin/composer/src/Composer/Command/RequireCommand.php:205
Composer\Command\RequireCommand->execute() at phar:///usr/local/bin/composer/vendor/symfony/console/Command/Command.php:245
Symfony\Component\Console\Command\Command->run() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:835
Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:185
Symfony\Component\Console\Application->doRun() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:281
Composer\Console\Application->doRun() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:117
Symfony\Component\Console\Application->run() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:113
Composer\Console\Application->run() at phar:///usr/local/bin/composer/bin/composer:61
require() at /usr/local/bin/composer:24
require [--dev] [--prefer-source] [--prefer-dist] [--fixed] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...
```https://lab.civicrm.org/dev/drupal/-/issues/111Multiple jquery errors after upgrading to Drupal 8.8.42020-03-22T15:24:38ZRob_SMultiple jquery errors after upgrading to Drupal 8.8.4I've applied the latest security patch to upgrade to Drupal 8.8.4 and it seems to have broken Civi. At /civicrm I am seeing no menu, the dashboards aren't loading and cannot be edited / updated. There are numerous js errors on the page w...I've applied the latest security patch to upgrade to Drupal 8.8.4 and it seems to have broken Civi. At /civicrm I am seeing no menu, the dashboards aren't loading and cannot be edited / updated. There are numerous js errors on the page which seem to stem from jquery being missing. THe first error is:
ReferenceError: jQuery is not defined /libraries/civicrm/js/Common.js:4:10
Any advice would be appreciated here people pleasehttps://lab.civicrm.org/dev/drupal/-/issues/109OG_Sync gives fatal error if User is Anonymous2020-03-16T07:37:34ZTony Maynard-SmithOG_Sync gives fatal error if User is AnonymousWhen creating or updating an Organic Group page, if the Author is set to Anonymous or left blank, the OG_Sync module throws a Fatal Error. This can be seen as line 224 of the civicrm_og_sync.module file in the attached backtrace.
Anonym...When creating or updating an Organic Group page, if the Author is set to Anonymous or left blank, the OG_Sync module throws a Fatal Error. This can be seen as line 224 of the civicrm_og_sync.module file in the attached backtrace.
Anonymous is a valid entry for Author on the Drupal form, and should not throw this error. We have a number of occurrences of this where the Group Page has been converted from a previous normal page not using OG, and the original Author had been deleted or otherwise set to Anonymous.
![OG_Sync_error](/uploads/d1c254caa0e18bb4370186657cf1c556/OG_Sync_error.png)https://lab.civicrm.org/dev/drupal/-/issues/101Error cancelling Drupal user2020-01-06T21:44:57ZedvanleeuwenError cancelling Drupal userWhen I cancel a Drupal user account, I get a non-descriptive error and cancellation has not been done. Doing this a second time does cancel the user, but the user relation is still visible in Civi because the entry in civicrm_uf_match is...When I cancel a Drupal user account, I get a non-descriptive error and cancellation has not been done. Doing this a second time does cancel the user, but the user relation is still visible in Civi because the entry in civicrm_uf_match is not removed.
Using Drupal 7.67 and CiviCRM 5.20.2.