Questions tagged [civicrm]

CiviCRM helps organizations grow and sustain strong relationships over time.

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

"[message] => DB Error: no such table" error after installing civicrm

I installed CiviCRM 5.47.3 plugin using composer in the centos 8 server. my drupal version is 9.3.5 After installing CiviCRM on the server CiviCRM plugin is enabled automatically in admin extension ...
user avatar
0 votes
0 answers
20 views

I cannot load some pages after configuring CiviCRM Webform

I installed Drupal 9.3.5 and configured Webform 6.2. When I try to load the setting and other pages, I get this error. Symfony\Component\Routing\Exception\RouteNotFoundException: Route "webform....
user avatar
0 votes
0 answers
16 views

How do I load the address from CiviCRM into a commerce billing profile?

I have a commerce store linked with CiviCRM. I'd like that customers only enter their address once, in the CiviCRM contact profile. How do I load the profile to copy to a Commerce billing profile? I ...
user avatar
  • 1,359
0 votes
1 answer
25 views

Easy way for user to resubmit a webform

My users are clicking on an emailed link from CiviCRM to complete a webform, which when completed and submitted adds contacts to CiviCRM. I'd like them to be able to have an easy way of submitting ...
user avatar
1 vote
0 answers
25 views

How do I use a hook to modify CiviCRM payment processor details in Webform?

I am trying to use hook_form_alter() to change the details of the CiviCRM Payment Processor for specific users (to change from live mode to test mode). On Drupal 7 it's in $form['submitted'] when Page ...
user avatar
1 vote
0 answers
72 views

Create several fields from one array field

I have a Drupal View based on one entity that is pulled from another database (it is a CiviCRM entity pulled into Drupal with the help of CiviCRM Entity Drupal module). One of the fields I use is an ...
user avatar
  • 121
1 vote
0 answers
22 views

Why do I get a 403 response code when submitting changes at /admin/people/permissions?

I have documented the warnings and notices I get in the drupal watchdog logs at this link: https://gist.github.com/hesco/1797208819f7b239d8be9deca6b8bac4 I see nothing in apache2 error logs. I see a ...
user avatar
0 votes
0 answers
16 views

Relationship between an existing Household and a new Individual not added using civicrm webform

When trying to add a new CiviCRM Contact of type Individual through a webform to a existing Household, the required Relationship is not created, although it is set up on the CiviCRM setting of the ...
user avatar
0 votes
1 answer
16 views

Why are new users having their role deleted on signup?

Today my client added some new users & gave them a role, and checked 'Notify user of new account'. The users clicked the email link, entered their password and all was well - except that the role ...
user avatar
0 votes
1 answer
73 views

How to use CiviCRM contact data latitude and longitude in drupal gmap formatted view

Environment Drupal 7.67 civicrm 7.x-5.13.4 GMap Module 7.x-2.11 Location 7.x-3.7 Views 7.x-3.23 What is working I have CiviCRM contact data for organisations which has been successfully geocoded ...
user avatar
  • 1
0 votes
1 answer
2k views

Drush command to run cron won't work in Crontab

I am attempting to run two Drush commands from my crontab: # m h dom mon dow command */2 * * * * drush -r /path -l https://www.domain.com/ cron */2 * * * * drush -r /path -l https://www.domain.com/...
user avatar
  • 121
0 votes
0 answers
83 views

How can I programmatically add CiviCRM contacts as Drupal users?

In the process of migrating a Drupal 6 and CiviCRM installation to Drupal 8, the decision was made to host the new D8 CiviCRM instance remotely. I'm now tasked with developing the functionality needed ...
user avatar
  • 349
0 votes
0 answers
16 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 ...
user avatar
  • 101
1 vote
1 answer
54 views

Hook name in module doesn't seem to work

I've been at this for days, but I finally think I maybe kinda sorta found part of the problem, maybe...but I don't know how to fix it. I'm working on a Drupal site with the CiviCRM module running. I ...
user avatar
0 votes
1 answer
33 views

Problems moving whole project from one directory to another

I have Xampp Portable installed on Windows 10. I run about a dozen Drupal, Wordpress and other CMS on there. I can move the whole stack to different drives and machines and it all works perfectly, ...
user avatar
-1 votes
1 answer
77 views

Cannot create user, email: invalid!! while trying to create a user

