Questions tagged [drupal-9]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
25 views

CiviCRM Cannot Find Class

I am trying to move CiviCRM and Drupal to a new server. Everything looks to me like it should be right. I know that Drupal can connect to its database and is able to run simple drush commands. ...
Josh's user avatar
  • 867
0 votes
1 answer
39 views

How to create a CiviMember 'Members only' area

I have a requirement to create a specific 'Download' area for certain Civi memberships. We are using Drupal 9 with latest CiviCRM (5.66) The usecase is that members can login and get a tab or some ...
ChumKui's user avatar
  • 735
2 votes
0 answers
23 views

ckeditor5 not saving images in civicrm / Drupal9

This is a fresh install of a site which I've migrated data to from an outdated Drupal7/civi site we've used for years. I've installed Drupal-9 using Composer and civicrm (5.64) as well and am using ...
Alan McColl's user avatar
3 votes
3 answers
44 views

Why does Drupal 9 complain when my CiviCRM cron runs?

I have a D9/Civi site and the main Civi cron is set up to run every 5 minutes using cv : /usr/local/bin/cv api job.execute --user=xxx --cwd=/home/xx/sites/default/web --quiet The cron job runs, but I ...
Graham's user avatar
  • 3,965
0 votes
0 answers
21 views

Drupal 9 contribution page url alias access denied

Drupal 9.5.10, CiviCRM 5.61.4. Anonymous user can access domain.tld/civicrm/contribute/transact?reset=1&id=20 but not its alias domain.tld/subs created via domain.tld/admin/config/search/path ...
yurg's user avatar
  • 2,005
0 votes
1 answer
23 views

"DB Error: no database selected" error if Outbound Mail SMTP username contains @

cross-related: Sender email converts from [email protected] to [email protected] The title says it all: saving Outbound Mail settings with SMTP username containing "@", ...
yurg's user avatar
  • 2,005
0 votes
0 answers
14 views

Sender email converts from [email protected] to [email protected]

related to this one "DB Error: no database selected" error if Outbound Mail SMTP username contains @ Happens while testing mailings on a simple fresh CiviCRM setup - there are no extra ...
yurg's user avatar
  • 2,005
0 votes
0 answers
8 views

Drupal 9 doesn't parse DSN via drush

We ran into an issue and I'm curious if others have as well. We are running CiviCRM (5.61.4) on Drupal 9. Our DB is hosted on a different server from the application. From the UI, Civi is working fine....
lcdservices's user avatar
2 votes
1 answer
53 views

CiviCRM in a separate database keeps testing the Drupal database on update

I've installed Drupal (9) and CiviCRM (5.59) in separate databases using drush site:install and cv core:install in that order. The drupal database connection is set in settings.php, and the civi ...
commonpike's user avatar
  • 1,181
0 votes
0 answers
22 views

Documentation for Drupal 9 Views Advanced Relationship usage

Looking for documentation on D9 Views integration using advanced relationship features. Finding it difficult to determine which outcomes are a result of not understanding the various id joins and ...
Dave T's user avatar
  • 1,239
1 vote
1 answer
61 views

Create User Record action on a Contact summary page throws error. Is this a bug?

This is with CiviCRM 5.60.0 on Drupal 9.5.5. On the Contact Summary page there is an action to "Create User Record" When this is clicked it gives an error: After this the system shows the ...
user avatar
1 vote
1 answer
38 views

Enable CiviCase component programatically

I am working with CiviCRM 5.59.3, and a drupal module that integrates with CiviCase. How can I check if the CiviCRM component is enabled and enable it if it is disabled? I need to do this with php.
Binary Alchemist's user avatar
0 votes
1 answer
19 views

Error saving CiviCrm profile card in Drupal's user area

everybody. I have an error every time that an existent user saves the contact profile data in drupal, associated to civicrm fields. The Drupal's user data are updated correctly. The error is a bad one ...
Alessandro Bronzo's user avatar
0 votes
1 answer
64 views

DDEV, Drupal 9, CiviCRM & Civix Installation

Thanks is advance. I am using DDEV with Drupal 9.5.2 and CiviCRM 5.57.2 I would like to use civix to look at custom reports. Any advice on how to install it? I've look at the documentation but most of ...
Aristeidis Koliopoulos's user avatar
2 votes
1 answer
35 views

