Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [drupal]

Questions about CiviCRM specific to its installation on Drupal.

2
votes
2answers
18 views

(Part solved) Missing line items on event invoice and confirmation email for Event (using Webform CiviCRM)

Drupal7 / Civi5.12 I have created a webform for event bookings, using webform_civicrm. The webform uses Participant Fee for the exhibition cost, and a Line Item for an additional booking fee. Can ...
2
votes
0answers
13 views

CREATE TEMPORARY TABLE fails on UNION (diff number of columns)

I've got CiviCRM 5.10.4 running on Drupal 7.65, and one particular function ("Subscriber Donor Report") is blowing up on an underlying SQL error. I turned on debugging, and following is what I see. ...
0
votes
1answer
20 views

Is there a best practice or recipe for migrating a two database CiviCRM installation into one database?

I am replicating a Drupal 7 CiviCRM installation into a Pantheon CiviCRM Kickstart site. I have gone through the tedious effort of moving the Drupal content and settings from a default Drupal profile ...
1
vote
1answer
28 views

How to create tokens for custom fields (participant, individual, organisation)

Drupal 7, Civi 5.12 I have created custom fields for civievent bookings (to be used for Participants, Individual, Organization). Is there an easy way for a non developer to create tokens for these ...
1
vote
1answer
20 views

Is it possible to find out who installed an extension update?

One of my clients had the API v4 extension updated to 4.3.0 last evening, and so today the contact summary screen was broken - because the API extension isn't compatible with the contact summary ...
1
vote
2answers
19 views

(Solved) CiviEvent mandatory key missing error

Drupal 7, Civi 5.12: On submitting a live event booking I receive the following error: Mandatory key(s) missing from params array: one of (activity_name, activity_type_id, activity_label) The ...
0
votes
2answers
23 views

Any reason why an organisation should NOT register for an event?

I have a draft webform set up to allow an organisation to register for an event (for an exhibition stand booking). Is there any reason NOT to do this? Civi 5.11, Drupal 7.
1
vote
2answers
53 views

By mistake manually entered a recurring donation under the wrong account

By mistake manually entered a recurring donation under the wrong account. Basically I have two users same name. So By confusion add recurring on wrong account. SO Now i want to move it from one ...
0
votes
1answer
14 views

How to set a permission using drupal ALC?

