texts:
I'm trying to edit the system workflow message "Events - Registration Confirmation and Receipt (on-line)". When I edit it and hit save, it just reloads to a blank (new) message template. No changes are saved. The message is currently set to the default version.

I'm on Drupal 7, CiviCRM 4.7.22. It's a copy of our live site, where I can indeed make edits. Is there some kind of file permission I could have missed when I duplicated the site? I have all the error and logging turned on for this site, but I don't see an error on the page or the Drupal log.

Any ideas?


texts: Unable to Upgrade from CiviCRM 4.6.16 to 4.7 (Wordpress)

texts:
When attempting to upgrade from CiviCRM 4.6.16 to any of the 4.7 releases, I receive the following error message:

Error: Migrate "on behalf of" information to module_data

Debug info says: "Unknown column 'for_organization' in 'field_list'

This is the first time I've encountered any issues during the upgrade process. I have been using CiviCRM since version 4.4.

Screenshot is below. Thank you for your help!
Darron


texts: Allow Website URL field without "http://" string

texts:
Is there a way to allow a user to input urls into the website field of a contact without adding http:// or https:// to the string?

I can't find a way to change settings for this field.

A number of my users want to manually enter web addresses or sub-domains and they get rejected by the validation.

Alternatively, is there some pre-process hook or extension that can handle insert the correct protocal as needed?


texts: How to remove certain items of custom fields when sending a offline receipt?

texts: I have 2 set of custom fields for contributions and certain items of that are not meant for donors to see, only for admin purpose. But they are automatically included in offline receipt. How Can I remove them from the offline receipt?


texts: Only default payment processor shows on forms

texts:
I have two payment processors, one for credit card and one for electronic check. When I am logged in as admin and I fill out my form I have a radio button asking if I want to pay via check or credit card. But when I am not logged in as admin I only get my default payment processor to show..I do not have the radio button asking how I want to pay. I need this to show up as it does when I am logged in as admin. Is this a permission issue? If not what would be causing this?

I am using Wordpress and CiviCRM version 5.7.2, I am also using the standard Civi contribution/payment page.


texts: On the Campaign dashboard I would like to prevent one specific type from being listed

