Questions tagged [drupal]

Questions about CiviCRM specific to its installation on Drupal but you may be better to use Drupal-7 or Drupal-8 tags in case your issue is version specific

Filter by
Sorted by
Tagged with
0 votes
0 answers
3 views

Undefined constant "DRUPAL_ROOT" In civicrm.settings.php when running cv api job.execute

I'm trying to run cron with cv and I get this error. The site itself loads fine. $ cv api job.execute --user=admin In civicrm.settings.php line 97: Undefined ...
jphelan's user avatar
  • 101
0 votes
0 answers
27 views

Error saving role permissions in Drupal 10

On a fairly fresh installation I deactivated the Events component and get the following error when trying to save Drupal's user permissions: RuntimeException: Adding non-existent permissions to a ...
Jan's user avatar
  • 85
2 votes
1 answer
39 views

Install CiviCRM on Drupal 10 without Composer

I would like to install CiviCRM on Drupal 10. But I use a mutual hosting without Composer. How to do ? It's possible to install without Composer ? Thanks for your help.
Adrien's user avatar
  • 21
3 votes
1 answer
53 views

Drupal 10 requirements status page: CiviCRM tables without a primary key

I am using Drupal version v10.1.6 and CiviCRM 5.67.0. Drupal suggests to use the READ-COMMITTED transaction isolation mode. However, once I switch it on, Drupal complains on the status page: The ...
Gogowitsch's user avatar
0 votes
1 answer
34 views

Unclear on install instructions - D10?

I've been using CiviCRM on Drupal 7 for many years, and it's time to upgrade my Drupal. Drupal 8 went EOL November 2, 2021. Drupal 9 goes EOL November 1, 2023, which is in 12 days. So it looks like ...
Ken Williams's user avatar
0 votes
2 answers
35 views

Mosaico missing templates

With this fresh install, no templates are installed; the civicrm_mosaico_template table has no rows, although www-t1/web/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mosaico/packages/mosaico/...
David Gould's user avatar
1 vote
1 answer
50 views

Upgrade to CiviCRM 5.65.2

Upgrade from CiviCRM 5.60 to 5.65.2 with no annunciated errors or warnings, including db updates. I am using Drupal 7.98. Now getting this warnings in civi status: Warning: Declaration of ...
vrapp's user avatar
  • 41
0 votes
1 answer
33 views

After CiviCRM Security Update, "Call to undefined function watchdog()"

After updating a CiviCRM with Drupal 7 system with the CiviCRM Security Update a PHP script that I wrote throws the following error: PHP Fatal error: Uncaught Error: Call to undefined function ...
emma's user avatar
  • 463
1 vote
0 answers
13 views

5.64.4 - Event Registration price total not displaying

We've just installed version 5.64.4 with Drupal 7 and price totals on event registration forms are no longer displaying if using the Regular Fees options (pre-defined pricesets seem to be working fine)...
Jonny's user avatar
  • 11
1 vote
0 answers
9 views

Bulk email stuck at 'Running'

I have a bulk mailing to 264 addressees which gets stuck at 'Running'. The first time it sent many duplicate emails to 7 users but never made any further progress so was cancelled. It was resubmitted ...
Andy Clark's user avatar
  • 4,720
1 vote
1 answer
47 views

Datepicker issue on Membership and Contribution edit pages

Drupal 10 /CiviCRM 5.64.2 Membership Expiration Date selection is limited to "today" so it is not possible to select a future date (eg. Dec 2023). Possible years selection range is 2013 - ...
yurg's user avatar
  • 1,829
3 votes
3 answers
37 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,935
0 votes
0 answers
13 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
  • 1,829
1 vote
0 answers
13 views

API 4 problem while running composer

everybody. Since the installation of CiviCRM I have problems in composer. Another installation, on the same VPS, is not causing any problems. The website is a Drupal based one (9.5.10) I started it ...
Alessandro Bronzo's user avatar
1 vote
1 answer
41 views

membershiprenewallink can't find membershiptype

everybody Sorry if it's a newbie question, I hope you could help anyway. My site (drupal 9 + civi + php 8.1) is actually working for anonymous users; as soon as a user login the WSoD appears (The ...
Alessandro Bronzo's user avatar
1 vote
0 answers
16 views

How to auto refresh summary screen

When a relationship is added to a contact using the contact summary screen, the tab that indicates the number of relationships doesn't change to indicate the extra relationship. For example, if there ...
Andy Clark's user avatar
  • 4,720
0 votes
0 answers
33 views

Larger Civi mailouts getting stuck

