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
1 vote
0 answers
7 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 ...
0 votes
1 answer
28 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/...
  • 21
0 votes
0 answers
9 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 ...
1 vote
1 answer
31 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 ...
2 votes
1 answer
28 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 ...
2 votes
1 answer
34 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: ...
1 vote
2 answers
25 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 ...
0 votes
0 answers
19 views

How to protect civicrm Ajax endpoints?

How to protect civicrm Ajax endpoints ? We use stripe payment processor and there are huge credit card spam coming in. Firewall extension is not working so well for us. Any help would be much ...
2 votes
1 answer
39 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,310
1 vote
1 answer
17 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 ...
1 vote
1 answer
102 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: "...
  • 4,463
2 votes
3 answers
143 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 ...
1 vote
1 answer
37 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 ...
1 vote
1 answer
26 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 ...
  • 4,463
0 votes
0 answers
20 views

Cannot declare class CRM_Core_ClassLoader, because the name is already in use

I have just upgraded to Drupal 9.4.7 after successfully checking that CiviCRM and Drupal were working on PHP 8 (8.0.20). I am running CiviCRM 5.51.1. When I run the command drush updb I get the ...
  • 835
1 vote
0 answers
26 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: ...
  • 11
1 vote
1 answer
26 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 ...
2 votes
1 answer
65 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. ...
  • 31
2 votes
3 answers
118 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 ...
  • 2,457
0 votes
1 answer
45 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?...
  • 1,521
1 vote
1 answer
122 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" ...
  • 1,521
0 votes
1 answer
32 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 ...
  • 835
1 vote
1 answer
40 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 ...
  • 1,521
1 vote
1 answer
14 views

Event roles in Drupal webform

I would like to allow only one contact to sign up for a specific role in an event, using the Drupal 7 webform. The role is 'Team Lead' and obviously there should only be one of those! The other role ...
  • 4,463
1 vote
0 answers
29 views

Google Search Console flagging certain events as invalid

Recently I checked my Drupal 7 site (CiviCRM 5.48.2) on Google Search Console and noticed that there were 12 pages listed as invalid. They all had the same two errors: 'Missing field "fn" (...
2 votes
0 answers
24 views

Drupal contextual filters and Civi Arrays

I'm trying to work out how to use a Drupal contextual filter on a Civi field that holds an array. So the filter seems like it can search for table.field = 'value1' and it can search for table.field IN ...
  • 53
2 votes
1 answer
28 views

Reimport users after migration to Wordpress

We're in the process of migrating from Drupal to Wordpress. The initial migration went without a hitch and we're now setting up new contribution forms in the new site. The plan is to reimport the ...
1 vote
1 answer
62 views

drupal 9 error guzzle

after installing civicrm 5.49.3 via composer on drupal 9.3.14, I have a problem with GuzzleHTTP. Can you advise me on how to fix this problem. The website encountered an unexpected error. Please try ...
1 vote
1 answer
23 views

Need Membership Chair to access CiviCRM Memberships, Treasurer to access Contributions. On Drupal

In Drupal we have various roles set up for the Membership Chairperson, the Treasurer, and other committees. We are trying to give access to these same functions through CiviCRM, not Drupal. Our Drupal ...
0 votes
0 answers
29 views

Postcode Lookup in civi crm

After install Postcode lookup civi crm extension in Drupal7 the City field in the web form not filled up with data. In the same webform Street Address field works fine
  • 1
1 vote
2 answers
65 views

Error: Certificate Authority file is too old. ..\modules\civicrm\vendor\totten\ca-config\src\CA\Config/cacert.pem

Today we wanted to access our civicrm site which is hosted within a bitnami stack but we receive the following error: Certificate Authority file is too old. Please contact the system administrator. ...
  • 13
2 votes
2 answers
49 views

Webform event registration confirmation email

We are just starting to use Webform to register users for a specific event. When the confirmation email is sent, we would like to have the event information (name, date, location) in the email. Can ...
  • 315
0 votes
0 answers
15 views

How can I publish a searchable directory of contacts on a remote WP site?

