Questions tagged [drupal-9]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
15 views

Way to reset search preferences, display preferences when admin page inaccessible?

In Refrence to my related issue how do I re-write the default preferences back to what they were when first CiviCRM was installed? Admin screen no longer accessible after search preferences changes.. ...
2 votes
2 answers
29 views

Is -TypeError: array_flip(): Argument #1 must be of type array, string given- a php 8, Drupal 9, civicrm 5.55.2 or all combined Issue?

PHP 8 TypeError I encountered when making adjustments to the search preferences, unchecking not needed fields and checking new custom fields. no autocomplete drop down anymore and when I TRY to go ...
0 votes
1 answer
8 views

Drupal 9 Create User from contact the email field is hidden

Creating a user from a contact via actions menu brings form with hidden email field!??! at civicrm/contact/view/useradd?reset=1&action=add&cid=2572&cid=2572 Why 2 CID? Searching to find ...
0 votes
1 answer
12 views

Installing CiviCRM on a Drupal 9 site with Drush 11 conflict due to symfony/filesystem ~4.4 requirement

Currently if you install Drupal 9, Drush then CiviCRM you end up with a Composer "Problem" due to Drush requiring consolidation/site-alias (^3.1.6 || ^4) and composer picking the v4 version ...
  • 1,715
2 votes
1 answer
35 views

Composer install of ESR (Extended Security Release)?

How do I manage a CiviCRM ESR (Extended Security Release) install on a Drupal 8/9 composer installation? I've subscribed to the CiviCRM ESR service and I'm trying to install an ESR version on my ...
  • 6,223
0 votes
1 answer
15 views

Transfer a D7 view sql query to a D9 view

We are converting a number of D7 views (for reports) to D9 version. Is it possible to copy the sql query from a D7 view to use in a D9 view. The fields in Civi are the same.
  • 1,139
0 votes
0 answers
19 views

Summary Overlay tries to display the whole contact summary page

We've got a site running on 5.50.x and D9. Hovering over the little contact icon on the search page tries to display the whole summary page and then throws a datatables error. I've reviewed our other ...
  • 339
1 vote
1 answer
45 views

Issues with installing CiviCRM onto a Drupal 9 instance

