Questions tagged [drupal-9]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
29 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/...
user avatar
1 vote
1 answer
40 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 -> ...
user avatar
0 votes
1 answer
34 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?
user avatar
1 vote
1 answer
18 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 ...
user avatar
1 vote
1 answer
28 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 ...
user avatar
  • 837
1 vote
1 answer
21 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 ...
user avatar
  • 783
0 votes
0 answers
13 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 "...
user avatar
  • 21
2 votes
0 answers
31 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 ...
user avatar
  • 1,139
0 votes
2 answers
145 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 ...
user avatar
  • 13
0 votes
2 answers
58 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::...
user avatar
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 ...
user avatar
  • 1,157
0 votes
1 answer
57 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 ...
user avatar
  • 195
0 votes
2 answers
129 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 ...
user avatar
0 votes
0 answers
13 views

How to control order of added CSS stylesheets in Drupal 9 (And probably D8)?

I've found I can add CSS to pages like so: /** * Implements hook_civicrm_coreResourceList(). */ function MYEXTENSION_civicrm_coreResourceList(&$items, $region) { if (!CRM_Aah::isActive()) { ...
user avatar
  • 3,688
0 votes
1 answer
48 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 ...
user avatar
  • 3,688
1 vote
1 answer
46 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/...
user avatar
  • 1,350
2 votes
1 answer
107 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 ...
user avatar
  • 51
2 votes
2 answers
174 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/...
user avatar
  • 457
0 votes
1 answer
80 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 ...
user avatar
  • 783
0 votes
0 answers
29 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 ...
user avatar
  • 783
1 vote
1 answer
39 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 ...
user avatar
0 votes
1 answer
166 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 ...
user avatar
  • 783
3 votes
1 answer
93 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 ...
user avatar
  • 733
2 votes
1 answer
49 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 ...
user avatar
  • 31
2 votes
2 answers
449 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,...
user avatar
  • 23
1 vote
1 answer
76 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. ...
user avatar
1 vote
1 answer
52 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 ...
user avatar
0 votes
1 answer
110 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, ...
user avatar
1 vote
0 answers
17 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
user avatar
  • 27.2k
1 vote
1 answer
115 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, ...
user avatar
1 vote
1 answer
71 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:...
user avatar
  • 11
1 vote
1 answer
273 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?
user avatar