I want to separate a CiviCRM installation from the public-facing WP site, and run it separately with Drupal 8. I can see how I can put a mailing list sign-up form on the WP site and have the data ...
  • 3,813
1 vote
2 answers
77 views

CRM_Core_Error DB Error: extension not found

I'm taking over a project that uses Drupal 7 and CiviCRM (circa v4.3). When I add civicrm.settings.php the site crashes and I get this error message: Initialization Error Array ( [callback] => ...
user avatar
2 votes
1 answer
76 views

Make a SearchKit viewable with minimal permissions

I have a SearchKit that is based on the Participants table. I created a table display that allows the user to see basic information on the participants (name, home city/state, participant status). ...
  • 315
0 votes
1 answer
102 views

Is it possible to pre-fill a checkbox field using URL parameters? Fields are from CiviCRM

Looking for tips on how to pre-select a checkbox (or anything besides a textfield) in a webform using URL parameters. We have pre-filled a textfield with URL params. We also found this article that ...
  • 315
0 votes
1 answer
66 views

How to hide these 'deprecated' type messages when implementing PHP 7.4?

Having just upgraded a site to 5.47.2 and noting that PHP 7.4 is recommended I rashly took this seriously :) and ended up with 3 messages that splat themselves over the top of the majority of screensm ...
  • 4,463
2 votes
1 answer
31 views

CiviCRM database restore fails on new server

We are attempting to move off an old machine and onto a new but restoration of CiviCRM constantly fails with the error: Sorry, due to an error, we are unable to fulfill your request at the moment. You ...
0 votes
2 answers
15 views

Template for changing text on membership confirmation

There's this text that shows on the membership confirmation page that says: "Select a Membership Level" It looks odd since you're not selecting anything on this page, it's just the ...
1 vote
1 answer
2k views

Why am I getting deprecated function warnings?

When I run updates (such as with an updated module) in Drupal (7.87), I get the following CiviCRM (5.46.2) related warning: User deprecated function: Deprecated function CRM_Contribute_PseudoConstant::...
0 votes
0 answers
8 views

405 nginx error with longer running tasks in Civi

I maintain a number of Civi installs, all Drupal 7 & all running on a shared server. On one of them any longer running task, like an extension update or uploading contributions, invariably results ...
  • 4,463
1 vote
1 answer
32 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 ...
  • 835
0 votes
0 answers
18 views

"Current and Upcoming Events" is missing and trying to ICalendar.tpl.php file that does not exist

Ive been thrust into trying to help a buddy fix his civicrm deployment and I cannot find a way to generate this template necessary to populate that page. Looking at the errors it is looking for the ...
1 vote
1 answer
29 views

migrate Civi data from Drupal to Joomla

I am getting ready to migrate a Drupal 7 site running CiviCRM 5.44 to a Joomla 3.10.4 site running CiviCRM 5.44 for Joomla. Can someone point me to directions for doing this migration of Civi for ...
1 vote
2 answers
83 views

Recording simple offline contribution

I'm using CiviCRM with Drupal to develop an internal (non-public) donor management system. Everything was coming together nicely until I began trying to create a simple block to record an offline ...
  • 11
0 votes
1 answer
28 views

Why no ConfigAndLog or Templates_C folders on my test system

I've recreated my 5.35.2 test system (several times!) on Drupal 7, using the default directories. All is working OK but there isn't a ConfigAndLog or a Templates_C folder. The 'View Log' extension is ...
  • 4,463
1 vote
0 answers
25 views

Get Drupal View to Display Label from Numeric Custom Select Field

I have a custom field in Civi that is a numeric select field. The select field values are numeric but the associated labels are text. I have created a Drupal view that displays the select field but it ...
  • 912
1 vote
1 answer
118 views

drush error message: CiviCRM: System: Please specify a realistic site URL (Ex: drush -l http://example.com:456 ...)

After upgrading Drupal from 8.9 to 9.2 for several weeks I always get following error message when I use the command drush upgradedb CiviCRM: System: Please specify a realistic site URL (Ex: drush -l ...
  • 11
1 vote
1 answer
59 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,521
2 votes
1 answer
139 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

1
2 3 4 5
22