Is it intentional that the CiviCRM public theme always the same as the CiviCRM Administration theme for administrators?

I notice that the theme Administrators of CiviCRM get is that set for Administration, even if they are in a public part of CiviCRM, e.g. CiviCRM Home. Is this intentional?
Stephen Palmstrom's user avatar
1 vote
1 answer
204 views

With the deprecation of Bartik under Drupal 9.5.x, what theme is recommended for CiviCRM?

Drupal 9.5 has deprecated the Bartik and Seven themes and replaced them with Olivero and Claro as the public and administrator themes respectively. Olivero has various drawbacks, so I want to use ...
Stephen Palmstrom's user avatar
2 votes
1 answer
88 views

Angular is being loaded twice after 5.56 update Civi menu won't load

Have already cleared cache several times and tried different browser. This message appears twice in browser Console and menu won't load after update from 5.51 to 5.56 on D9. Menu was working before ...
CiviTeacher's user avatar
1 vote
0 answers
23 views

web import fails because of empty "name" column in "civicrm_user_job" table

Drupal 9x, CiviCRM 5.56.0. Getting "Cannot execute queue "user_job_XXX". There is no associated UserJob." while contacts import from csv ( civicrm/import/contact?reset=1 ) Perhaps ...
yurg's user avatar
  • 2,005
0 votes
1 answer
21 views

Conditional Allow Contacts to create or add a new case

CiviCRM Noob here... I have the requirement to allow for contacts/individuals to file a request for benefit. I have a case and timeline created. My question is how does the contact initiate the case ...
Eldon Leeburstroghm Allison II's user avatar
2 votes
1 answer
20 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.. ...
Eldon Leeburstroghm Allison II's user avatar
2 votes
2 answers
662 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 ...
Eldon Leeburstroghm Allison II's user avatar
1 vote
1 answer
14 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 ...
Eldon Leeburstroghm Allison II's user avatar
0 votes
1 answer
38 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 ...
Luke Stewart's user avatar
  • 1,855
2 votes
1 answer
44 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 ...
Alan Dixon's user avatar
  • 6,766
0 votes
1 answer
19 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.
Dave T's user avatar
  • 1,239
1 vote
1 answer
82 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/...
Ryan Jarvis's user avatar
1 vote
1 answer
70 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 -> ...
Wouter H.'s user avatar
0 votes
1 answer
166 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?
Dharan Gokul R's user avatar
1 vote
1 answer
88 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 ...
cjar-290's user avatar
1 vote
1 answer
41 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 ...
Ben's user avatar
  • 944
1 vote
1 answer
70 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 ...
Josh's user avatar
  • 867
1 vote
1 answer
21 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 "...
6jam's user avatar
  • 31
2 votes
0 answers
50 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 ...
Dave T's user avatar
  • 1,239
2 votes
2 answers
621 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 ...
Tony's user avatar
  • 33
0 votes
2 answers
248 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::...
Stephen Palmstrom's user avatar
1 vote
1 answer
28 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 ...
commonpike's user avatar
  • 1,181
0 votes
1 answer
92 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 ...
salah-1's user avatar
  • 205
0 votes
2 answers
427 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 ...
sushichris's user avatar
0 votes
1 answer
130 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 ...
artfulrobot's user avatar
  • 3,920
1 vote
1 answer
69 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/...
yurg's user avatar
  • 2,005
2 votes
1 answer
166 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 ...
PaulC's user avatar
  • 51
2 votes
3 answers
635 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/...
AlainB's user avatar
  • 542
0 votes
1 answer
120 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 ...
Josh's user avatar
  • 867
0 votes
0 answers
40 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 ...
Josh's user avatar
  • 867
1 vote
1 answer
84 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 ...
Steve's user avatar
  • 137
0 votes
1 answer
369 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 ...
Josh's user avatar
  • 867
3 votes
1 answer
164 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 ...
jimcrist's user avatar
  • 733
2 votes
1 answer
69 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 ...
cray146's user avatar
  • 153
2 votes
2 answers
726 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,...
Jaizal's user avatar
  • 23
1 vote
1 answer
127 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. ...
Austin Zumbro's user avatar