Here is the export of my rule: { "rules_create_drupal_user" : { "LABEL" : "Create Drupal User", "PLUGIN" : "reaction rule", "OWNER" : &...
user avatar
  • 1
0 votes
1 answer
25 views

User added to a specific group should be blocked

I'm trying to accomplish the task -" If the User is added to a specific CiviCRM group manually by admin/'users with permissions to add to group', The added user should be blocked.I'm using Rules ...
user avatar
  • 1
-1 votes
1 answer
361 views

Link to webform submission

I have Drupal civiCRM installed. I am using webforms to create contact in civiCRM. To display these contacts I am using civiCRM views, which gives me civiCRM contact details properly but I am not ...
user avatar
  • 29
0 votes
1 answer
43 views

what security measures should be taken when creating/updating/retrieving entities with data from users' form submissions?

We have webforms for authenticated users (anyone can create an account without admin approval) to fill out. With their submission data I'm using the civicrm_api to create contacts and relationships. ...
user avatar
  • 178
0 votes
1 answer
292 views

How to utilise watchdog or how to debug webform error

I have a webform that integrates into CiviCRM such that the webform is used to save data into the Civi system. The following error is generated when hitting submit (although data is saved in the ...
user avatar
  • 393
1 vote
0 answers
32 views

Change in module update function not saved

I have a module that uses update function in the module.install file. When debugging these changes during development, I call the function from hook_init(). function mymodule_init() { require_once ...
user avatar
  • 111
1 vote
1 answer
1k views

Webform Rules - Create a Drupal User

I'm using Webforms (via the Webform module) and using Rules (with the Rules module and the Webform Rules module)... as a side note, I'm also using CiviCRM although I don't think that is has an impact ...
user avatar
  • 393
1 vote
1 answer
645 views

Error installing CiviCRM

Following the amazing work @david-snopek posted: Blog post - CiviCRM & D8, David's StackExchange Post. I spent the better part of last evening trying to get CiviCRM up and running on a Drupal 8....
user avatar
17 votes
3 answers
1k views

How to install a module which includes a different version of Symfony?

I am a developer and maintainer for the CiviCRM project. We've been trying to make a Drupal 8 version CiviCRM, and have a come a long way. We're beating our heads against our collective keyboards ...
user avatar
0 votes
1 answer
129 views

How to define Views filters and relationships for custom Civicrm contact fields that are indexed via Search API?

I followed the steps on skvare to index CiviCRM contacts via Search API, then to have Views list the contacts with the search box as an exposed filter. I need to expose a filter that filters results ...
user avatar
  • 9,067
0 votes
2 answers
38 views

Custom fields always empty

I followed the steps on skvare to index Civicrm contacts via Search API, then to have Views list the contacts with the search box as an exposed filter. This seems to work overall, but custom Civicrm ...
user avatar
  • 9,067
2 votes
1 answer
242 views

How to Add Image Field in CIVICRM

I am trying to add an Image as Custom field in Civicrm Contact, but the Image Field type is not in the Custom Field section. It has only Field type as File. How to apply Drupal Image styles for ...
user avatar
  • 21
0 votes
1 answer
70 views

How to Associate Drupal content type with CiviCRM groups?

I have created the 10 contents in Drupal. This contents are Article content type and also created the new group(group name: students) in civicrm. Now I want to associate these content with the ...
user avatar
1 vote
1 answer
28 views

I'm using CiviContribute and need CAPTCHA

I'm new to Drupal and CiviCRM. I work mostly with Blackbaud/NetCommunity. I'm operating a website that using CiviContribute for donations. Our Payment Processor is Paypal Payments Pro. I'm trying to ...
user avatar
  • 11
1 vote
0 answers
23 views

How to make membership optional in Civicrm sign up form?

I am using webform module with Civicrm. I have a registration form. This latter could be used to become member of an organization. However, I would like to make this membership optional. How could I ...
user avatar
  • 11
1 vote
0 answers
31 views

Menu Tokens module - CiviCRM profiles

I'm trying to use the Token Module to create a menu item that links to the user overlay in Drupal so that users can find their CiviCRM profiles easily. So it should be going to something like: /user/...
user avatar
  • 27
1 vote
2 answers
44 views

Access CiviCRM event fees via Drupal Views

I'm trying to access the Regular Fees data inside of Drupal Views 3. I can see the Fee Label but can't see how I pull in Regular Fees? I've looked at Price sets and setting up a relationship but this ...
user avatar
0 votes
1 answer
296 views

View is rendered as "empty" even though the query returns results

I've got a Drupal View that I expect to return some results, but when I look at it (logged in as user 1), the empty result message is displayed. I turned on the setting which tells Views to output SQL ...
user avatar
1 vote
0 answers
14 views

How to allow anon users to select contacts from civi in webform?

I'm using civi and webforms to gather custom data, in this case an application for examination of a student, I have two contact fields; one for the user (student) and another for the examiner. I ...
user avatar
1 vote
0 answers
45 views

CiviCRM on Drupal: Array to string conversion error in BAO setting.php in Display preferences

I'm receiving this error after a fresh install of civicrm-4.4.17 on drupal-7.38. While attempting to go through the configuration checklist I also noticed that the items were not turning green after ...
user avatar
  • 123
1 vote
1 answer
155 views

Get views contextual filter's argument value in thousand

I have a Civicrm set up in Drupal 7. I am showing Civicrm data using two different views. In one of the view I have set contextual filter to get the contact IDs. From another view I am passing ...
user avatar
  • 213
1 vote
0 answers
17 views

Is it possible to establish case roles other than client and manager with webform-civicrm integration?

So I have a case definition that besides the client and the case manager, also includes a navigator, referral and provider roles. The webform works great for everything, including establishing the ...
user avatar
0 votes
2 answers
190 views

Redirect, change or replace the "user/register" link

How to redirect, change or replace the "user/register" link to another registration page, such as "civicrm/contribute/transact&reset=1&id=1"? Why? Because our "Drupal users" are (paid) ...
user avatar
  • 141
0 votes
2 answers
180 views

CSV Feeds import troubles with CiviCRM entity reference field

I'm stumped with this particular Feed import problem. I've got a content type (node) that has an entity reference field that relates it to an number of CiviCRM organization contacts. When you ...
user avatar
1 vote
1 answer
310 views

How to allow anonymous user register Civicrm event without create drupal account

I'm using D7 CiviCRM 4.4.6. I had a civicrm event with profile fields for user to fill in. Anonymous users are allowed to register the event and create civicrm profile. But there is a "Username" ...
user avatar
  • 620
0 votes
2 answers
125 views

How to assign user with civicrm membership to specific role?

I'm using D7 CiviCRM 4.4.6. There are two roles in my site: authenticated user, member. Those who registered in my site is authenticated user. Only users who have active civicrm membership will ...
user avatar
  • 620
1 vote
0 answers
182 views

How do I add Webform-CiviCRM tokens into Webform emails?

The following is the HTML from a form I have created using the Webform CiviCRM Integration module. <input class="civicrm-enabled form-text required" type="text" id="edit-submitted-civicrm-1-...
user avatar
1 vote
0 answers
113 views

How can I preview the CiviCRM contribution thank-you page

I want to modify the HTML in the CiviCRM thank you page but I need to see how the page looks on the site before making it public. Is there a preview page or even a live link I can use? Further is ...
user avatar
  • 11
0 votes
1 answer
43 views

Drupal View of CiviMember troubleshooting

I've created a Drupal View of our current members in CiviMember SELECT civicrm_contact.organization_name AS civicrm_contact_organization_name, civicrm_website.url AS civicrm_website_url FROM {...
user avatar
3 votes
2 answers
24 views

CiviCRM report by address [closed]

Is there a way to pull a CiviCRM report that compiles all donations from matching addresses? Whether or not the people at the matching addresses are formally part of a household -- kind of like the ...
user avatar
4 votes
1 answer
1k views

What causes the 'DB Error: unknown error' after adding custom fields to a report in CiviCRM?

I have one particular set of custom fields made up of plain text fields and rich text fields. But if I try to add any of them to a report for display, the following error is returned: DB Error: ...
user avatar
6 votes
1 answer
571 views

How to register multiple member in one civicrm membership sign up form?

I have a special promotion price set for member: Register 1 new member is USD 500, register 2 new members in one-time is USD 800. In my membership sign up form (created using contribution page), I ...
user avatar
  • 620
1 vote
2 answers
203 views

How to apply Panels layouts for CiviCRM pages

For CiviCRM pages Events and Contributions that has paths of e.g. www.site.com/civicrm/contribute/transact?reset=1&id=1 www.site.com/civicrm/event/register?id=23&reset=1 And so on. Problem ...
user avatar
0 votes
1 answer
429 views

Creating a Drupal user with user_save doesn't automatically join an existing CiviCRM contact record

I have a custom module that will create a Drupal user programmatically using user_save as follows: //set up the user fields $fields = array( 'mail' => $email, 'pass' => $password, ...
user avatar
3 votes
1 answer
131 views

Webform2pdf and CiviCRM fields: pdf empty

I have a Drupal website with CiviCRM. I created a webform and installed webform2pdf to create a pdf and CiviCRM integration module to add CiviCRM fields to my webform. After submission the webform ...
user avatar
  • 31