I am developing a extension. I want to provide a permissions using drupal. I am using following hook for creating a permission hook_civicrm_permission(&$permissions); But, how to do that (means ...
0
votes
0answers
12 views

CiviRules email says it's been delivered, but it hasn't delivered / says it's from “Unknown Sender”

Using: CiviCRM 5.10.4 Drupal 7.65 E-mail API (org.civicoop.emailapi) 1.19 API v4 (org.civicrm.api4) 4.3.0 CiviRules (org.civicoop.civirules) 2.5 I've just input a new CiviRule with the following ...
2
votes
2answers
34 views

(Solved) Undefined function in webform_civicrm

Drupal 7, Civi 7.x-5.11.0 I've installed the latest webform module and the most recent webform_civicrm from Github. I'm getting the following error when submitting or trying to access webform ...
2
votes
1answer
26 views

Deprecated function in CiviEvent error logging (Drupal 7)

Running Civi 5.10.4 and Drupal 7.65. One of our staff reported that they received an error message when they tried to send out a mailing to attendees at one of our events, through CiviEvent > Email ...
1
vote
1answer
31 views

CiviCRM upgrade can't find core module in Drupal

I'm trying to run a civicrm core module upgrade on a drupal 7 site. I follow all of the posted instructions, but when I run the civicrm/upgrade I get a white screen. When I return to the drupal ...
1
vote
0answers
22 views

Deadlock when executing job to clear group cache

We have had issues where we can't send a mailing. Trying to send a test mailing gets stuck on "saving". I attempted to run the job to flush the smart group cache and the job log reports that it ...
1
vote
0answers
17 views

Street number doesn't change in CiviCRM after filling out Drupal Form

Street number doesn't change in CiviCRM after filling out Drupal Form. Street name does change but street number does not, when someone changes his/her address in the Drupal form, connected to ...
3
votes
0answers
50 views

Some users get a lifetime membership message when they try to renew

We have a rolling, one year membership set up and users can renew it manually. We do not have auto-renew set up and until we started hearing about this issue, didn't even know how to set up a "...
0
votes
0answers
24 views

BAD_INPUT_ERROR using paypal express with webform but contribution page works

I'm trying to set up a contribution webform with paypal. I've created a payment processor using paypal express, with sandbox details, and assigned it to a contribution page. I can make a test ...
0
votes
0answers
25 views

Using Contact API v4 with anonymous Drupal user

When using the email API to pull contact data, we need to have permissions to administer CiviCRM. How can I alter these permissions to allow anonymous users to make the API call? I'm using API v4. ...
1
vote
1answer
20 views

How to fix it? By pressing “Print Summary”, there are 2 extra blank pages printed

By pressing "Print Summary", there are 2 extra blank pages printed. One of them is before the content and the other is after. How can I make them disappear? I'm using CiviCRM version 5.10.4. Thanks.
1
vote
0answers
29 views

SMTP Problem - CiviCRM and Drupal

Using Drupal 7.63 Using CiviCRM 5.9.1 My system had been working fine and I'm not sure what happened except that something in server updates may have broken SMTP. My last bulk mailing went fine ...
0
votes
1answer
24 views

How to fix it? By pressing “Print Summary”, there are extra 2 blank pages printed

By pressing "Print Summary", there are extra 2 blank pages printed. One of them is before the content and the other is after. How can I make them disappear? I'm using CiviCRM version 5.10.4. Thanks.
1
vote
2answers
25 views

What's the problem with API V4 update to 4.3?

I just (rashly) installed API V4.3 extension & can no longer browse contacts!!? After a search and clicking the contact I got the following screen. Rather fundamental! I've raised this as an ...
0
votes
0answers
7 views

Running ./civicrm/install/index.php gives blank screen

Tried suggestions in Getting permission error when installing CiviCRM under Drupal But without success. Drupal 7.41 and CiviCRM 5.10.4 on hosted linux
1
vote
0answers
19 views

CiviCRM Email seems not working

I am using CiviCRM 5.9.1 on Drupal 7.56, and on a pantheon server, we use mail() for our outgoing mail. And it is giving an error after sending a test email. Please refer the screenshot I have ...
0
votes
1answer
29 views

Error on updating contact after upgrade to CiviCRM 5.10.3

After upgrade to CiviCRM 5.10.3 (Drupal 7, php 5.64) I can do AJAX edits like view and edit address, but if I edit a contact and save them normally, I get Fatal error: Uncaught CRM_Core_Exception: [0:...
1
vote
1answer
22 views

Can't see events

After recent update (I think to 5.10.2) events don't show up. Interestingly, I can see the pager (1 2 next last) but not the events themselves. I can see the events in the Event Dashboard. When I try ...
1
vote
0answers
12 views

How can I transfer ACL settings?

I want to transfer ACL settings from one site to an other. How can I export/import ACLs via SQL? Or is there any other way to do so?
1
vote
1answer
40 views

How can I safely revert to earlier version of CiviCRM without reverting the database?

I am using Drupal 7.64. Everything was working fine on my site with CiviCRM 5.10.2. I upgraded to 5.10.3 and two days later discovered that it broke an event registration page that relies on the ...
1
vote
1answer
26 views

How to install CiviCRM patch (5.7.2 to 5.7.5) on Drupal 7.64 - is my file directory writeable?

Currently running Drupal 7.64 and got a notification that I need to install a security patch on CiviCRM. Currently running CiviCRM 5.7.2 and need to install 5.7.5. Apologies in advance if this ...
4
votes
1answer
34 views

Can you restrict Shoreditch from injecting CSS on Public pages with CiviCRM content?

As the title says - can you restrict Shoreditch from injecting CSS on Public pages with CiviCRM content? For example - do a fresh install of Drupal, CiviCRM and Shoreditch - choose any public theme - ...
3
votes
3answers
118 views

Contribution form

On the form I've created it doesn't give U.S. states as options in drop down menu. http://www.unitybuffalo.org/civicrm/contribute/transact?reset=1&id=4
1
vote
1answer
51 views

Why does Stripe 5.2 extension hang on payment?

After completing the payment screen and clicking 'Confirm Contribution' the screen hangs. The button is greyed out but nothing happens. But...if I just hit enter on the screen without first ...
2
votes
3answers
35 views

Allow only existing CiviCRM contacts to create own Drupal account

We're building a site which will have certain content pages accessible only to logged in Drupal users. I'd like users to be able to create their own Drupal accounts with access to those pages, but ...
2
votes
2answers
21 views

Searching for users by Total Contributions (CiviContribute, Drupal7)

I process donations on a third party site and would like to import these records to CiviContribute. I've imported each donation as a separate contribution, e.g. Peter has made a donation on 14/01/19 ...
1
vote
1answer
37 views

Mosaico 1.1 - “Unexpected error talking to server” when saving template

Just installed Mosaico 1.1 for CiviCRM 5.7.2 on Drupal 7. Tried to make a dummy template and hit the save button but received an error saying "Unexpected error talking to server - contact us!" It ...
0
votes
0answers
18 views

I want to show holidays in fullcalendar Civicrm Event?

I need to show holidays in the Civicrm Event in fullcalendar extension. https://github.com/osseed/com.osseed.eventcalendar How can I show holidays in the calendar and restrict user from adding event ...
2
votes
1answer
35 views

Cannot Tags and Groups fields in Webform CiviCRM Integration - Drupal 8

I try to create a contact in CiviCRM 5.9.1 with a Webform and Webform CiviCRM Integration (all in Drupal 8.6.7), But when I choose the needed fields in CiviCRM and I use the ENABLE TAGS AND GROUPS ...
1
vote
0answers
20 views

Bug in Drupal Profile for CiviCRM

We have on a Ubuntu 18.04LTS server, Drupal 7.63 (latest) with CiviCRM 5.7, PHP 7.1.20, MySQL 5.7.23. We have a profile form called User Profile that is only used for View/Edit Drupal User Account. ...
1
vote
3answers
55 views

CiviEvent: Could not find valid value for id (Drupal 7.6.1)

Using CiviCRM 5.7.2, using Drupal 7.61. I thought I had fixed this error but it looks like my fix has created another problem... or at least another error has decided to appear. This is an ...
3
votes
1answer
70 views

What's the correct webhook for Stripe 5.2 extension?

I can't find any documentation for the latest Stripe 5.2 extension and I've setup the webhook as 'https://www.example.com/civicrm/payment/ipn/1' - I have setup Stripe as the only payment processor ...
0
votes
0answers
18 views

Webform Event Registration Match Contact

I have created a webform (Drupal) for people to register for an event. I am trying to avoid creating duplicate individuals if they already exist in Civi when they register, but at the moment whenever ...
0
votes
1answer
36 views

KC Finder - Uploading/browsing the images not working in CiviCRM 5.9.1

I am using CiviCRM 5.9.1 and Drupal 7.6 I am creating a new event. adding the image to it by using CKEditor. when I tried to browse images/ upload the image. The error is coming. Please refer to the ...
1
vote
1answer
23 views

DB Error on contribution form unless signed in

On one of our contribution forms for users to sign up and pay for a membership, we are getting a DB Error. Here is a screenshot of the contribution form so you can see where they are urged to create ...
0
votes
2answers
34 views

How to create a custom filter in CiviCRM manage event page?

How can I add a custom field (stored as a field in Drupal db) under Manage Events page ,which will be displayed as dropdown. Event Status with values Pending or Approved. How can I alter the filters ...
1
vote
0answers
17 views

Post upgrade to 5.8, Javascripts running in Drupal are failing with CRM is not defined

Both on drupal blocks where references to CRM.$ are used and in custom javascripts that call CRM.api3, the scripts are failing and displaying an Uncaught Exception: CRM is not defined. Everything ...
1
vote
2answers
22 views

getting this error: PDOException: SQLSTATE[23000]

After installation I am getting this error: PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'civicrm_handler_field_custom_file-class' for key 'PRIMARY': INSERT ...
1
vote
1answer
28 views

Unable to update participants using civicrm api?

Instead of updating the Participant,its creating new participant.I need to change participant status from registered to attended and vice versa. civicrm_initialize(); $result = civicrm_api3('...
5
votes
2answers
47 views

How to add new membership if renewed after old membership expired (native CiviCRM / Drupal)

Consider this: Wilma becomes a member on 1 Jan 2016, but does not renew at the end of the year. (so throughout 2017, 2018, Wilma is not a member) Wilma joins again in Jan 2019. According to the ...
1
vote
0answers
22 views

I am adding crmButton in the template for EventInfo.tpl , how can I add drupal callback function and makesure it does not breaks as is the case here?

{crmButton p='drupal/event-workflow/$uid/$gid' q="action=browse&reset=1&gid=$gid" icon="th-list"}{ts}Request for Approval{/ts}{/crmButton} Where I have defined $uid and $gid variables in ...
1
vote
2answers
42 views

“CiviCRM Upcoming” block displaying old events

Currently running Drupal 7.61 with CiviCRM 5.7.2. We have the "CiviCRM Upcoming" block enabled in our sidebar, however it continues to display events after their start date. I've been fixing this by ...