texts:
Unfortunately the searchColumns hook is not called by this form. It is a DataTable, but trying to use the stuff that is documented in the DataTable API (like .rows() or rowCreated do not seem to work either?

How can I manipulate a row from this dataTable and who would like to have a go at adding a dataTables chapter to the Developer Guide (or is it already there and am I missing it?)


texts: What's the best strategy for upgrading CiviCRM?

texts:
I use CiviCRM 4.5.8 with WordPress. I'd kinda like to try a newer version, but I don't want to mess up the production website. I used the WP plugin Duplicator to create a test site. I changed the civicrm.settings.php file and now I can maintain the CiviCRM database from either website. Then I tried to use phpMyAdmin to export the civicrm database with a new name. Then I used the DreamHost panel to create a database with that name. The phpMyAdmin import failed with a foreign key check error, so I turned that check off and started over with a new database name. I did the export, create database and import and now I get error "#1050 table civicrm_acl already exists". It's a fresh database, so that doesn't make sense. The database is 44M, so I suspect I'm having some sort of timeout/retry problem? I found Moving an Existing Installation to a New Server or Location, but the copying database part of it confuses me. 7.b. Substitute mysql_username, cms_db_name and dump_file_name_of_your_choice with appropriate values. My SQL experience was last century!

Another strategy, would be a fresh install of a newer version (what recent version would you recommend?). Then I'd have to export the data from 4.5.8 and import it into the new database. We just use the contact database and CiviMail. But wouldn't I lose all the groups, tags, notes, relationships, etc?

The third strategy would be to upgrade the test site and if it works well, I could use either use Duplicator to copy the test site to the production site or upgrade the production to the new version of CiviCRM. So many choices and none of them easy. Maybe I should just stick with good 'ol 4.5.8?? Thanks for any advice!!


texts: Event registration confirmation mail: Can I suppress certain custom fields?

texts:
For my event, I set up a number of custom fields for the participants. One of these is sensitive, and I would like to avoid sending it via email.

Any idea, how this can be achieved?

Cheers,
Detlev


texts: Upgrade from CiviCRM 5.12.4 to 5.13.5 generates Sparkpost PHP fatal error

texts:
We are running Wordpress 5.2.1 with CiviCRM 5.12.4. In trying to upgrade to 5.13.5, the database runs through the updates, but then we get the message: "The site is experiencing technical difficulties. Please check your site admin email inbox for instructions." Afterwards, the bottom of the page says "Powered by CiviCRM 5.13.5", but under System Status we get the warning "CiviCRM 5.12 has reached its end of life." indicating the upgrade process didn't run through to the end. Looking at the error_log, there is a fatal PHP error and stack trace which looks like" "PHP Fatal error:  Uncaught Error: Class 'CRM_Sparkpost' not found in /home/britstatt/test.sdcbcdream.org/wp-content/uploads/civicrm/ext/com.cividesk.email.sparkpost/settings/Sparkpost.setting.php:8, referer: https://test.sdcbcdream.org/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fupgrade%2Fqueue%2Frunner&reset=1&qrid=CRM_Upgrade"

We have been using the Sparkpost mail extension since summer of 2016 and have never experienced an issue during the many CiviCRM upgrades since then, so I don't think this is a particular issue with that extension, although I will also ping cividesk. Since the upgrade process has always worked seamlessly, I wanted to throw this out there to find out what might be the matter.

Fwiw, I originally encountered the issue when upgrading from 5.10.3 to 5.13.5, but didn't dive into the error logs. So I ran the upgrade from 5.10.3 to 5.12.4 successfully, thinking doing the upgrade in steps might help. That worked fine, but the subsequent attempt to upgrade 5.12.4 to 5.13.5 generated the error again and I finally looked into the error log.

Our live site is running fine at 5.10.3, but I always run upgrades on a test mirror site, so this is not critical except we really want to move to 5.13.x which is supposed to be the next ESR, I thought.


texts: Anyone building or built - an API Call into Zoom to Add A Meeting Registrant

texts: I have CIVI Events installed on my site and I am looking to integrate with Zoom /Meetings. With an Event Registration i want to take the Participant record. Post the information to Zoom API call  Meetings Registrants - then write the response back into the Civi Events Calendar object for that user, the unique registration URL. Is there a civiextension for this, or anyone available to help us with this piece of work?


texts: How can I bulk add CiviVolunteer projects?

texts: I will be running events 5 days a week for a couple of weeks every month.  I need to schedule them individually.  It seems like the best way to do this is to create a project for each day.  Is that correct?  If so, how do I create them in bulk?  Maybe a Scheduled Job that runs an API command once a day?  Is there something more end-user friendly?


texts:
We recently changed Membership director, but the old director stills receives email notification when new member sign up.

How do we change that?

In general, how do we set-up email forwarding?  Cannot find references!


texts: Migrate from Drupal to WordPress - 'DB Error: no such table'

texts:
I'm following the methodology at https://docs.civicrm.org/sysadmin/en/latest/misc/switching-cms/drupal-to-wordpress/ to migrate from Drupal to WordPress.  After importing the database tables to the WordPress site, I get the error DB Error: no such table in the browser when I try to access the CiviCRM front page.
In the wp-content/uploads/civicrm/ConfigAndLog/CiviCRM.f00.log, I see the following:
Sep 06 22:24:15  [error] $Fatal Error Details = Array
(
    [callback] => Array
        (
            [0] => CRM_Core_Error
            [1] => handle
        )

    [code] => -18
    [message] => DB Error: no such table
    [mode] => 16
    [debug_info] => INSERT INTO civicrm_setting (`component_id`,`contact_id`,`created_date`,`created_id`,`domain_id`,`id`,`is_domain`,`name`,`value`) VALUES
(NULL,NULL,"20200906222415",NULL,"1",NULL,"1","wpLoadPhp","s:34:\"/home/singersin/www/wp/wp-load.php\";")
 [nativecode=1146 ** Table 'singersin_wp1234.log_civicrm_setting' doesn't exist]
    [type] => DB_Error
    [user_info] => INSERT INTO civicrm_setting (`component_id`,`contact_id`,`created_date`,`created_id`,`domain_id`,`id`,`is_domain`,`name`,`value`) VALUES
(NULL,NULL,"20200906222415",NULL,"1",NULL,"1","wpLoadPhp","s:34:\"/home/singersin/www/wp/wp-load.php\";")
 [nativecode=1146 ** Table 'singersin_wp1234.log_civicrm_setting' doesn't exist]
    [to_string] => [db_error: message="DB Error: no such table" code=-18 mode=callback callback=CRM_Core_Error::handle prefix="" info="INSERT INTO civicrm_setting (`component_id`,`contact_id`,`created_date`,`created_id`,`domain_id`,`id`,`is_domain`,`name`,`value`) VALUES
(NULL,NULL,"20200906222415",NULL,"1",NULL,"1","wpLoadPhp","s:34:\"/home/singersin/www/wp/wp-load.php\";")
 [nativecode=1146 ** Table 'singersin_wp1234.log_civicrm_setting' doesn't exist]"]
)

What puzzles me: why is it looking for a table called log_civicrm_setting when it's doing INSERT INTO civicrm_setting?  There is a table called civicrm_setting, all CiviCRM tables are prefixed with civicrm_ in this installation.


texts: Civimail 'Send test email to group' allows sending mailings to groups for which 'Mailing list' has been disabled

texts:
Though for a group the 'Mailing list' option has been disabled the 'Send test email to group' function still allows you to select these groups (version 4.6.16).

There also isn't a option to disable this test function for certain groups, I've seen users use this test function to send out the mailing. Of course that is not the purpose of this test so it would be great if I could disable it per group.


texts: Get Contact id from Relationship to use in a Hook

texts:
I want to display Contact B ID of a relationship for the current contact. I am building a hook and this is my code so far.

if ( $formName == 'CRM_Contactlayout_Form_Inline_ProfileBlock') {
        if ($form == CRM_Core_Action::ADD) {
            $ID= '190';
            $defaults['custom_189'] = $ID;
            $form->updateElementAttr('custom_189',array('readonly'));
    }

I want to replace 190 with a code that grabs the contact ID of that current users relationship.

Your help is much appreciated.

Thanks


texts: Are we able to see why a payment failed?

texts: Our contribution pages are working for some individuals and for others, payments are failing. Is there a way to see what the cause of this issue is for the payments that are unable to go through?


texts: WordPress Site Health contains critical errors unless CiviCRM is disabled

texts:
I uninstalled all WordPress Plugins (except CiviCRM). Then, I uninstalled all CiviCRM Extensions and Components.

Only when I disable the CiviCRM plugin does this error disappear:

WordPress 5.4

CiviCRM 5.22.1 / 5.23.4

The REST API encountered an error
The REST API is one way WordPress, and other applications, communicate with the server. One example is the block editor screen, which relies on this to display, and save, your posts and pages.

The REST API request failed due to an error.
Error: cURL error 28: Operation timed out after 10000 milliseconds with 0 bytes received (http_request_failed)

Your site could not complete a loopback request
Loopback requests are used to run scheduled events, and are also used by the built-in editors for themes and plugins to verify code stability.

The loopback request to your site failed, this means features relying on them are not currently working as expected.
Error: cURL error 28: Operation timed out after 10000 milliseconds with 0 bytes received (http_request_failed)


texts: How does civi replace page content? Wordpress

texts:
We were testing out a theme builder and have an issue with Civi not only replacing the page content in the body of the page but also in other areas (sidebar, footer). Did a little reading and know that Civi replaces page content, can you help me understand how that happens? I'd like to figure out if I can in fact make a minor tweak or two to the template or if I need to just scratch it altogether.

WordPress 4.4.5, CiviCRM 4.6.4

TLDR; We were testing out a theme and learned that Civi replaces page content and with the current setup, it's replacing other areas too (sidebar, footer).


texts: Custom dropdown for specific relationship type

texts:
When creating a new relationship is it possible to create a dropdown that only displays when you have selected a specific relationship type.

For instance:
Add custom relationship “Representation”
Represented by [individual]
Representative of [individual]

Add custom dropdown “Representative Type”
- Publicist
- Manager
- Agent

When you go to add a relationship currently the Representation dropdown displays on all relationship types. I.e. “child of” displays representative type, clearly unnecessary. Is it possible to only display that dropdown when Representation is selected from the relationship type dropdown?

Thank you for your time and consideration,

Tim


texts: how do I exclude blank or null in a report

texts:
I'm currently trying to set up a simple report for bookkeeping transactions for the last month. It's was great except for the fact it is also including paypal fees on top of the full transaction amount (this makes it look very much like we collected the full transaction amount (including the paypal fee), plus we collected the paypal fee as well.) I though it would be simple enough to filter these out, they are easily identifiable by the fact that they don't have a payment method or a financial type at all. I don't seem to be able to filter out null/blank values though: I have to select a value from the list, null/blank is not an option.

I have found I can exclude them based on account codes and this solves my immediate problem. I would, however, like to know if there is a way to exclude items with blank or null values. I could see it being very handy in the future.

It would also be nice to have the pay pal fees subtract their values in a report rather than add them? Possible at all?

Using civiCRM version 4.7.3 right now.


texts: Restrictions and Limitations for CiviSpark

texts:
I very recently signed-up to CiviSpark Hosting Plattform to evaluate it for future use by our organistion. Early on the way I stucked by some limitations of that Version, first of all:

The localisation/ language can't be changed as desired
Only Users with the Admin Role selected in CiviCRM can access the CiviCRM-Site

Does anybody know how to get detailed information about the limitations, restrictions and functional differencies of the Civi Spark hosted Version compared to the "native" CiviCRM


texts: I must have missed this step, I have the price set all updated but it I cannot find where to link to this years new event.  I appreciate your help.  tj


texts: Error using Drush and Civi API when adding data to a custom field with multi-select data

texts:
I have been trying to create contacts data using Drush and the CiviAPI.  I get an error when I try to add data to a multi-select field despite using exactly the same syntax that the API explorer gives me.

I have a custom field (machine name: custom_10) that takes up to 5 options. As an example, If I use the API explorer to create the following output, I get this:

drush cvapi Contact.create contact_type="Individual" contact_sub_type="MySubType" custom_10=[1,2,3] first_name="John" last_name="Doe"

Executing this though the API explore works fine, but if I copy the drush line and execute it, the array data for custom_10 causes an error:

Array
(
    [error_field] => custom_10
    [error_code] => 2001
    [entity] => Contact
    [action] => create
    [is_error] => 1
    [error_message] => '1,2,3' is not a valid option for field custom_10
)

executing a single option with custom_10=1 will work fine.  I have tried various different syntax but cannot get it to take.  Has anyone else had this issue with the Drush approach for arrays in Custom fields?

I have no issues adding anything else Contact wise including chaining for additional emails.  It is just fields that have arrays of data.


texts: How to add a tag or group to a set of pre-existing contacts via import?

texts:
I have a list of contacts (names and email addresses). I know that all of these contacts are in the Civi database, but I want to add a tag or a group to all of them, and i have the list in a CSV file. What I should be able to do is simply import the contacts, setting 'Update' or perhaps 'Fill' as my duplicate matching option, and set the tag and/or group to be set in the import settings. Just tried it - several times, using various different options, and it failed every time, reporting that 0 records had been tagged (or added to the group). This is with Civi 4.7.19.

Is there a specific set of options that I need to know about to get this to work? This post (How to tag a contact when importing possible duplicates) suggests that this should just work. I followed that example and it failed.


texts: Upgrade to civicrm 5.17.4 fails with PHP 7.1 Uncaught Error: [] operator not supported for strings

texts:
Testing an upgrade from 5.13.4 to 5.17.4 on wordpress, I get a fatal error. This is on PHP 7.1.32.

PHP Fatal error:  Uncaught Error: [] operator not supported for strings in /home/dhwpuser/testdomain/wp-content/plugins/civicrm/civicrm/CRM/Upgrade/Incremental/SmartGroups.php:105
Stack trace:
#0 /home/dhwpuser/testdomain/wp-content/plugins/civicrm/civicrm/CRM/Upgrade/Incremental/SmartGroups.php(48): CRM_Upgrade_Incremental_SmartGroups->datePickerConversion(Array)
#1 /home/dhwpuser/testdomain/wp-content/plugins/civicrm/civicrm/CRM/Upgrade/Incremental/Base.php(233): CRM_Upgrade_Incremental_SmartGroups->updateGroups(Array)
#2 /home/dhwpuser/testdomain/wp-content/plugins/civicrm/civicrm/CRM/Queue/Task.php(88): CRM_Upgrade_Incremental_Base::updateSmartGroups(Object(CRM_Queue_TaskContext), Array)
#3 /home/dhwpuser/testdomain/wp-content/plugins/civicrm/civicrm/CRM/Queue/Runner.php(217): CRM_Queue_Task->run(Object(CRM_Queue_TaskContext))
#4 /home/dhwpuser/testdomain/wp-content/plugins/civicrm/civicrm/CRM/Queue/Page/AJAX.php(52): CRM_Queue_Runner->runNext(true)
#5 /home/dhwpuser/testdomain/wp-content/plugins/civicrm/civicrm/CRM/Queue/ in /home/dhwpuser/testdomain/wp-content/plugins/civicrm/civicrm/CRM/Upgrade/Incremental/SmartGroups.php on line 105

This appears to be a well known issue with PHP 7.1. See for example this issue.


texts:
I frequently have a problem when using CiviEvent that registration is not live because of problems with the end (or start and end) dates. Often this is caused by:

An event I copy and edit.
Repeating events
In both of these cases, if the end of registration could be RELATIVE to the event start time, this problem would not exist. These fixed (only) times cause me problems repeatedly!
Can this be fixed at my end? Can the code for this be change in future versions?


texts: Rolling Annual Memberships aren't recording start dates

texts:
Any memberships recorded after a certain point do not have "member since" and "membership start" dates. Membership end date, however, is one year from the transaction date. We have upgraded recently from 4.3.8 to 4.7.15 but the dates do not seems to correlate with the upgrade exactly.

Background

The way our website is set up, and has been working successfully since launching the training feature last February, is that users with Drupal accounts may additionally subscribe for a membership which gives them access to a special training area. It's a flat-rate membership for unlimited access for one year from the time of subscribing (through a CiviMembership and CiviContribute page). Once the transaction is complete, the CiviMember Role Sync Module assigns them a special Drupal role.

We are using Drupal 7.50 and CiviCRM 4.7.15.

Things I've Checked:

membership type settings are still set to annual rolling from time of sign up

I checked the membership status rules, but it seems that only new members are being affected, as we do not yet have renewals pouring in, it's too soon.

Sample of new subscribers during the affected time frame and they do have the correct access and Drupal roles

Please let me know what other information I should include.


texts: Issue with CiviMail reports after upgrade to 5.19.0

texts:
I upgraded to 5.19.0 and noticed that every report for completed mailings listed on the Find Mailings screen is now showing this message in the Delivery Summary section:

Delivery has not yet begun for this mailing. If the scheduled delivery date and time is past, ask the system administrator or technical support contact for your site to verify that the automated mailer task ('cron job') is running - and how frequently.

Despite this, the reports still show the Click-through Summary and other sections.

I see this issue on both my production and development systems. I tried clearing cache. Other CiviMail reports (from the Reports tab) seem to be correct.

CiviCRM 5.19.0
Wordpress 5.2.4
PHP 7.2.21
MySQL 5.7.23


texts: Event Registration Confirmation Email missing Custom Location Type Field Data

texts:
Environment
CiviCRM 5.9.1 with Drupal 7. Have enabled the following permissions for all drupal users: access all custom data, profile create, register for events, view event info, view event participants. We have a custom "Location Type" called "EditedInfo" and a custom profile called "Registration Information" -- the EditedInfo Location Type is set as the default, if it makes a difference. The profile has the default "Your Registration Information" First and Last name fields (Individual - Primary), and the rest of the fields (Email, Phone, Address, etc.,) are of Type "Contact - EditedInfo".

Problem
When a user/contact registers for an event everything works flawlessly -- the values for the "EditedInfo" are copied correctly to their fields on the Contact record, the registration occurs and a confirmation email is sent. However, the email has blanks where the values for all the "EditedInfo" information should be. The labels are there, so the template is recognizing the fields, but the values are empty.

Troubleshooting
I assumed it was a permissions issue, but I could not get it solved by toggling various permissions on/off. I am not sure what else to look for at this point. I have also switched these "EditedInfo" fields to regular "Primary" fields, and they are successfully included in the email. However, this is undesirable from the CiviCRM administrators perspective and they'd like to use the "EditedInfo" Location Type fields.


texts: ERROR Upgrading to CiviCRM 4.7.28 - Warning: require_once(CRM/Core/ClassLoader.php):

texts:
I am on Joomla version 3.8.2 with Php 7. I tried to upgrade to CiviCRM 4.7.28 but I received and error message (I didn't capture it) that it could not unzip the file because I have php 7. Unfortunately, I no longer have access to the administration panel as I am getting a blank screen.

These are the error messages:

Warning: require_once(CRM/Core/ClassLoader.php): failed to open stream: No such file or directory in /home/pastoral99/public_html/administrator/components/com_civicrm/civicrm.settings.php on line 462

Fatal error: require_once(): Failed opening required 'CRM/Core/ClassLoader.php' (include_path='.:/home/pastoral99/public_html/administrator/components/com_civicrm/civicrm:/home/pastoral99/public_html/administrator/components/com_civicrm/civicrm/packages:.:/opt/alt/php70/usr/share/pear') in /home/pastoral99/public_html/administrator/components/com_civicrm/civicrm.settings.php on line 462

Please HELP!


texts: Run report of donors with email addresses

texts: How do I run a report that lists anyone who is a donor and has an email address in my organization's database on civi?


texts: membership source field not displaying in reports or exports sometimes

texts:
When doing a find or an export,  the 'source' fields for memberships is blank for some records. For the records where it displays, its obviously been populated automatically when the membership is set up offline. For the records where it is blank, if I view the record, the value is there and is the same automatically created values as the ones that did display. If I edit and then save without making any changes, then that membership behaves as it should.

I'm using CiviCRM 4.7.24 but can't see anything in subsequent release notes that relates. It would be difficult to try on the demo system because most of the registrations come through correctly.


texts: How can I link E-Mail greetings/Postal greetings to "formal" or "informal" communication style?

texts:
is there a way to link a defined E-Mail greeting or Postal greeting if the communication style "formal" or "informal" is selected?
I thought it could work with CiviRules but we don't have it installed so far. So is there another way? I already tried it with the following token:
{if"{contact.communication_style}=="formell"}Sehr geehrte Damen und Herren

But it doesn't work. If I select "formell" there is still another greeting selected.
Thank you for any help
Tina


texts: Why are export field mappings not available for custom search results?

texts:
When using custom searches such as the Include/Exclude search, the resulting contacts can be exported, but there's no option given to select the fields. Fields to be included in the export file are apparently predefined in the search. That might make sense in some cases, but we have a scenario where the export file is pretty useless. Working around this with a temporary group or tag is a hassle.

Why is it that field mappings are not provided here? And can anybody assess what it might take to alter that behaviour in core, or which follow-up problems that would possibly implicate?


texts: Creation of a form from the front-office?

texts: I'm using the joomla system and I'm looking for a form that can be created from the user interface. that is to say that there will be 3 level. the administrator who will manage all the system, the manager who can create a form from the user interface and collect the information from this form. and finally the user who will enter in the form. is it possible to do this kind of form with the CiviCRM component


texts: Upgrading 4.6.4 to 4.7.7 on Wordpress Queue Runner error

texts:
I'm trying to upgrade CiviCRM 4.6.4 to 4.7.7 on Wordpress. Wordpress, MySQL, and PHP are all current. The update stalls and I get this error:

Exception: "Queue runner must be configured before execution."

I've cleared the cache, deleted and reinstalled several times, but always get this error. I can't find anything to explain it.


texts:
I occasionally have a list of contacts outside of Civi but with CiviIDs that I want to search for in Civi, but aren't grouped in any easily accessible way (no common event, activity, tag, group, etc. to search for). If it were a longer list, I'd do an update import on the contacts (with no actual changes) adding them to a new temporary group. But if I have fewer than say 10, that seems like a lot of steps.

I thought, "A regex search builder would work." But when I put

\b(64|5917|5725|5892|5852|5818|5893|5850)\b

OR

\b64\b

OR even

[64]

into the regex search, I get a "Please enter a valid value" error. I seem to get a valid search when using only numeric text ("64") without any regex operators, which kind of defeats the entire purpose of regex.

I'm not a big regex user, so I could believe I've screwed up the regex. Anything I'm doing wrong here?


texts:
Civi4.6.4 WP 4.2.2
I have a custom field for all Event Types called "Featured"(yes/no).  We will have many events created and only a few will be "Featured"(Yes).  So is there a way in the Manage Event List to search for just the "Featured" Events?


texts: What domain name should I use for my extension's fully qualified name?

texts:
I'm getting started with creating extensions and I see that each extension needs a "full name" or "fully qualified name" or "key", which often serves as the name of the git repository too. I see that the domain names used in these fully qualified names are either (1) civicrm.org or (2) the domain name of the development shop creating the extension.

I'm not currently part of a development shop, but I'd like to create an extension which I can share with others later on. How should I pick a domain name to use within my extension's fully qualified name?


texts:
I am running Civicrm wordpress in my PC and I want to access it through LAN. When I am trying to run the site from other machines using http://myipaddress/site, the login page opens fine. but in the next links the URL redirects to http://localhost/

Should I have to change in code in all places from localhost to my ip address? any easy way to do it without missing any files?

Using WAMP 3.0.6


texts:
I am working with an organisation that wants to record the purchase of publications that they sell.  What is the best way of doing this?

The publications are purchased through a variety of channels including in cash and via third party websites such as Amazon.  The purchase itself would not be processed via CiviCRM but they would like to be able to record the purchases within CiviCRM so that they can report on sales figures.

In terms of reporting they would like to know how many publications have been sold each month and how much income each type of publication has generated.

Would it be best to record these purchases using CiviContribute or as a custom activity type.

Thanks for your help.


texts: I would like to ask how to add more fields to the tags for each individual.  We have a lot of individuals who are parents but we do not know where to define them as parents since we don't know the name of their children, can't use the "Parent of" in the Relationship category.  So we would like to add more fields in the tags so that we can put more details to each individual in order to help us organizing the data and easier to retrieve the data we need.  Actually we would also like to enter the event each parent attends but we couldn't find anywhere to do so.  Please advice.  Thanks.


texts: CIVIRM adding characters to Event name on submission to Paypal, payment received but shows as "pending, incomplete payment"

texts:
I'm currently running CIVICRM 4.7.4 with the most current version 7 release of Drupal and am running into an issue with event names when transmitted to Paypal. For example, the event name in CIVICRM is "3V2016 - Module 3 - Instructional Design" but it displays in PayPal as "1679-2049-3V2016 - Modul..." I tried this out by registering myself, and the same thing happened. I can't see any setting in CIVICRM to handle this and it worked fine before upgrading to 4.7.4 (from 4.6.x) so I'm not sure what's happening here.

In addition, for the particular registration in question (the real one) the payment processed through Paypal OK and we received the notification email from Paypal, but nothing from the site, and the registration shows as "Pending, incomplete transaction" Again, this worked fine before the upgrade. I saw somewhere that someone resolved this in a Wordpress installation by making the CIVICRM module's extern folder writable so I've done this (777) rather than (755) so I guess we'll see what happens with that. This is what I found in the log file in the Config and Log directory:
Mar 22 11:44:44  [info] Could not find payment processor for contribution record: 2049

Mar 22 13:45:33  [info] Deprecated: Group='Contribute Preferences'. Name='cvv_backoffice_required'. Defaults should come from metadata

Any suggestions/help would be greatly appreciated.
Thanks
Chris


texts:
I want to create a membership type that is non-renewable. Let's say a membership that lasts for 6 months and is free.

If someone is already a member and clicks Join again (which is effectively a renewal) then I do not want them to be able to extend their membership (in other words an extra 6 months free). Is this possible?


texts: How can I reference a contact's Drupal/Wordpress/Joomla account with a CiviMail token?

texts: From time to time we need to send messages through CiviMail that include a contact's CMS (Drupal/Wordpress/Joomla) username or ID. How can we add this to the available tokens?


texts:
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 this
  occurred. The file '/tmp/knp_snappy5b68b75c2e47a.pdf' was not created
  (command: /usr/bin/wkhtmltopdf.sh --lowquality --margin-bottom '1in'
  --margin-left '1in' --margin-right '1in' --margin-top '1in' --orientation 'landscape' --page-height '792pt' --page-width '612pt' '/tmp/knp_snappy5b68b75c2e3a2.html'
  '/tmp/knp_snappy5b68b75c2e47a.pdf').

Someone else had the same problem on this forum and was able to solve it by removing proc_open from disabled modules in the php.ini. Mine however makes no mention of proc_open.

I checked that /usr/bin/wkhtmltopdf.sh exists and the Drupal status report shows, working:

  Printer, email and PDF versions - PDF generation library  wkhtmltopdf
  0.12.4

Does anyone have experience with wkhtmltopdf with CiviCRM and know how to resolve this error?

I am using Drupal 7 and CiviCRM 5.3.1 with Linux and Apache.

When I run the command manually, I get the following error:

/usr/bin/xvfb-run: 183: /usr/bin/xvfb-run: /usr/bin/wkhtmltopdf: not found

Here are the contents of the /usr/bin/wkhtmltopdf.sh Script:

#! /bin/sh
/usr/bin/xvfb-run -a -s "-screen 0 640x480x16" /usr/bin/wkhtmltopdf $*


texts: Webform CiviCRM Event Confirmation Email Not Sending

texts:
CiviCRM 4.7.30, current Webform CiviCRM 7.x-4.19

When 'Send Confirmation Email' = Yes on the CiviEvent, filled out. When the user submits Webform CiviCRM, the event participant is registered successfully but no confirmation email is sent. I reverted the CiviCRM email template for Event Online Registration to default, to rule that out.

Workaround - we made the email send from Webform, but this is a bad workflow for staff who just wants to make CiviEvents.

Does anyone else have this issue?


texts: How do I write unit tests for time based actions?

texts:
If I have an delayed action in my code then how on Earth can I unit test this?

For example a membership transition?


texts:
I've been requested to add a feature to our installation that allows an admin to copy or duplicate an existing contribution, including all it's custom fields.

I was wondering if anyone has tackled this before, or if there is an extension out there which may help.

If not, any pointers to doing this the right way?  Should/Can this be written as an extension?

I was thinking to add a button on the contribution view page (not sure which template this may be yet), and then use the API to pull the current contribution (hopefully with custom fields) and create a new one with the same fields (removing/replacing the transaction id so we don't have a duplicate key).

I'd appreciate any tips on this.


texts: Installation Error with WordPress 4.6.1 and CiviCRM 4.7

texts:
After successfully trialing CiviCRM on a local desktop PC, we have decided to install on our hosted wordpress website.  I am following the instructions as listed here to the letter (3rd attempt) - https://wiki.civicrm.org/confluence/display/CRMDOC/Installing+CiviCRM+for+WordPress

Login to your WordPress site with Administrator level permissions.
Go to plugins page:http:///wp-admin/plugins.php.
Click the'Activate' link to activate the CiviCRM plugin.

When I try to go to Settings > CiviCRM Installer: http:///wp-admin/options-general.php?page=civicrm-install

All I get is this error - "Sorry, you are not allowed to access this page."
And when I go to settings in the wordpress admin panel there is no CiviCRM options appearing.

So I am unable to proceed.

I have checked permissions and made all relevant folders writable (i think?). So not sure what the problem is?  Any suggestions please?


texts:
As best I can tell, the menu link for a new mailing:

https://mysite.org/civicrm/mailing/send?reset=1
Redirects to https://mysite.org/civicrm/a/#/mailing/new

But this fails as a white screen.

The console tells me:
Failed to load resource: the server responded with a status of 500 (Internal Server Error) GET https://mysite.org/civicrm/a/ 500 (Internal Server Error)

Any ideas what's causing this? The same problem is true for A/B mailings.


texts: How to change the name of the receipt attached to new membership

texts:
By default it's called receipt.pdf and I would like to rename it and make it French also ;-).
Where can I set this name?

by the way, is it possible to not have this receipt attached?


texts: Change the web version of an email / change a URL?

texts:
Example:
Sent email, included wrong link and some wrong text.  Too late to change email - but is it possible to change the URL direction or change the text for the browser version?

Latest Drupal 7 and CiviCRM


texts:
I'm having trouble to correctly setup ACL and Drupal roles (Civicrm 4.6.35 on Drupal 7)

I have my contacts assigned to different groups (let's say G1 ... G5)
For each group there is a corresponding responsible group (GR1 ... GR5)
People assigned to the GR1 are allowed to edit contacts in G1 but are not allowed to see contacts from the other groups (unless they are member of the related GR group)
I've created an ACL role RespG1, assigned this role to GR1 and gave this permission to edit G1 contacts.
The drupal user which is memeber of GR1 has no extra Drupal roles.

I thought this would work but the user doesn't see any contacts at all.
When I give the Authenticated drupal role permission to see all contacts this overrules the ACL and he can see all contacts but that is not the purpose.

What am I missing?


texts: Civicrm Admin menu bar adding to a custom theme

texts:
Was wondering whether anyone could shed some light on how to add the CiviCRM menu bar to a Drupal 7 customised theme (e.g. a theme built from scratch).  What javascript and parameters need to added to the tpl file to ensure the menu bar is rendered as required.

Thanks.


texts: How to display a related Contact's Participant Custom Field in a View

texts:
Using Drupal Views, I want to display a Parent custom field in a Children list.

I can display (e.g.) : (CiviCRM Contact B) CiviCRM Contacts: Sort Name (Parent)

But if I want to display (CiviCRM Contact B) CiviCRM Custom: Infos Parents Participants: Préférence de clocher (Préférence de clocher), (which is a Participant Custom Field), I get an empty column

Is it possible to solve that ?


texts: Does Price Set for Memberships also allow for Recurring on a Donation

texts:
Goal is that a Membership page will have a Price Set that offers Membership (not auto renew) plus 'other amount' that would have option of being set as recurring.
I read http://wiki.civicrm.org/confluence/display/CRM/Price+Sets+for+Recurring+Contributions but it doesn't leave me any wiser (yet).
I set up a Price Set on demo here http://d46.demo.civicrm.org/civicrm/admin/price/field?reset=1&action=browse&sid=11&new=1 but see no option on the Donation price field to make it recurring.
I confirmed that there is no such option either when I set up a Price Set for a Contribution page, so conclude that for Donations, it uses the 'recurring' settings from the Contribution page settings, but that if we use a Price Set for Memberships, we have to turn off "Contribution Amounts section enabled" and hence concluding that there is no such an option for a Membership page. Is there a way to to this that I have missed?


texts: How to deactivate "update this field mapping" for users?

texts:
I would like the users to have only permissions for saving a new export mapping, and not updating the existing ones. Where can I modify this permissions?

Thank you!


texts: Error on updating contact after upgrade to CiviCRM 5.10.3

texts:
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: Transaction integrity error: Expected to find active frame thrown in .../sites/all/modules/civicrm/Civi/Core/Transaction/Manager.php on line 107


texts: Memberships don't get updated when they elect to auto-renew

texts:
We are using Wordpress and when a member elects to have their membership auto-renewed and we received payment for this in CiviCRM it doesn't update their end date, it still shows their membership expired.

Also, when it's a new member joining for the first time and they elect auto-renew, it puts their membership into a pending status even though we have received payment.

Any help here would be greatly appreciated as it's causing me to do a lot of manual updating on these records.


texts: How to set a recurring membership start date to be 1st of the month

texts:
We have Authorize.net and Stripe as payment processors. We'd like to have recurring memberships run on the 1st of the month. I see under contributions there looks to be the potential to set it but that isn't working. (Does Civi still support the ability to set a specific start date for recurring contributions?) There is no such setting for membership.

How can we pass this data to e.g. Authorize.net? Is it technically possible to have custom code achieve this and has anyone done so?


texts: Marking Activities with Priority "urgent" in another color

texts:
In the CiviCRM system I work on, activities created for a specific case can have the priority "normal" or "urgent". This attribute is set by the user when creating the activity inside the CaseView. Internally, the "priority_id" of this activity is set to 1 == "urgent" or 2 == "normal".
Now, I want to mark the activities with priority "urgent" in another color when listed in the CaseView as well as in the Case Overview (Cases > My Cases). I started with the first task (changing the activity layout in the CaseView activity list).
I tried modifying the sites/all/modules/civicrm/templates/CRM/Case/Form/ActivityToCase.tpl at line 23, added the following if-clause. This template is included in sites/all/modules/civicrm/templates/CRM/Case/Form/CaseView.tpl in line 259, which seemed like the correct place in the CaseView.tpl for the activities to appear. I added:
{if $form.priority_id == 1}
   {$form.file_on_case_activity_subject.label}
{elseif $form.priority_id == 2}
   {$form.file_on_case_activity_subject.label}
{/if}

where before we only had:
{$form.file_on_case_activity_subject.label}

When this didn't work, I tried to set an "urgent" class to the $form.file_on_case_activity_subject.html as well:
{if $form.priority_id == 1}
          {$form.file_on_case_activity_subject.label}
          {$form.file_on_case_activity_subject.html}

            {ts}You can modify the activity subject before filing.{/ts}

        {elseif $form.priority_id == 2}
        {$form.file_on_case_activity_subject.label}
          {$form.file_on_case_activity_subject.html}

            {ts}You can modify the activity subject before filing.{/ts}

        {/if}

where before we only had:
{$form.file_on_case_activity_subject.label}
{$form.file_on_case_activity_subject.html}

            {ts}You can modify the activity subject before filing.{/ts}

As this didn't work either, I suppose I am modifying the wrong place. Any hint anyone?
Edit: I created an extension with the following code, but it doesn't work yet:
function mark_urgent_activities_civicrm_buildForm($formName, &$form) {
  if ($formName == 'CRM_Case_Form_CaseView') {
    CRM_Core_Resources::singleton()->addStyle('#crm-container table.nestedActivitySelector tr.priority-urgent {background-color: orange;}');
  }
}

Edit2: Accessing the elements with priority-urgent class works in the css file, both as
.priority-urgent {
font-weight: bold;
}

and
#crm-container table.nestedActivitySelector tr.priority-urgent {
font-weight: bold;
}

The (background / font) color doesn't work yet, but I suppose that's only because  element cannot have background color.


texts: Share development costs in order to have multiple PDF in Civirule

texts:
Who could be interested to share the funding for the extra development needed to send multiple pdf with one CiviRule?
Let's say you have a new member and you want to send him/her one welcome message with a personalized receipt and a special certificate. Imagine you could create a Civirule to merge them from your templates and send them for you using the PDF API.
According to the developer of the extension, it would be a small work.
Send PM if you're interested, because we are!


texts: How do I open a case that started more than twenty years ago?

texts:
We have one client whose case started 25 years ago.

This falls out of range of the allowable open case date range and produces this message:

Is there a way to expand/change this date range?


texts:
Trying to get all assigned tags displayed for my contacts when doing a quick search / using search builder or advanced search.

When adding tags through a profile, it seems they don't get displayed in the search results when using the same profile to detemrine the result structure. In another Post (Include tags or groups in Advanced search views?) it seems one of the community members was able to resolve this using the search builder, trying to do that it seems the behaviour changed wheras the tags would not be displayed in the result.

Running CiviCRM 4.20 on Joomla.

Thanks,


texts: Your Organization Profile for CiviCRM - Survey - To help us make an educated decision

texts:
We are really hesitant on moving toward CiviCRM because of our size (40k donations per year and > $5M in income with 150k contacts). We have put together this survey below...what is the best way for me to connect with other similar sized organizations to help me get answers to these questions? We are coming from BlackBaud Raiser's Edge.

Last year we priced other options based on our record count and everything that would work will cost us $30-50k annually. Enter CiviCRM...We have the tech skills to implement it, but it may not be a viable solution since its not one of the "big players" in the Donor DB world - you know the $30-50k/yr ones. Thanks for any help. I really want to give CiviCRM a whirl, but need to make sure

What is the income/donation-size of your organization ($10k, 100k, 1M, 10M, 100M)?
How many donor records do you currently have (1k, 10k, 100k, 1M, 10M)?
What are your top 2 donor Metrics and Key Performance Indicators (KPIs) you track within the CiviCRM reporting capabilities?
What are the top 2 strengths you experience with CiviCRM?
What are the top 2 weaknesses?
How much time per month do you spend customizing reports inside of and outside of CiviCRM, if applicable?
How long have you used CiviCRM to date?
What CRM database did you use before?
If budget wasn't a constraint, would you still use CiviCRM or is there another system you would choose?
How many Donor Development employees do you have? How many are power users of CiviCRM? How many are Development officers for fundraising?
How do you best track moves management in CiviCRM?
Who supports your instance of CiviCRM- you or an external vendor?


texts: Getting problem while getting group id of current logged in user

texts:
I am trying to get a group id of currently logged in user

function search_civicrm_preProcess($formName, &$form) {
    $getContactId = (int) CRM_Core_Session::singleton()->getLoggedInContactID();
    $query = "select 'group_id' from 'civicrm_group_contact' where contact_id ='.$getContactId'";
$dao1 =&  CRM_Core_DAO::executeQuery( $query, CRM_Core_DAO::$_nullArray );
}


texts: "alter routine command denied to user" error when installing extensions?

texts:
I have installed civicrm 4.7 on drupal 7. Installing of extension failed with error:

DROP FUNCTION IF EXISTS civicrm_strip_non_numeric [nativecode=1370 ** alter routine command denied to user 'civicrm'@'localhost' for routine 'civicrm.civicrm_strip_non_numeric']

I have grant all to the database, named civicrm.


texts: Display a form in a widget (footer, sidebar)?

texts:
I'd like to add a form/profile in a footer or sidebar widget.

I tried the Shortcode Widget plugin recommended in a Jan'18 question and placed the widget in the left column of a footer, but the form doesn't appear. I'm WP 4.9.8 and Civi 4.7.29, and here is the shortcode I put in the widget: [civicrm component="profile" gid="17" mode="create" hijack="0"]. The test shortcode "[shortcode_widget_test]" does work, so it seems to be a Civi-related problem (?).

I also saw a question from 2016 that suggested using an HTML form snippet: "Go to Administer CiviCRM > Profiles, then HTML Form Snippet under 'more' for your chosen snippet. Copy all the code there and paste it into your text widget." but I don't have that option under "more".

Can anyone help?  Thx!


texts: How to patch / add a plugin to Joomla CiviCRM?

texts: We have the CiviCRM Admin Bar showing up on the Front-End of our site and I've found a possible solution/patch, 'https://github.com/civicrm/civicrm-core/pull/13820, but I don't know how to install the patch. I've downloaded the .zip of the patch from github. Now what do I need to do to get it installed on our site? Thanks in advance for any assistance you can provide.


texts:
Since I started using CiviCRM about 5 years ago I've thought one of the biggest problem areas was related to tracking and searching for contributions based on household, which is generally how non-profit contributions should be tracked. It's been the source of many struggles at 2 or 3 orgs I have been associated with during this time.

Soft credits have helped to some degree, but require consistent and mistake-free work. A possibly very useful solution occurred to me last night - what if any time an individual makes a contribution it automatically soft-credited the household they are a member of?

Ideally it could be turned off and on and have the ability to control based on financial type.

Thoughts?


texts: Members Can't Log-In to renew membership

texts:
Some of my members are having trouble renewing their membership. When they go to our renewal page, they enter their email and receive a message that says "The username or email you provided do not exist. Please try again." I can see that the email they are entering is the one we have on file in their contact file. What could the problem here be? Is there a setting we need to change in their contact files? This only happens with some members, some renew no problem.

Members enter their email and it should redirect them to a form to pay their fees (auto-filling information from the previous year). For our members with the issue logging in, it doesn't seem to recognize their email at all.


texts:
(on Drupal)
Our organisation runs its own annual events with complex ticketing, but we also list a great many events posted by our users, across a number of categories. Some of these can get a bit complex such as one-weekend-a-month modular courses.
We are doing a ground-up site rebuild, and I'm wondering whether to use CiviCRM for all events (so far we have only used it for our big annual ones).

Creating events via the civiCRM backend is probably too daunting for most of our users (plus access control is a challenge) - Is it possible (examples would be good) to create events via a webform?
Or are we best to keep the Date/Calendar/Event modules approach in Drupal?


texts: How are "Billing" location and "Is billing address" automatically set by CiviCRM?

texts:
I'd like to know under what circumstances does CiviCRM automatically set an address's Location Type to "Billing", under what circumstances does it automatically set the "Is billing" checkbox for an address.

For example, when completing a public-facing contribution form, or a webform, etc., how are these fields populated?

(I've read Why is there a Location Type AND a Checkbox for billing addresses? which aims to explain the purpose of these fields, how they might be used and understood, and why you might manually set them one way or another, but this is slightly different, since I want to know how they're automatically set by CiviCRM.)


texts: How can I convert/export my mailing (a newsletter) into a PDF

texts: Please can you advise on the above. Can't seem to work it out!


texts:
I have upgraded drupal to 7.72 - (28/8/20). I wanted to update Civicrm from 5.9.1 to 5.10.0 but got "Access denied" after running http://mysite/civicrm/upgrade?reset=1. So I tried going to 5.28.3 but ended up with the same issue.
I am logged in to Drupal on another tab and can log in to drupal.


texts: Custom Field that is a Foreign key to contact in Custom Group that extends Event is not updated on merge of contacts

texts:
I have created a Custom Group for Events. This Group has one custom field Organizor which is a autocomplete with contacts.
But on merging the contact the Organizor custom field is not updated accordingly.


texts: Crediting event payments by another contact

texts:
We fairly often have events where a registrant pays for part of their fee, and another contact (sometimes also a participant) pays the rest. I'd like to record the payment for the Contact and soft credit it to the appropriate participant's event fee.

Any chance this is possible? I'd be open to manipulating the database, if it's not possible in the civi interface.


texts: Trying to run Civi cron Jobs using Drupal cron?

texts:
I'm running Civicrm 4.4.7 on Pantheon.

I added the module called 'Elysa Cron' to my Drupal site which allows the option of running Civi cron whenever Drupal cron is run. The status report in Drupal shows that Civicron is running but nothing happens in Civicrm.
Any idea what can be the issue?


texts: How can I change the wording of the "In Honor of" tab?

texts: How can I say "First Name of Person Being Honored/Memoralized," "Last Name of Person Being Honored/Memoralized," etc. in the contribution page instead of "First Name," Last Name," etc.


texts: Why is there no Facebook share button on thank-you pages?

texts:
When you create contribtuion pages in CiviCRM you can choose to "Allow sharing through social media"

The following image appears at the bottom of your thank-you page when the contribution has been processed.
There is a Facebook like, but no Facebook share.  Is there a technical reason for that or has no-one seen a need for it before?


texts: Why is format returned for multi-select custom field API different for Contact vs. Relationship?

texts:
I have contacts with an Alphanumeric/CheckBox custom field on, and I have relationships with an Alphanumeric/CheckBox custom field on. (The former is legacy and is copied into the latter.) These seem to be returned differently when using the getsingle API call. Why is this?

For example:

$ drush -u <uid> cvapi Contact.getsingle id=<cid> contact_type=Individual contact_sub_type=Student return=custom_42
Array
(
    ...
    [custom_42] => Array
        (
            [0] => Fundraise_Donate_for_specific_school_needs
            [1] => Apply_to_become_a_Governor
            [2] => Be on a poster displayed in your old school/college
        )
    ...
)

but:

$ drush -u <uid> cvapi Relationship.getsingle id=<rid> relationship_type_id=21 return=custom_112
Array
(
    ...
    [custom_112] => Array
        (
            [Fundraise_Donate_for_specific_school_needs] => 1
            [Apply_to_become_a_Governor] => 1
            [Be on a poster displayed in your old school/college] => 1
        )
    ...
)

CustomValue.get, however, returns the same format for the Contact and the Relationship field, and that format is more like the Contact one above.


texts:
I am trying to create a view in Drupal listing all contacts marked as 'on hold' due to their email bouncing.

I am unable to find this 'on hold' field for selection in Views. Is this by design or is there some fault with my install.
If this is by design, is there a way to show this in Views so I can complete this 'report'?


texts: Contact SubType check fail in Smarty TPL file

texts:
Have  strange issue checking contact type in \templates\CRM\Contact\Form\Contact.tpl

This code prints  Organization / Society

{$contactType} / {$contactSubType}

This code prints Organization / Society

{if $contactType eq 'Organization'}
   {$contactType} / {$contactSubType}
{/if}

But this one prints nothing

{if $contactSubType eq 'Society'}
       {$contactType} / {$contactSubType}
{/if}

And this one prints nothing

{if $contactType eq 'Organization' && $contactSubType eq 'Society'}
       {$contactType} / {$contactSubType}
{/if}

Shouldn't it "just" work? Or it's another bit of CiciCRM magic?


texts: Adding contacts to group after receiving mail from them

texts: Say, for example that I want to divide my contacts into two groups, an active group (contacts from whom I've received a mail in last few months) and an inactive group (countacts from whom I haven't received an email in the last few months). Is there a way to do this in CiviCRM? I was looking at CiviRules, but couldn't really find what I was looking for.


texts: Stripe.js token was not passed! (using Webform Integration)

texts:
I am on Drupal 7.51 / Civi 4.7.12 / Stripe Extension 4.7.1

I use a Webform to register a membership, and I have integrated a Contribution Page based upon a Stripe Payment Processor (with "Live Transactions" mode).

I get the following message :
A fatal error was triggered: Stripe.js token was not passed! Report this message to the site administrator.

I see on the Stack Exchange that this already happened in the past, but not clear it was with Webforms.

I also know that not all payment processors are compatible with webforms : is it the case with stripe ?


texts: Civi Volunteer 2.4.1 fatal errors on install CiviCRM 5.33.2 Drupal 7.78

texts:
I have just installed Civi Volunteer on Civi 5.33.2 with Drupal 7.78.  No errors were displayed on install.  I am seeing errors, including fatal ones.  I have worked through the Volunteers menu items and found the following:
New Volunteer Project
CiviVolunteer and nothing else
Manage Volunteer Projects
relationship_type_id is not a valid integer
Configure Roles
Working
Configure Project Relationships
getFieldValue failed
Configure volunteer Settings
'volunteer_project_relationship' is not a valid option for field option_group_id
Volunteer Interest Form
Form displays
Search for Volunteer Opportunities
Form working
I followed the various advices, including uninstall and reinstall, running the job to remove the tables, removing the extension files, clearing caches and resetting paths. I have a log file of the errors. I am not sure how to include this.
Any help would be most welcome, as I am trying to persuade a possible new user with some 80 volunteers to take CiviCRM.
Regards
Graham


texts:
After upgrading Drupal to 7.3.8 (don't know if this is related), I'm getting an error when a user logs on and belongs to groups/holds a role that is set up with CiviGroup Roles Sync.

  Role groupname (group id) should be held by user username (drupal user id)
  because they are part of group id (contactID: civi id)

When I check the user's groups and roles, they appear to be correct.
The error is listed in dblog for each group that they are a member of.

Groups are regular groups, not smart groups.

Appears to be happening for all users.


texts: Missing payment fields on membership renewal

texts:
Hi,
for some reason the fields for payment of the renewal of membership are missing.
Is it something with configuration?
Version is 4.7, but the issue was there even before the upgrade
br,
M


texts: Bulk merge creating multiple address (and email) records of same location type

texts:
I'm pretty sure this is not an intended behavior, but I want to make sure.

When I try to add a second address of the same location type I get an error and civi will not let me (Image 1).

If I use the merge tool and I try to merge contact A (Image 2) with contact B (Image 3), I am told moving/merging the home address to the home address of the destination contact will cause an overwrite (Image 4).

In the merge tool I see no conflicts even though contacts have home addresses that differ (Image 5). If I use the [Batch Merge All Duplicates] button I end up with 1 contact with 2 different address records of the same type (Image 6). Same issue with email addresses, although civi will let me add two email addresses of dame location type (which I don't think should happen).

Bug?

*note, this was tested on civi demo site.

Image 1

Image 2

Image 3

Image 4

Image 5

Image 6


texts: Is there a way to have conditional fields like in Drupal 7?

texts:
I use CIVI 5.x and Drupal 7.

I would like to have conditional fields, that display is certain conditions are met, for example:

New Customer, IF group is business, show business address field, IF group is individual, show home address, etc..

Same behavior as Drupal conditional fields basically


texts: How to limit access to manage/create contacts by type via user roles?

texts:
Have a small franchise type non-profit organization in which multiple level users within the org need access to tools within civi, however, we do not want base level users that are managing their individual school sites to be able to add higher up organizational type contacts (like other school or club locations or regional type centers). We just want them to work on their individual members only, and to limit the availability of specific management/access of contact types based on their specific roles.
We are using the Relationship extension to manage permissions on their own members down the chain of command, but we need to cutoff the chain of possible contact types they have access to and also hide those possibilities in the nav menu.  Any help is much appreciated!!!  *using civi 5.2.2 and drupal 7


texts: I need some help resolving db error:unknown error CSV Import helper when selecting a CSV from my desktop

texts:
I prepared a CSV for upload. I'll have to make multiple passes on the upload  because I have single entry items and multiple  entry data in the spreadsheet. I have created all of my custom fields. I can do a standard contact import with the unsupervised rule.
I see that I need an ID number for the multi-record import. I installed the CSV Import Helper to prepare for the multi-record import. When I select the CSV (I'm using the ; for my field delimiter) I get the DB error: unknown error from CiviCRM.
I'm on WordPress with CiviCRM 5.20.1
The only error I see in the Civi error log is :

[26-Feb-2020 16:20:05 UTC] PHP Notice:  Undefined index: SERVER_NAME in /home/websiteweb/public_html/wp-content/plugins/LayerSlider/classes/class.km.autoupdate.v3.php on line 75
[26-Feb-2020 16:20:06 UTC] PHP Warning:  session_start(): Cannot start session when headers already sent in /home/websiteweb/public_html/wp-content/plugins/civicrm/civicrm.php on line 364

My end goal is to merge the contact IDs into the data set so I can proceed. Any advice is welcome.


texts: Show different events to different user groups

texts:
I have users in different groups; depending on the group they are in, when they see the events listing, I'd like them to only see events that are relevant for them based on the group(s) they are in.

For example, let's say I have users in 3 groups: Employee, Manager, Contractor.  Manager gets to see events for all groups.  Contractor only gets to see Contractor events.  Employee gets to see events for Employee and Contractor.

Right now I am just using the basic CiviEvent listing: https://mysiteurl/civicrm/event/ical?reset=1&list=1&html=1.

One option I have thought of is to use the "Event Type" as a filtering mechanism because you can then use URLs like https://mysiteurl/civicrm/event/ical?reset=1&list=1&html=1&type=XXX.  So then for event display I would create my own event listing page and embed iframes.  I would still need to find a way to identify programmatically what group the user is in and only display the iframe for that user.  The problem with this option is that it does not show the events in date order: it would show the Employee events in date order, then in a separate section the Manager events in date order, and in a third section the Contractor events in date order.  I feel this would become confusing for people.  I'd rather show them just one single event list that is in date order and only shows events that are relevant to them.

I guess it might be possible to use views?  But I don't know much about views.

So I'm looking for advice or help.  I haven't been able to find any plugins or sample code that might do this but it seems like it would be a super common use case?

THanks!

PS: I am on Drupal 7 and Civi 4.6.X.


texts: Search for people who have NOT registered for an event

texts:
I am trying to search for any person within a specified group in Civi that has NOT registered for a specific event.  The intention is to then send them all an e-mail to ask why they have not yet registered, encourage registration, etc.

I'm stumped as to how to search for people who have not registered for an event.

Thanks


texts: Can I set a contribution page to have pledge selected by default with a default number of installments?

texts:
I would like to have my contribution page default to pledge instead of one-time and also have a default number of installments. Is this possible?

Thanks!


texts: Errror when selecting an action from Find Participants

texts:
From Find Participants, I get an error when selecting an action. Seems to be any action.

  Fatal error: Uncaught Error: Using $this when not in object context in /home/fotgm080/public_html/wp-content/plugins/civicrm/civicrm/CRM/Event/Form/Task.php:130 Stack trace: #0 /home/fotgm080/public_html/wp-content/plugins/civicrm/civicrm/CRM/Event/Form/Task.php(78): CRM_Event_Form_Task::preProcessCommon(Object(CRM_Event_Form_Task_AddToGroup)) #1 /home/fotgm080/public_html/wp-content/plugins/civicrm/civicrm/CRM/Event/Form/Task/AddToGroup.php(71): CRM_Event_Form_Task->preProcess() #2 /home/fotgm080/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Form.php(543): CRM_Event_Form_Task_AddToGroup->preProcess() #3 /home/fotgm080/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/QuickForm/Action/Display.php(92): CRM_Core_Form->buildForm() #4 /home/fotgm080/public_html/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Display->perform(Object(CRM_Event_Form_Task_AddToGroup), 'display') #5 /home/fotgm080/public_html/wp-content/plugins/civicrm/civicrm/packages/HTML/ in /home/fotgm080/public_html/wp-content/plugins/civicrm/civicrm/CRM/Event/Form/Task.php on line 130

I'm still on CiviCRM 4.7.24 on WordPress 5.1 so I expect the proper solution will involve upgrading, but I'd like to delay that till when I have time to do some testing.


texts: Clean URLs don't work after install in Backdrop

texts:
I'm intalling civicrm on backdrop cms. Setup returns that installation was succesful.
I see the link in the admin bar, but when clicked, the link gives me 404 error.
If I add "?q=", links works, the page display, but any other link doesn't work.
Clean urls works fine on the site.
I'm performing a migration from Drupal 7, were civicrm was updated and functioning.
System:
Backdrop 1.18.0
MySQL Database MySQL, MariaDB, or equivalent version 5.5.5-10.3.27-MariaDB-0+deb10u1
php Version: 7.3.19-1~deb10u1 (PHP information)
Servidor web Apache/2.4.38 (Debian)
Civicrm 5.33.1
I would appreciate any advice.
Andrés


texts: Scheduled SMS Reminders aren't delivering

texts:
I've set up a Scheduled Reminder for an activity with the following parameters:

Activity type= Custom Type
Activity status= Scheduled
When= 1 day before scheduled activity date and time
Recipients= Activity targets
Send as= SMS

I scheduled an activity for myself (I have a valid mobile) to let the system run to see what happened.

CiviCRM recorded 1 activity: Reminder Sent 2nd Jul 2017 12:05 PM which was one day before the activity. But no SMS was actually received. I've checked the clickatell account and there is no record of an attempt, so we know it didn't fail for some reason there.

Am I missing something obvious? Works a treat for email notification, but they want to switch notifications to SMS.

We know the SMS is configured correctly because we can successfully send one-to-one and bulk SMS messages to contacts with mobile numbers and can see them all in clickatell. Lots of credit on the account as well.

CiviCRM 4.6
Drupal 7
Clickatell 3.0


texts: I want to load my page (Generated by extension which is created by me) in a new popup window. Someone please tell me how to do this?


texts: I want to auto default phone type as home - can't locate where/how to manage that. Any help appreciated. Thank you.


texts: Registration Button not working on CiviCRM Event Page

texts:
Ok So I am working on CiviCRM 5.19.2 and WordPress 5.6.  I've created an event in CiviEvent and set it to active.  My Event page has the following shortcode
[civicrm component="event" action="info" id="8" hijack="1"]
which leads to the event information page as it should.  However, the Register Here button isn't working.  It just resets to the event information page again.  If I add the shortcode for the registration page
[civicrm component="event" action="register" id="8" hijack="1"]
to the same Event Page, it leads to a list of events with more links that don't work.
I've temporarily bypassed the event info page so that my participants can register but I'd like that event info page in place with a working link.  Any ideas?


texts: Require suggestions on how to handle custom 'contribution'

texts:
I run a large non-profit dog registration system.  One of the functions is to require all dogs to be registered with us for this particular sport.

The way I have it now, I have set up individual contacts and added custom, multiple entry custom fields.  Individuals need to purchase a dog registration.  I'm struggling with this setup since if the individual already has a dog registered, that dog info pops up in the form rather than it being blank.
The only way I can see charging for registration of dogs in this manner is through CiviContribute.  I would like:
1. Member accesses page to add a dog
2. Member enters dog info
3. Member enters payment info (I'm using iATS payment gateway)
4. On successful payment, the registration is completed.

Did I shoot myself in the foot by making these multiple custom fields under an individual?  I had heard some suggestions where the dogs should be a sub-class of an individual and then use a membership status to charge for them?
The issue with this is that there are way more fields then needed for a dog - how do I restrict which fields are visible on the backend for this type?

I'm looking for discussion and suggestions on this.  Any help is much appreciated.

Norm


texts: How to fetch perticular column data of table?

texts:
Currently I am using API for fetch the data.
I am creating an extension.
I want to fetch the particular column's data from the table. How will I get the data?

//getting id and name
public static function getName(){
 $data = ($id,$name);
  $result = civicrm_api3('Emp', 'get', [
      'sequential' => 1,
      'return' => ["id", "name"],
  ]);

  foreach ($result['values'] as $value) {
      $data[$id] += $value['id'];
      $data[$name] += $value['name'];

  }
  return $data;
}

  Select option using BuildQuickForm

$this->add('select',
      'name',         //field type
      'name', //field label
      $this->getName() //list (id, name)
      );


texts: Are there any pre-conditions or required settings to print/merge documents in 4.7?

texts:
Since CiviCRM 4.7 it is possible to print/merge documents not only as a pdf-file but also as an odt, docx or html file.

Does the function to create odt or docx files require any particular setting, installed libraries etc? I did not find any documentation and wanted to ask before I start debugging.

I have a "fresh" CiviCRM 4.7.16 instance and I am able to create pdf and html files but not docx or odt (File not found error).


texts: How can I display detailed Authorize.net error code info from civicrm_system_log in the Civi interface?

texts:
We're on Civi 4.6.21 and Drupal 7. We use Authorize.net for payment processing.

Error messages from Authorize are displayed in civicrm_system_log in the context field as json encoded data. The error messages are useful for determining exactly why a transaction failed - a card was declined, the billing address info is wrong (an "AVS mismatch") or other reason.

I'd like to be able to see the error message info in the Civi interface, without having to go in to the back end MySQL table - civicrm_system_log - as I do now.

There is a way to see the system_log data using the API - see the screenshot below.

I want to be able to include the error message info in assigned Activities to renew a membership, ideally using a rule created using CiviRules as part of a membership renewal workflow, and for the assigned caller to be able to easily see exactly why the previous transaction did not go through - the card was declined, the billing address is wrong, etc - and to get the correct info from the target/member.

So how can I do this?


texts: WordPress: Creating new WP Users from CiViCRM Contacts

texts:
My situation is I have an Individual database of 11,344 Contacts in Drupal Civi, and I want to turn them all into WP Users. I know I can convert Users into Contacts, but I want to do it the other way around.
 I have pointed my WordPress CiViCRM to a drupal Civi database which I need very much. I want the CiViCRM members to show under WordPress users but this isn't working. I have downloaded the plugin  CiviCRM WordPress Profile Sync; but I can see the plugin on button on my dashboard to even try something. Can you please help me? I really need this issue solved. Thank you


texts: How can I show users the mailings they have been sent?

texts:
I am using CiviCRM 4.6.x with Drupal 7.

I would like users who are logged in to be able to see a table or list of all of the mailings they have been sent. The should be able to click on the subject line (or some other link) in the list in order to see the full text of that mailing.

Can this be done and if so, how? In CiviCRM? With Views?

Thanks for any suggestions.


texts: ACL controls not working with smart groups?

texts:
I submitted a bug on an ACL problem in Nov 2014. CRM-15662. It was fixed in 4.5.5, and I tested it as working.

This appears to be broken again in 4.7.1. I have not tried to use this feature in a year so I don't know what happened since I last tested it as working. The organization needs this feature now. The target purpose is that chapter staff be able to view and edit their own members. A smart group is used to define the data they can see.


texts: Removing Carriage returns after a blank address field?

texts:
We have an address block on some pdf templates in CiviCRM some contacts have address2 or address3 lines while other do not.

Using the normal tokens we end up getting blank lines and the address block looks messy.

Has anyone found a way of conditionally formatting the address block to not create these blank lines?

I was looking for some IF(Token not NULL THEN add Token and carriage return ELSE nothing) but can't find any solution online.

Thanks,

Dave


texts: Are custom Dedupe General rules working for anyone?

texts:
On CiviCRM 4.7.8/Joomla 3.5.1, I've experimented with variety and can't seem to get this to work. The preset reserved rules, import, inclusive in contact record and main dedupe rules are all working. If I create a new General Rule with just Email set for 10 characters with a weight of 10 and a Threshold of 10 on a group of 10, 50 and 100 contacts in a group with both known and no dupes. Running this rule just runs and runs without any results whether or not the frontend times out to 500 error.

The default Reserved Rules run lickety-split.
Please advise.


texts:
I am trying to use Views to create a report to easily filter by an event and then see the specific line items for a registration. I cannot find a way to list the line items for a specific contribution.

I have tried Views as well as CiviCRM Entity but I have not been able to figure this out.

Any ideas on how to do this are greatly appreciated.

Thanks,
Steve


texts: Assign civi group by membership subscription?

texts:
Is it possible to automactically assign contacts to a civi-group by membership subscription?

Then when membership expired or remove contacts will be remove from that group?

We need it for our joomla website so we can assign user to a joomla group by this plugin here https://github.com/lcdservices/CiviCRM-Group-Sync (we tried using civi-authenticate plugin for joomla, but thats dont work properly)

We are struggling, so will appreciate any help.

Thanks
Julash


texts: Warning: A non-numerical value encountered in CRM_Contribute_BAO_Contribution

texts:
Why did I get this warning when entering contribution?

Warning: A non-numeric value encountered in CRM_Contribute_BAO_Contribution::calculateMissingAmountParams() (line 383 of /sites/all/modules/civicrm/CRM/Contribute/BAO/Contribution.php).

CiviCRM 5.11 on Drupal.

I clicked on New Contribution in the menu and then entered a cash contribution.

The problem also exists on CiviCRM Sandbox server
dmaster.demo.civicrm.org


texts: How to track bounces from Sendgrid in CiviCRM 5.x?

texts:
We're set up with CiviCRM and Sendgrid but don't have bounce processing as far as we can tell, and are not sure how to fix that.  All information on using the SendGrid api is pretty old and we have no idea if it'll work given the present civi version (that being 5.x rather than the info I'm finding re: 4.x).

For example, the Sendgrid Event notification processor is 4.4, 4.6 and 4.7 only.


texts: Cancel recurring payment link in the receipt is missing

texts: When I enable 1 payment processor like stripe the cancel recurring payment link appears in the receipt. But as soon as I enable 2 payment processor the link disappears and only shows “this is a recurring contribution “. Anyone else faced this issue? How did you solve this? Thanks


texts: Configuring Front-end Contact Dashboard in Joomla Sites

texts:
After the configuration steps at https://docs.civicrm.org/sysadmin/en/latest/integration/joomla/dashboard/ I get the following error and can't resolve the issue.

url(/administrator/components/com_civicrm/civicrm/css/civicrm.css); @import url(/administrator/components/com_civicrm/civicrm/bower_components/jquery-ui/themes/smoothness/jquery-ui.min.css);    Sorry but we are not able to provide this at the moment. We can't load the requested web page. This page requires cookies to be enabled in your browser settings. Please check this setting and enable cookies (if they are not enabled). Then try again. If this error persists, contact the site adminstrator for assistance.

Site Administrators: This error may indicate that users are accessing this page using a domain or URL other than the configured Base URL.     function toggle( element ) { var className = element.className; if ( className == 'crm-accordion-wrapper collapsed crm-fatal-error-details-block') { element.className = 'crm-accordion-wrapper crm-fatal-error-details-block'; } else { element.className = 'crm-accordion-wrapper collapsed crm-fatal-error-


texts:
I'm not 100% sure, if the next process is safe or not, so first of all, I ask...

In my company's CiviCRM are more than 3900 Contributions, which should be deleted. These Contributions can be listed as result of a report in CiviReport, but not as result from the SearchBuilder because the query is too difficult for SearchBuilder (with 'NOT IN' clauses etc.).

On the report's page, on the Developer tab I see the SQL query of the report, and I have access to the CiviCRM's database, so I can run this query. I can rewrite the SELECT query to a DELETE query.

Is it safe - after backuping the database - run the DELETE query to delete all unneeded Contributions from the civicrm_contribution table, or it causes database inconsistency?

Thank you!


texts:
I'm unable to send mail; it runs for a while but then returns:

Fatal error: Uncaught
PEAR_Exception: not connected in unknown on line unknown
- PEAR_Error: not connected in unknown on line unknown
Exception trace
#   Function    Location
0   CRM_Core_Error::exceptionHandler(Object(PEAR_Error))    unknown:unknown
1   call_user_func(Array, Object(PEAR_Error))   /var/www/slnmembers_drupal/sites/all/modules/civicrm/packages/PEAR.php:931
2   PEAR_Error->PEAR_Error('not connected', null, 16, Array, null)  /var/www/slnmembers_drupal/sites/all/modules/civicrm/packages/PEAR in /var/www/slnmembers_drupal/sites/all/modules/civicrm/CRM/Core/Error.php on line 901

PHP 5.6, MariaDB 5.5


texts:
I'm trying to add conditions to some of my fields of my contribution page, where for example, if a checkbox is checked, it should add the required attribute to this field, and then not submit the form if this field is not filled.

My problem is that, if all of the other form fields are correctly filled, the form is still submitted even if the 'required' attribute was added to this text field, and yet i didn't write anything.
But if the form fields aren't correctly filled, the form is not submitted, and as the contribution page is reloaded, it seems like the 'required' attribute is now taken into account, and a small alert now pops up if the field is not filled.

Here is the small code i wrote to obtain this behaviour :

CRM.$(function($) {

 var checkbox_1 = $("input[id^='custom_5_7']");
 var other_text = $("input[id^='custom_6']");

 var effectsForOthers = function () {
    if (checkbox_1.is(':checked')) {
        cj("[class^='crm-section helprow-custom_6-section helprow-pre']").css("display", "block");
        cj("[class^='crm-section editrow_custom_6-section form-item']").css("display", "block");
        other_text.attr('required', true);
    }
    else {
        cj("[class^='crm-section helprow-custom_6-section helprow-pre']").css("display", "none");
        cj("[class^='crm-section editrow_custom_6-section form-item']").css("display", "none");
        other_text.attr('required', false);
    }
  };

   effectsForOthers();

   checkbox_1.on('change', effectsForOthers);

 });

});

I would be glad if you could help me.

Thanks in advance for all of your suggestions.


texts: Error "No payment information found for this record" when connecting multiple participants to a single payment via API

texts:
I've been working on a camp registration page where an adult registers one or more children for one or more events, with a single Pending contribution to tie it all together (per Xavier's advice here). My API calls successfully create the adult, contribution, children, relationships, participants, and participant payments (a connection to my contribution) without error. However the participants still don't seem to be connected to the payment. When I view a participant record, the total paid shows the full amount with a balance of $0, even though the contribution is $0. When I click View Payments from here, there are no payments to display. When I click Record Payment, I get the error "No payment information found for this record".

Here is a Gist showing just the relevant parts of my code. Any advice is greatly appreciated.


texts: How to show custom data on subsequent recurring contributions or how to setup anonymous donations?

texts:
Drupal 7.69 CiviCRM 5.20.0 iATSPayments 1.7.2

How do we get custom data to show with subsequent contributions in a recurring series or to have recurring anonymous donations? We use a custom data profile so donors can select that "they want this donation to be anonymous." If they check this box, we need this information to continue on with each recurring contribution. In the reporting, the staff can see the donations to projects they oversee. If the donor was anonymous, they do not see the donor info just the amount. Does anyone have any suggestions on how to accomplish this since subsequent recurring contributions no longer carry the custom data forward?
It used to work using custom data. This is a mess for our office staff because they have to try to catch these anonymous donations and manually add the missing custom data before the other staff see the the names.


texts:
I am using Civi 4.7.22 on WordPress 4.8.22
The Civi Tutorial says that Google no longer requires an API to use maps in civi. I am creating an event complete with an address location.  All boxes to display the map are checked.  Google Maps is select in Mapping and Geocoding.  Yet the map is not displaying on the event page.   Am I missing something?

Thank you.


texts: Adding new relationship results in htmlspecialchars warning

texts:
I know this is something that has been mentioned a few times but in all instances I've seen, the issue has been fixed in later releases so I'm assuming this is a new problem that has come up.

Using Drupal 7.69 and CiviCRM 5.19.4 on PHP 7.1

When we go into a contact record, relationship and then click on add relationship we get the following error:

Warning: htmlspecialchars() expects parameter 1 to be string, array given in HTML_Common->_getAttrString() (line 144 of /home/site/public_html/sites/all/modules/civicrm/packages/HTML/Common.php).

I cannot replicate this error on the demo site nor other sites we have that are on the same version of CiviCRM and Drupal but I'm hoping this is something someone has come across before and knows an easy fix.

Please let me know if any further information is required and I'll update my question with the relevant information.

Thanks!


texts: Authorize.net Recurring Payment not being updated

texts:
I have 2 or 3 recurring payments with Authorize.net that are not being updated in Civi.
Authorize.net shows that these recurring payments are being processed properly.
CiviCRM shows the recurring payment as 'in progress' but the payment never shows up in CiviCRM.
For the most part, I have no issue with recurring payments, but I'd like to find out if there is a way to troubleshoot these few payments and get things working properly again.


texts: Is there an extension to limit activity types to contact types?

texts:
We have a custom activity type that should only be added to contacts of a specific contact subtype (ie activity targets must be of given contact subtype)

Is there an extension to enforce this?


texts: Does Summary Fields extension work on 4.6.x

texts: The Summary Fields extension is listed as working with 4.4 and 4.5. I am testing it on 4.6.8 and when I go to the Summary Fields tab for a contact that does have some Contribution records I see blankness. I have debug and backtrace on but am not seeing any errors as such. I haven't used this Extension before so it is possible I am just not using it correctly. Does anyone have this working on 4.6 or is it known to fail?


texts:
CiviCRM Log Viewer 1.2 not working after upgrade from CiviCRM 4.6 to 4.7, what do I need to change for it to work again?

Error message (I took out root dir info)
Unable to read entries from logfile at /wp-content/plugins/files/civicrm/ConfigAndLog/CiviCRM.d1b4fb7408ae18b71a1d53b3.log

There is no such file in the "files/..." directory


texts: How to get over 'Failed to locate CMS...' exception on civix?

texts: I was working to create skeletal extension module through civix but unfortunately I am getting this exception "Failed to locate CMS. Please call civix from somewhere under the CMS root."


texts: When I go to run the API, I get errors looking for examples

texts:
Civi version 4.6.3.
When I access the API, it loads but with errors related to the examples.

This is an IIS server.

  Warning:
  scandir(C:\inetpub\wwwroot\sites\all\modules\civicrmapi/v3/examples,C:\inetpub\wwwroot\sites\all\modules\civicrmapi/v3/examples):
  The system cannot find the path specified. (code: 3) in
  CRM_Admin_Page_APIExplorer->run() (line 55 of
  C:\inetpub\wwwroot\sites\all\modules\civicrm\CRM\Admin\Page\APIExplorer.php).
      Warning: scandir(C:\inetpub\wwwroot\sites\all\modules\civicrmapi/v3/examples):
  failed to open dir: No such file or directory in
  CRM_Admin_Page_APIExplorer->run() (line 55 of
  C:\inetpub\wwwroot\sites\all\modules\civicrm\CRM\Admin\Page\APIExplorer.php).
      Warning: scandir(): (errno 2): No such file or directory in CRM_Admin_Page_APIExplorer->run() (line 55 of
  C:\inetpub\wwwroot\sites\all\modules\civicrm\CRM\Admin\Page\APIExplorer.php).
      Warning: Invalid argument supplied for foreach() in CRM_Admin_Page_APIExplorer->run() (line 55 of
  C:\inetpub\wwwroot\sites\all\modules\civicrm\CRM\Admin\Page\APIExplorer.php).

There appears to be a missing slash in the warnings between the civicrm and api folders.

If I edit APIExplorer.php and add either \ or \/ the error goes away.


texts: If a civicase is reopened why isn't the Case Coordinator (and other roles) reinstated?

texts:
Client is wondering why when a Case is reopened it does not regain the Case Roles it had when it was closed.

Seems a fair enough question.

So perhaps the follow on question is - will a patch to fix this be accepted or will others  argue this may not be the desired outcome?


texts: Contribution updating the wrong members record

texts:
We have CiviCRM 4.7.12 working on Wordpress 4.6.1. having no problems other than described below.

For a few months now, we've noticed that occasionally when an existing member renews using PayPal, their contribution record correctly records their contribution (usually twice!), but their membership record is not being updated.  Instead, another contact's expired membership record is being updated to show a new membership, without a contribution.  When the confirmation receipt is sent to the contact who has made the contribution, it shows the membership new start and end dates of the other contact.  We have to do manual changes to both contacts records to put things right.

We have had no contributions off-line for a while to test whether this problem only affects PayPal users.

Has anyone else experienced this and if so how did you correct things please?  I'm totally baffled as to why this is happening.  I've delayed reporting this for a while because I was hoping that things would correct themselves following 2 or 3 upgrades.

This is a bit similar to
Membership creation is altering unrelated records but there has been no answer to that question.


texts: "Abandoned" Ubercart orders marked as "completed" in CiviCRM

texts:
I'm using Drupal (7.38), CiviCRM (4.6.5), Ubercart (7.x-3.8) and Ubercart_CiviCRM (7.x-4.x-dev). Whenever a user (registered/anonymous) purchases a product from the site, a contribution will be added into the CivCRM contact. If the user is anonymous, the system will create a user in Drupal as well as a contact in CiviCRM, linked by the email address. I notice some of the orders have a status of 'Abandoned' in Ubercart, but under CiviCRM's contribution tab for this contact, it is listed as 'Completed'.

I have gone through the uc_civicrm module and I found the following code in uc_civicrm/uc_civicrm.module

function _uc_civicrm_map_contribution_status($order_status) {
  // NOTE: There may be a more "correct" way to do this.
  $map = array(
    "completed"        => 1,
    "payment_received" => 1,
    "pending"          => 2,
    "processing"       => 5,
    "canceled"         => 3,
    "in_checkout"      => 5,
  );

  if (array_key_exists($order_status, $map)) {
    $id = $map[$order_status];
  }
  else {
    // Oh no.
    $id = 1;
    watchdog('uc_civicrm', 'There is no status that maps to %order_status, marking as "Complete"', array('%order_status' => $order_status), WATCHDOG_WARNING);
  }

  return $id;
}

I want to synchronize Ubercart's order status with the CiviCRM contribution status. How can I do that?


texts: Default value in custom field cannot be searched

texts:
i am working on CiviCRM 4.6.10 and came across this problem which doesn't seemed to be asked on the web:

I created a custom field with radio button of 3 options
I defaulted the field to one of the value and made it a required field
When a new contact is created through a event registration, the field does not show any value when the contact is viewed through in "View Contact".
Searching or reporting that use the field as a column shows nothing in the field
However, upon clicking the field in View Contact, it shows the defaulted value
After saving the field without changing anything, the field now shows the defaulted value
Searching and reporting using the field as a column now shows the default value as expected

I suppose this would be a bug ?  Thanks for your time and advice.


texts:
There seems to be tokens for all sorts of contribution things but not for the financial type.   Maybe I'm missing it somewhere.

We're doing tax letters and the type ends up being the fund the people donated to, which we'd like to include in the letter.


texts: Persistent "Your database has already been upgraded to CiviCRM" Problem

texts:
I am updating CiviCRM from 4.7.27 to 4.7.31 on WordPress 4.9.4. Other than CiviCRM, everything is up to date.

I've thoroughly Googled the problem, and have tried three times to do the update. But the "Your database has already been upgraded to CiviCRM 4.7.27" problem persists. I've followed the relevant portions of Upgrading CiviCRM for WordPress for current versions of WordPress and CiviCRM.

In particular, in response to problems other people have had, I've:

Completely deleted my /wp-content/plugins/civicrm folder via FTP (I didn't just rename it).
Downloaded a fresh copy of CiviCRM 4.7.31, unzipped it locally, and uploaded the civicrm folder to /wp-content/plugins. I confirmed that the remote copy of civicrm.php references version 4.7.31 in the header.
Deleted the files in /wp-content/uploads/civicrm/templates_c.
Cleared the browser cache (I'm using Chrome).
Searched the site files for a rogue civicrm plugin directory. There is none.

All of this in addition to all the other relevant steps in the Upgrading wiki article. (We're not using localization files.)

Nothing works, and I continue to be haunted by "Your database has already been upgraded to CiviCRM 4.7.27" when I run the upgrade script.

What could I be missing? What is causing the problem?

Thanks!


texts: Why aren't State options non-default countries (outside UK) showing for billing address on the contribution page of a webform?

texts:
Drupal 7.39
CiviCRM 4.5.8
Webform Integration 7.x-4.11

I've got a webform to capture membership info and payments.

To share the address with related contacts, Contact 1's address is captured twice, once in a main details section and again on the final contribution page.

When entering the first address the country and state fields work fine. If a non-uk address is selected the expected state/province fields are available to select. (The organisation already has a number of overseas members).

United Kingdom is the default country in localization settings.

On the contribution section, the uk states appear as default. If Uk is deselected and another country chosen the state field displays only the UK options.

When accessing the related contribution page directly the address fields behave as expected. States list populates dynamically from the chosen country.

The contribution page is configured specifically for use with the webform so no profiles are included the profile tab.

I've tried deselecting uk as default and leaving that for the user to choose. But that meant no states at all were displayed in the state box on the webform.

State/Province is configured as a required field on the webform contribution page so leaving it set to none means payments can't be configured.

As it stands the form can be used for domestic membership sign ups, but cannot be used by prospective overseas members.

Has anyone seen anything like this before? Any pointers to settings I need to amend?

Thank you!


texts: CiviVolunteer Permissions vs CiviCore Permissions

texts:
Getting an error CRM_Volunteer_Permission::check($permissions) should be compatible with CRM_Core_Permission::check($permissions, $contactId = NULL) on line 151 of CRM/Volunteer/Permissions.php.  Pops up on front end Events with volunteer options and back end.

I'm at my wits end.  Followed along some other threads which seemed to be similar errors with Permissions.php but no luck.

Wordpress 5.0.3, CiviCore 5.9.1, CiviVolunteer 4.7.31-2.3.1

Thanks!