I am currently having issues trying to install CiviCRM onto a Drupal 9.3.14 instance for a NPO website which is currently utilising the LocalGov Drupal Install Profile (https://www.drupal.org/project/...
1 vote
1 answer
50 views

Is the use of API4 already recommended?

I am currently working on a custom module for CiviCRM (5.48) and Drupal 9 (9.3.9) I opted to use API4 but I notice that some things are missing compared to API3: Contribution -> ...
0 votes
1 answer
63 views

In drupal 9 i have try to install Civicrm. But it asking "CiviCRM: Database: Database does not support creation of triggers" how to fix this error?

i am using Drupal 9, Cent os, php 8, Mysql 8. i am try to install the civicrm it's asking "CiviCRM: Database: Database does not support creation of triggers" how to solve this?
1 vote
1 answer
36 views

Drupal 9 linking CiviCRM Contribution pages to Webforms

I am fairly new to CiviCRM. We are quite a long way down the road upgrading a D7 site to D9 whilst also restoring a CiviCRM database and upgrading from 5.10.2 to 5.47.1. In the older D7 site we are ...
1 vote
1 answer
33 views

Invite Existing Contacts to Create Linked Drupal User Account

I have quite a few existing contacts who do not have Drupal accounts. I want to send out an email to these contacts with an invititation for them to create their own Drupal user account. All their ...
  • 892
1 vote
1 answer
31 views

Minimum requirement: driver://host/database Error

My CiviCRM database cannot connect to my database server when it is loading a Drupal page that accesses CiviCRM through Views. We have been having all sorts of trouble with our Amazon Aurora instance ...
  • 825
0 votes
0 answers
14 views

Adding or Editing Civirule where Linked Trigger = "webform is submitted" returns error

Civicrm version: 5.45.1 Drupal 9.3.3 Adding (or editing an existing) civirule where the selected trigger is "webform is submitted" generates the fatal error: CiviRule trigger class "...
  • 21
2 votes
0 answers
34 views

CKeditor5 when used as editor for civimail Traditional mailings does not save draft content

Using CKEditor5 for civimail. Content and images are not saved when saving draft or any save of message. Using D9 with Civi 5.44. CKeditor4 saves correctly as well as text editor. Also, CKEditor5 ...
  • 1,139
1 vote
2 answers
256 views

Moving existing CiviCRM to new Drupal instance + upgrade to Drupal 9

Hello dear Civi experts, I am new to CiviCRM world and have a task at hand to upgrade CiviCRM 5.40 which integrated to Drupal 7.82 into 5.42. Then lift whole CiviCRM side and integrate to new Drupal 9 ...
  • 23
0 votes
2 answers
89 views

What would cause: Error: Class 'HTMLPurifier_Config' not found in CRM_Utils_String::purifyHTML()?

After upgrading to CiviCRM 5.44.0 under Drupal 9.2.10 under Windows/IIS I got the following error when trying to view a report: Error: Class 'HTMLPurifier_Config' not found in CRM_Utils_String::...
1 vote
1 answer
12 views

How does drush:site-install recognize a previous civi installation?

While trying to set up an install script for a composer drupal/civi template, I try to rerun the install process several times. CiviCRM refuses to do that, saying civicrm appears to have already been ...
  • 1,159
0 votes
1 answer
70 views

Can't install civiCRM with drupal 9.2.7

I installed the latest Drupal 9 (9.2.7) using composer as follows: composer create-project drupal/recommended-project myDrupal9 That gave me the latest/recommended version (9.2.7) I then tried to ...
  • 205
0 votes
2 answers
279 views

Getting Cron to run scheduled jobs with Drupal 9 in cPanel

I am trying to setup cron to run job.execute that I have setup in CiviCRM scheduled jobs. Drupal https://docs.civicrm.org/sysadmin/en/latest/setup/jobs/#cron Cron setup¶ In order for the scheduled ...
0 votes
1 answer
72 views

Installing on Drupal 9 - compilation failures and resource url problems (may be related)

I got D9 installed, then set about installing Civi with composer.phar require -W civicrm/civicrm-{core,packages,drupal-8}:'=5.36' (I want to use 5.36, if possible) Things seemed to go OK except the ...
  • 3,748
1 vote
1 answer
56 views

Drupal 9.2 Install error

Drupal 9.2, CiviCRM 5.42 Have read all related issues and followed all patches / notes, including ( but not limited to ) https://github.com/osuosl/snowdrift-civicrm/commit/...
  • 1,471
2 votes
1 answer
133 views

Drupal 9 - CiviCRM Compilation Error

I've installed Drupal 9.2.5 using Composer (version 2.1.8). I am trying to install CiviCRM 5.41.0. I followed the steps in the CiviCRM instructions for installation on Drupal 8/9 using Composer. The ...
  • 51
2 votes
2 answers
267 views

ckeditor + Drupal9 gives 403 Forbidden when browsing server

I migrated a D7 site + civi to Drupal 9. Everything works fine except in the CKEditor when I click on "browse server": I get the error 403 Forbidden. (the URL is MYSITE/libraries/civicrm/...
  • 502
0 votes
1 answer
103 views

CiviCRM Break After Upgrade to Drupal 9.2

I upgraded to Drupal 9.2 in my development environment from Drupal 9.0. We had no problems with this upgrade. However, we have moved the upgrade into our production environment and now we are of ...
  • 825
0 votes
0 answers
30 views

Default Value Used Rather Than Value Selected

I have a Drupal 9 CiviCRM Webform with a Membership field. I added a membership in Civi called "Select Your Membership" and have made that the default membership when a user selects their ...
  • 825
1 vote
1 answer
52 views

No Default With Webform CiviCRM Options Field

I have a couple CiviCRM Options fields on a Drupal 9 Webform. I want to make it so there is no default value. There is an option to choose the default but I have not selected one. The Prefix field ...
0 votes
1 answer
254 views

Upgrade Drupal 7 to Drupal 9

I am upgrading Drupal 7 to Drupal 9 and trying to copy over my CiviCRM database. My Drupal 9 install is fresh. I used the instructions at https://docs.civicrm.org/installation/en/latest/drupal8/ to ...
  • 825
3 votes
1 answer
123 views

Drupal 9 Compilation Install Error

I’m trying get CiviCRM working on a Drupal 9.1.9 test site. I know CiviCRM but not Drupal… I followed this: https://docs.civicrm.org/installation/en/latest/drupal8/ These are the commands I ran to ...
  • 733
2 votes
1 answer
54 views

Fatal error while building CiviCRM breadcrumb

I'm running against a fatal error on an number of CiviCRM pages (stacktrace below). There seems to be a problem with a url that is passed to Drupal\Core\Url::fromUserInput() when building the CiviCRM ...
  • 31
2 votes
2 answers
563 views

Cannot install CIVICRM on Drupal 9

I am trying to install CIVICRM on Drupal 9 as per instruction found here https://docs.civicrm.org/installation/en/latest/drupal9/ When i enter "composer require civicrm/civicrm-{core,packages,...
  • 23
1 vote
1 answer
89 views

CiviCRM Data not showing in Views - Drupal 9, Shared DB

After running into problems setting up Views integration with CiviCRM installed on a separate database, I gave up and started my project over with CiviCRM installed on the same database as Drupal 9. ...
1 vote
1 answer
60 views

Troubleshooting SELECT Privileges Issue with Drupal 9 Views Integration

I'm having an almost identical problem to this person (https://www.drupal.org/project/civicrm_entity/issues/3198146) so I'm hoping to get an answer for both of us. It looks like this may also be the ...
0 votes
1 answer
136 views

How to get Views to work in CiviCRM on Drupal9 with separate CiviCRM database

On based the answers on this question How to get CiviCRM Views to work in Drupal 8 with separate CiviCRM database I'm trying to get work Views on Drupal9. Drupal9 and CiviCRM has different databases, ...
1 vote
0 answers
18 views

VBO (Views Bulk Operations) with civicrm based Views for d8 and d9

Just wondering if anyone has any evidence of this working with d8/d9
  • 27.4k
1 vote
1 answer
147 views

Trying to migrate data from Drupal 7 to new install on Drupal 9

Isn't it possible to just copy tables of contacts, groups, mailings and their related data into the new install? I'm trying to figure out which tables contain essential data on contacts, activities, ...
1 vote
1 answer
78 views

No such file or directory when install civiCRM

i try to install civiCRM on my Drupal 9 local website. I use Mamp 5.5 on Mac. I follow all install information and now I'm hold on this situation: % cv core:install --db="mysql://civicrm_user:...
  • 11
1 vote
1 answer
317 views

How can I run the Drupal 9 Webform CiviCRM unit tests on my local?

D9 Webform CiviCRM now has automated functional javascript testing! How can I run these tests on my local?