Fairly new to Civi still. Have taken over a Drupal 7 site with Civi. Drupal 7.97 and Civi 5.39 (aware this needs updating). The client sends regular mailouts to anything up to 1000 recipients and this ...
Rob Riley's user avatar
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
1 vote
1 answer
16 views

Installation failure - doesn't to write to database (D7)

I'm unable to install CiviCRM under Drupal 7. This is something I've done dozens of times, to be clear. I install a clean D7 system (7.97 but also tried 7.95), the Civi install runs, I then get the ...
Andy Clark's user avatar
  • 4,720
1 vote
1 answer
22 views

Is it possible to change the output of CRM_Core_Error::debug($form)?

Currently, when I inspect the form structure in CiviCRM using CRM_Core_Error::debug($form), the output is presented as text, which makes it difficult to investigate. I'd like to find a way to make ...
nonono1234's user avatar
0 votes
1 answer
11 views

How can I utilize Drupal hooks for altering and validating forms in place of CiviCRM hooks?

My website is built on Drupal, and I prefer using Drupal hooks over CiviCRM hooks for modifying and validating forms, as I find Drupal modules easier to create and their hooks more user-friendly. ...
nonono1234's user avatar
1 vote
1 answer
32 views

Error: Class "CRM_Dkbrapi_APIWrapper_Attachment" not found in dkbrapi_civicrm_apiWrappers()

This is my first module in CiviCRM and I have the example from the documentation but I can't get it to work. Every time I try to run in CiviCRM API Explorer v3 for attachments I get the following: ...
ItsMe's user avatar
  • 113
0 votes
1 answer
24 views

How to list records from the given custom group via API?

I've custom data stored in custom fields. I've submitted few records as part of the same Contact. I can use the following API to fetch information about custom group by: $result = civicrm_api3('...
kenorb's user avatar
  • 117
0 votes
1 answer
6 views

transfer from wordpress to drupal > profile form not working

My "Sign up for newsletter" form was working on Wordpress. I recently moved to Drupal and now I am getting the error message below. Of the 4 possible errors, the profile is enabled, there is ...
Tom's user avatar
  • 131
1 vote
1 answer
36 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
1 vote
1 answer
26 views

The mysql commands you need to run are stored in

Have got this after the most recent CiviCRM 5.58.1. update on Drupal 7 ( same udate went fine on WP sites ). ConfigAndLog/CiviCRM.trigger63f7a62151e54WPFX4db1365ff9d7f93fb47a7eb13184cce6.sql contains, ...
yurg's user avatar
  • 1,829
1 vote
2 answers
100 views

Problem with path to Mosaico versafix template

After Drupal (9.5.3) and CiviCRM (5.58.1) updates last week, all versafix-based templates are just displaying a blank screen. I had also updated Mosaico to the latest, but reverting to the version in ...
kathc's user avatar
  • 125
1 vote
5 answers
265 views

Upgrade error = API error: Value already exists in the database on ReportTemplate.create

I've had the above error on a couple of upgrades recently - one was an upgrade to 5.57.3 on a test system and another when upgrading the 'Report Plus' extension (see below). In both cases the upgrade ...
Andy Clark's user avatar
  • 4,720
1 vote
0 answers
26 views

Using Drupal Language Switcher Causes CiviCRM to Fail on Membership Registration Page

We have a membership page that can be accessed in either Spanish or English. If you go to the English or Spanish page with its direct URL the page works as expected. It even works if you use the ...
Drupal Learner's user avatar
0 votes
1 answer
40 views

How to enable a specific role to edit own content in CiviCRM Contact Form?

How to allow a specific Drupal role to modify its own content in the CiviCRM Contact form (civicrm-contact/%user)? I don't see any permissions like "edit own content" for type nodes in admin/...
Jipi's user avatar
  • 21
0 votes
0 answers
12 views

CiviCRM Toolbar Missing With Errors

I have recently upgraded to CiviCRM 5.56.1 with some other updates while fixing some composer issues that the people on this board helped me with. I am no longer able to see the CiviCRM Toolbar I ...
Drupal Learner's user avatar
1 vote
1 answer
141 views

Serialization of 'Closure' is not allowed at classloader.php

After installing the latest version of CiviCRM (5.56.1) I cannot open my website anymore and log is showing this message: Got error 'PHP message: Uncaught PHP Exception Exception: "Serialization ...
Stefaan H's user avatar
2 votes
1 answer
63 views

PHP Cannot Find File From Vendor Directory

After upgrading to PHP 8 (8.0.25) my CiviCRM install fails to be able to find /var/www/user/web/vendor/civicrm/civicrm-core/install/langs.php. This happens whenever I try and go to a /admin* page in ...
Drupal Learner's user avatar
2 votes
1 answer
50 views

Extensions require database update, Not able to use Mailing,

I'm on the latest versions of Drupal (9.4.8) and CiviCRM (5.55.1) and I'm using Composer to install/update. Although consulting data from CiviCRM is working fine, I do have a couple of issues: ...
Stefaan H's user avatar
1 vote
2 answers
30 views

How to target Drupal CSS Injector rule at a CiviCRM profile, using query string paramters

I want to target a Drupal CSS Injector rule at a specific Civi profile, using the query string parameter that identifies the profile. There is a section in the CSS Injector dialogue 'Add the CSS on ...
Tom Rosenbloom's user avatar
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,644
1 vote
1 answer
22 views

Drupal/Civi Groups and Memberships

I've just taken over a Drupal 7 site running Civi. I'm very Drupal literate but new to Civi. Since moving the site to a new host everything appears to work but users' groups and memberships don't ...
robriley78's user avatar
1 vote
1 answer
115 views

Upgrade to 5.54 failed

Grouping by month in 5.54's Search Kit is something I noticed & would like, so I launched the upgrade on my test system to 5.54. However the upgrade from 5.53.0 to 5.54 failed as follows: "...
Andy Clark's user avatar
  • 4,720
2 votes
3 answers
216 views

Drupal user link to contact

Fairly basic, where is the link between the drupal user and the contact stored ? I have drupal user accounts which have linked to the incorrect civicrm contact. The reason is that we have cases in ...
Simon Moseley's user avatar
1 vote
1 answer
44 views

Drupal 9 and CiviCRM 5.53, but jQuery is still 1.12.4

I am using Drupal 9 and have successfully updated to 5.53 per security advisory however libraries/civicrm/core/bower_components/jquery/dist/jquery.min.js is still showing v1.12.4 Why is this, and how ...
CiviTeacher's user avatar
1 vote
1 answer
34 views

Can 'Quick Search' be removed for certain users?

Users don't want Quick Search to be available for certain users. Quick Search isn't available in the Navigation Menu, as one possibility was to use a permission to remove access. We use ACLs and these ...
Andy Clark's user avatar
  • 4,720
1 vote
0 answers
46 views

CiviCrm installation error on Drupal 9

After installation of the 'drupal/civicrm_entity:^3.3'. I got error 500. When I tried "update.php" get the following error. Warning: require_once(DB/DataObject.php): failed to open stream: ...
Rdb's user avatar
  • 11
1 vote
1 answer
44 views

SMTP password deletes itself from Outbound Email settings

I am configuring the latest version of CiviCRM (Drupal) to use Mailgun as an external SMTP service. When I go to Administer > System Settings > Outbound Email, enter the SMTP credentials, and ...
selfagency's user avatar
2 votes
1 answer
146 views

Adding custom fields to a Drupal webform?

I'd like to create a survey via Drupal form asking supporters to note which issues they are most interested in. We have set up a custom fields with this question and a list of assorted answers. ...
dsr86's user avatar
  • 31
2 votes
3 answers
133 views

Configuration page for newly installed SparkPost extension error: Cannot decrypt token. Invalid format

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 ...
Christia's user avatar
  • 2,457
0 votes
1 answer
62 views

Drupal Clean URL disable breaks CiviCRM

In addition to this question: disabling Clean URLs in Drupal [7.90] somehow breaks CiviCRM resources load with cryptic errors in Dev Console: Error: CRM.url called before initialization Common.js?...
yurg's user avatar
  • 1,829
1 vote
1 answer
201 views

Error: [ng:btstrpd] App already bootstrapped with this element '<crm-angular-js modules="crmDashboard">'

Getting this Error: [ng:btstrpd] App already bootstrapped with this element '<crm-angular-js modules="crmDashboard">' on Dashboard with the only "CiviCRM News" ...
yurg's user avatar
  • 1,829
0 votes
1 answer
55 views

Database Connection Only Works Some of the Time

I have a CiviCRM instance that has its database hosted in RDS Aurora. This has worked well for several years. Recently I needed to restore from a copy of the Aurora cluster and I changed the name of ...
Josh's user avatar
  • 857
1 vote
1 answer
44 views

Clean URLs are a little bit too clean

Drupal 7.9, CiviCRM 5.51 ( recently partially updated from v.4.7 ). Something overrides CiviCRM URLs in the menu: instead of &contribute?reset=1 it comes as contribute_reset_1 Drupal .htaccess ...
yurg's user avatar
  • 1,829

1
2 3 4 5
23