texts: File permissions for installng and enabling Civi Drupal

texts:
The setting of file/directory permissions for standard drupal is pretty well known and the kinks are worked out.
On the other hand, I have never been able to figure out the golden steps to take to make my Civi install work perfectly the first time.
I normally make an attempt, do the composer require, fix up a few more perms, try to enable and watch it fail, then go fix up a few more perms and re-enable.
I always eventually get there but there is always way too much trial and error.
does anyone have the steps nailed?
I've done something like this after my base drupal install prior to requiring and enabling Civi...
sudo su
root3="/var/www/d9_reco"
echo $root3

cd $root3
mkdir -p ./web/sites/default/files/civicrm
mkdir web/libraries
sudo chown -R <me>:www-data .
sudo find . -type d -exec chmod u=rwx,g=rx,o= '{}' \;
sudo find . -type f -exec chmod u=rw,g=r,o= '{}' \;

sudo chmod -R g+w web/core/lib/Drupal/Component/
sudo chmod -R g+w web/sites/default/files
sudo chmod g+w web/sites/default  # for civi, undo this after civi install
sudo find ./web/sites/default/files/civicrm -type d -exec chmod u=rwx,g=rx,o= '{}' \;  # for civi
sudo chmod g+w web/libraries # for civi

Sorry, can't seem to get the formatting of that block correct.  It is totally ignoring my line breaks and joining lines???  Ah, I think I got it.


texts: How to use Views to send a Mailing to a Selection of Recipients?

texts:
Drupal 7.60, Civicrm 5.6.0

I want to give to my users the ability to send a mail or mailing to a selection of recipients, based upon some cross selection of fields values.

Views is a good tool for this cross selection and to get a recipients list.

But then, how can I pass this list to the Mailing Form ?


texts: Display menu and pages of a newly created extension

texts:
I am working a new extension that i created throough civix. i have added some pages and some forms, how do i display the menu on the home page of the extension and navigate to the different pages and forms. when i install my extension and run it, i get this message:  Thank you for creating with WordPress.

Version 4.2.2


texts: CiviEvent Live and Test Registration pages yield error when accessed

texts:
I'm currently using Wordpress 5.5; and CiviCRM version 5.25.0
I'm getting the following error log when trying to access registration pages for any of our events:
Aug 18 14:46:20  [debug] $backTrace = #0 /home/example/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(419): CRM_Core_Error::backtrace("backTrace", TRUE)
#1 /home/example/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(39): CRM_Core_Error::handleUnhandledException(Object(CRM_Contribute_Exception_InactiveContributionPageException))
#2 /home/example/public_html/wp-content/plugins/civicrm/civicrm.php(1479): CRM_Core_Invoke::invoke((Array:3))
#3 /home/example/public_html/wp-content/plugins/civicrm/includes/civicrm.shortcodes.php(295): CiviCRM_For_WordPress->invoke()
#4 /home/example/public_html/wp-includes/shortcodes.php(343): CiviCRM_For_WordPress_Shortcodes->render_single("", "", "civicrm")
#5 internal function: do_shortcode_tag((Array:7))
#6 /home/example/public_html/wp-includes/shortcodes.php(218): preg_replace_callback("/[([?)(civicrm)(?![\w-])([^]/](?:/(?!])[^]/])*?)(?:(/)]|](?:([^...", "do_shortcode_tag", "[civicrm]")
#7 /home/example/public_html/wp-content/plugins/civicrm/includes/civicrm.shortcodes.php(203): do_shortcode("[civicrm]")
#8 /home/example/public_html/wp-includes/class-wp-hook.php(287): CiviCRM_For_WordPress_Shortcodes->prerender(Object(WP))
#9 /home/example/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, (Array:1))
#10 /home/example/public_html/wp-includes/plugin.php(544): WP_Hook->do_action((Array:1))
#11 /home/example/public_html/wp-includes/class-wp.php(758): do_action_ref_array("wp", (Array:1))
#12 /home/example/public_html/wp-includes/functions.php(1285): WP->main("")
#13 /home/example/public_html/wp-blog-header.php(16): wp()
#14 /home/example/public_html/index.php(17): require("/home/example/public_html/wp-blog-header.php")
#15 {main}
the resulting page provides the following generic fatal error message:
"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 page you requested is currently unavailable."
As far as I am aware, there have not been any recent changes to our setup that would have prompted the error, as it was working fairly recently. Any tips or direction would be greatly appreciated!


texts: Having issues with recording new payments for registrations paid with credit cards

texts:
I am running CiviCRM (4.6.9) on Joomla (3.4.5), and am having issues changing registrations for events and posting payments due to changes to the registration options for an event.

We have a lot of events with options.  We use price sets pretty heavily to cover all of those options.  If a user registers for an event, and pays with a credit card all works as it should.  However if that same user comes back to us and wants to change their registration, by wanting an additional option like attending a banquet, the status for that event for the user gets changed to Partially Paid.  This is where it all break down for us.

If the user chose initially to pay offline (by sending us a check), instead of by credit card, we can at this point open the Event record for editing, and see a Record Payment link right there where we can click, record a new payment that we took offline and everything is perfect.

For the user that paid with a credit card, we don't see that Record Payment link.  If we return to the event listing for that user, click on the More link and choose Record Payment, we immediately get an ugly looking error.  The error is:

An error has occurred.
 0

 Sorry but we are not able to provide this at the moment.
No payment information found for this record

Return to home page.

For watever reason the error is not displaying right.  If I look at the jumbled mess of an error I see the following:

Sorry but we are not able to provide this at the moment. No payment information found for this record

Why does this functionality work fine for events paid offline, but not events paid with credit cards?  It also works fine for event registrations that are created through the backend, even if I choose that it is paid with a credit card.

How can I fix this?  Or work around this?

Has anyone else run into this?

Any help or guidance would be appreciated.  Thank you.


texts:
Vistors to our website can fill out a form to create an account. It is a CiviCRM profile, and "WordPress user account registration option" is set to "Account creation required". The username and password fields are shown above the profile but a Wordpress account is not created when the form is saved. A Contact is created, but it is linked to the Wordpress admin account (ID #1).

I attempted to replicate this on the Wordpress Demo site. I created a profile that required Wordpress registration, but it (quite reasonably) would not allow me, as the demo user, to create a page for embedding it. When I view the profile in "Create Mode", it does not show the username and password fields (even when not logged in), and no new contact or account is created.


texts: Custom CRM/Mailing/Info.php causes WSOD when installing extensions

texts:
I'm using the custom PHP feature of CiviCRM to apply patches etc I can't do with a hook.

I have a custom version of CRM/Mailing/Info.php which causes problems when installing an extension. I get the (redacted) error ...

PHP Fatal error:  Cannot redeclare class CRM_Mailing_Info in /custom-code-area/CRM/Mailing/Info.php on line 0, referer: https://example.org/civicrm/admin/extensions?action=add&id=nz.co.fuzion.accountsync&key=nz.co.fuzion.accountsync

When I remove that PHP file, all is well.

Potential culprit

I see that civicrm_rules_civicrm_postProcess() in drupal/modules/civicrm_rules/civicrm_rules.module on line 132 has ...

  require_once 'CRM/Mailing/Info.php';

Could that be the cause? Assuming this is called before the custom code is included.


texts: Unwanted  paragraphs spawned in civiMail body forms

texts:
Whenever I save a draft email in civiMail, one or more  tags are added to the top. I have to remove them each time. If I don't, even more are added with each save. Does anyone know what's happening?

civiCRM 4.6.13

Thanks!


texts: I am attempting to export to contact data records from the CiviCRM application. How do I export this information?


texts: Can I customize the contact relationship tab to show custom fields?

texts:
I have a relationship type with some custom fields.  Is there any way to customize the relationship tab under a contact, to display those custom fields?  Instead of the default Start/End/City/State/Email/Phone?  I have looked at the templates used, and ultimately the data to populate the oTable seems to come from an ajax call to civicrm/ajax/contactrelationships

I'm pretty sure I'm at a dead end, but figured I'd ask here before giving up.  Thanks!


texts: Integration with a swipe card check-in system?

texts: Our charity currently operates a manual check in system for users of our facilities. We are considering installing a swipe-card automated system at the gate. Can this be integrated with Civi CRM so we know who has checked in when. No payment is taken at check in.


texts: How do I do a mass email to all volunteers?

texts: I am very new to civi and am needing advice on now to do a mass email to all volunteers. I have the language that is to be used in the body of the email. I will copy and paste this to the "Group" or "Mass" email. Thank you for the help!!


texts: Automatically sync new Wordpress registrant to CiviCRM Contact

texts:
We are in the process of switching a database of several thousand contacts to CiviCRM. We have a legacy Wordpress site, so we have CiviCRM nicely integrated in. We are about to go live. We don't want to force ALL our existing contacts to become Wordpress users, but as they renew memberships, give donations, sign up for events, we want to give them the option to register as a Wordpress user (Subscriber - we currently have 0 Wordpress Subscribers and a handful of WP Administrators). We are only requiring email and password to register. How do I get the new registrant to automatically either (1) become a new contact if the email is not in the CiviCRM contacts or; (2) simply assign the login to the right CiviCRM contact when the email matches? We can register new Wordpress users and run "Synchronize Users to Contacts" which works as desired, but we don't want to run the manual step. When they register the first time on Wordpress, we want the Contact relationship established immediately, so that they will be logged in and then can do the kinds of things we want our CiviCRM members and donors to do online.

Thanks for any help - we're pretty new at CiviCRM, really like it, but are still coming up to speed.


texts: Clean reinstall of CiviCRM Extension GDPR on Wordpress

texts:
I've been trying to evaluate the GDPR extension before adopting it fully.  I entered some dummy information about Privacy files, which I now wish to delete and start afresh.  There doesn't seem to be any easy way of deleting that information.  I've tried disabling the extension, uninstalling it and then re-installing it but the information that I originally entered keeps coming back which suggests to me that the information has been stored in the CiviCRM database.

The documentation shows:
Removing¶

If you no longer wish to use GDPR, you may disable it, or uninstall it.

    Disable - will turn off GDPR’s features, but preserve any data that you have created with it. If you re-enable GDPR later, you'll be back where you left off.
    Uninstall - can be done after disabling, and will completely remove all traces of GDRP, including the data created with it. If you re-install GDPR later, you'll be back to square one, before you ever installed it.

The "removal of all traces" hasn't worked for me and as I've said, I want to do a completely fresh install.
Has anyone else tried to do this and if so, with what results?


texts:
We are a trade union with several hundred members paying their dues on a monthly basis. They pay via their bank or through check-off from their employer. We have to keep their contributions and membership status up to date.

We have membership status rules set up so that we know who is a financial member and who has lapsed.

My question is this: how to bulk import contributions in a way that will automatically renew the membership?

Batch data entry seems to achieve this - but it requires putting in the names one at a time.

Importing a csv file enables bulk import of contributions, but does not seem to automatically renew membership.

Using profiles does not seem to renew membership either.

So ... suggestions would be much appreciated.


texts: Increase the import limit (3MB) for Contact import

texts:
I have a great quantity of Contact to import in CiviCRM and I absolutely need to increase the actual 3MB limit to, at least, 150 MB, with a view to fit my needs.

Many thanks for the help!

Regards


texts: How to prevent the accidental the deletion of contacts, when an obligation exists to keep their records?

texts:
In the Netherlands, the taxpayer can deduct gifts to charities from his income tax. The tax authorities take samples and can ask a charity to report the gifts it received from a particular contact. The length of the period they can ask this is seven years. So the records of this contact must be kept in these years.
Is there an elegant way to prevent deleting, or trashing a contact that gave a contribution in the last seven years?


texts: "New Mailing" doesn't take me to Mosaico

texts:
We've had Mosaico installed for a while, and we like it, however, I don't think it is behaving as it should in our installation. Here is what I think should happen:

Select Mailings / New Mailing
A Mailing editor opens up, which is different than the "Traditional" editor. This Mosaico Mailing editor shows Mosaico templates as thumbnails, rather than a drop-down list. Such as https://wapix.co/wp-content/uploads/2017/08/001-1200x561.png
Select the Mosaico template
The Mosaico editor opens and you edit your message with all of the Mosaico features.

Here is how our installation behaves:

Select Mailings / New Mailing
The Traditional mailing editor opens. Mosaico templates are listed in the drop-down box.
When a Mosaico template is selected, the code is placed in the CKEditor as if it were any normal message. No Mosaico drag-and-drop capabilities are available. See image.
To use the Mosaico features, we have to use the template editor, save the template, and then base a new Mailing on that template in the old "traditional" editor.

For the longest time, I thought this was just a quirky behavior -- create a new Mosaico Template for every mailing, and then put that into the traditional Mailing editor. I've since started to suspect that this is not the case.

Can I get some confirmation that this is, in fact, incorrect behavior? And, any ideas as to why this is happening?

Joomla 3.9.2, Civi 5.9.0


texts:
I have created some custom file fields so I can add some files (pdf, doc, zip etc) to each user profile.

When I upload the files, everything works great.
I the backend the file names are displayed correclty,
BUT in the frontent the filenames are changed:
a string like "_8b9c34bb85a1219b9e1f60e02d82907c" is atteched.

How can I fix this?
I use civicrm 4.6.11 and wordpress 3.8

UPDATE 5/4/2016:
I have tested version 4.6.14 and 4.7.4 on wordpress 4.4.2 (latest version)
on different Plesk (TopHost) and Cpanel (SiteGround) shared servers.

The problem remain the same.

The files are stored correctly but at the frontend an HTML text on the link is added.

See Screenshots:

user profile custom fields backend

user profile custom fields frontend

backend civicrm 4.6.14

wordpress 4.4.2 frontend profile page civicrm 4.6.14

server settings


texts: How to use auto-complete reference field in a profile?

texts:
I am currently using an auto-complete field to indicate which member is representing which organisation. When I preview the field, either in the personalized fields or in the profile I am using it in, the field appears fine (see first image). However, when I use that profile in a contribution page, the field is only ever rendered as a textbox without any kind of auto-complete enabled (see image 2). Is there some kind of custom permission I need to set or is this simply a bug?

Thank you

Image 1:

Image 2:


texts: Why is the entity.action permission sparse?

texts:
I've recently been exploring the $permissions array that drives API actions and extracted the metadata from the logic to allow displaying as a nice table.

The CRM_Utils_Hook::alterAPIPermissions($entity, $action, $params, $permissions) hook further modifies this permission matrix before it gets passed to function check($permissions)

The grid is sparse in some places and references:

DynamicFKAuthorization
_civicrm_api3_check_edit_permissions($bao_name, $params)
addSelectWhereClause()
CRM_Case_BAO_Case::addSelectWhereClause

What is the over-arching strategic architecture behind this? (to the extent that one exists at least)

Or what should it be?


texts: I have a WordPress website with large CiviCRM database. For some reason, CiviCRM is reading one of my Administrators as a contact name (not matching his name) and every time I try to delete him and make him a new user, it matches him to another contact (not his). How can I find a fix for this issue?


texts: Membership start date and "member since" date not set with online contributions

texts:
I've noticed that ever since we started taking online contributions (last summer) new members have been getting created with null start date and "member since" date. Offline memberships (created via the backend) work fine, and the membership statuses all seem to work correctly otherwise. The end date is also set correctly. I'm using both GoCardless and Stripe payment processors and the problem appears with both of them.

The practical upshot of this is that these members are not being counted in the membership summary dashboard - this is probably also a bug - either the schema should enforce these values not being null, or the dates shouldn't be used to calculate a "current" member.
In case it's relevant, here are the membership status rules:

Some other details:

the memberships are rolling
hosted on Drupal 7 and MySQL
running CiviCRM 5.34.0, but problem dates back to at least 5.28.1, the version running when the earliest membership of this type was created.
Detailed logging is enabled, and there's no evidence of the dates being set and cleared.

There are similar issues described at Start/member since dates not being set since upgrade to 5.3.2 and Member Since and Start Date aren't being recorded in membership details but there is no resolution of either of those and they're both a few years old, so I figured a fresh report would not be a bad thing.
Edit to add screenshots of the contribution page (membership and profile sections):

Edit to add:
Some experiments I tried to rule out various causes

The same thing happens with a dummy provider or a free membership.
Pay later puts the membership into pending state, with no dates at all (based on comments this also seems unexpected
The same thing happens on a clone of the live site with all extensions disabled
The same test installation with a completely fresh install and the demo contribution form works as expected, populating all the dates correctly.

So have pinned it down to something in our live database at least, rather than anything basic with the environment or code deployment, but I've pored over the differences in settings and contribution forms from database dumps and found nothing promising.


texts: Embedding a listing or directory with variables

texts: I need to create a public list from civicrm. That part is straightforwards. A profile with shortcodes into WP would work. But the list needs to be filtered by country.  So it is not practical to have a profile for every country. What is the best way to embed a public list in a WordPress page based on a profile combined with a variable for country?


texts: Automatically create recurring donations from bank statements

texts:
I'm using the wonderful civibanking extension to import the bank statments, including creating the contributions from the donors that directly wire money to our bank account

for the "normal" bank transfers (one off) it works great, we lookup the donor, create a new contribution and all is well

However, we have some donors that sends the same amount every month. They have a different transfer type (one of the column in the bank statement), so we can identify them.

Instead of "simply" creating a contribution, we'd like to
1) check if there is an active recurring contribution of type "bank transfer", if not, create it
2) add the contribution as one linked with that recurring contribution

Is this possible to do out of the box? Any guidance on how to code it?


texts:
I'm having an issue similar to that described in Blank emails to some specific addresses

When I send an e-mail to myself (using SMTP through Civi) it is fine. However, some recipients do not see the body text of e-mails. This occurs with both html and plaintext. It does not appear to be dependent upon the e-mail provider of the recipient, as Gmail (which works for me) does not show the e-mail body for others. One recipient who also has system access sent the test SMTP settings e-mail to themself and it worked, body text included, but sending a regular e-mail through the system did not. I'd greatly appreciate help with this issue as I'm having trouble identifying the cause.

Using 5.3.1, but the issue was present prior to upgrade as well.


texts: Profile creation workflow message, where is it located?

texts: I would like to modify format and content of profile creation notification email message. Which template is it?


texts: How do I manage a database with millions of mail recipient records when searching on opens or click throughs?

texts:
We are working with a group that sends tens of thousands of mailings on a weekly basis so the civicrm_mailing_recipient (and related tables) have millions of records.
They also want to track opens and click throughs. The problem is that it takes eons (like over 5 minutes) to search these tables.
I think the answer is to purge this old data.
But just in case, I'm wondering if:

There are optimizing tips to make these searches go faster?
There are any extensions to help automate the purging of old recipient data? It seems that archiving email doesn't touch this data
Any other tips?

Thanks!


texts: Cases appear on my dashboard "My Cases" but no cases appear on CiviMobile App (android)

texts:
I can't see any Cases in the mobile app. Running Drupal core 7.69, CiviCRM 5.20.2, CiviMobileAPI 4.2.1. The account I'm using has administrative privileges.

When I login to my website a view cases I can see the following:

But when I view cases on the mobile app I don't have any cases.

Has anybody else seen this? Any tips on resolving? I am able to see case activities.

Thank you.


texts:
We have AmazonAWS t2.micro server (free tier). T2. micro has 1 Gb of ram and 1 vCPU. Only CiviCRM (4.7.14) is hosted there along with its Drupal.

Currently the database is very small (less than 5000 contacts). Once a day we request Cron to email 6-8 reports (e.g., all contacts, contributions in last 3 years, etc.). The summary daily traffic seems to be below 10Mb. Other than that there are some Smart groups (100-200).

With this setup MySQL is sometimes running out of memory. Could it be wrong settings or 1Gb is just not enough?


texts: CiviCRM 5.9.1 on Joomla 3.9.2 Problems with the language

texts:
I've made civicrm (5.9.1) in a Joomla 3.9.2 installation. Only the English language is available, I find nowhere as I can change the language in German. Do you have a tip for me?
Greetings Michael


texts: Help validating our proposed WordPress/CiviCRM solution!

texts:
Looking for some support from those that have experience with WordPress and CiviCRM to help confirm if what I'm looking to do here is feasible!

We are a small charity and currently putting together a budget to migrate to CiviCRM as well as redesign our front-end website. We typically get around 60 - 80k views per year. We have the idea of breaking out services and giving access to volunteers that need access to specific areas (Wordpress blogging/Mailchimp for Marketing etc) but also to automate as much as possible to reduce IT maintenance overhead.

We are looking at:

WordPress as preferred chosen CMS: We find WordPress is easier to use for our volunteers than Joomla and Drupal. Plus, we are primary and information/storytelling charity so we prefer the experience for our content contributors over Joomla or Drupal.
Membership area: We need to offer a paid yearly subscription for a locked off membership area to the website. It will include downloadable assets plus specific WordPress articles only available to paying subscribers. We'd need the associated forms to collect information about new members, and also send membership renewal emails etc. I understand this needs to sync with a WordPress membership plugins.
Donations: We are looking to offer GoCardless for recurring subscription memberships as a primary method, and Stripe for one-off donations secondary.
List Sync with MailChimp: We are looking to use MailChimp to create our newsletter and marketing automation. We'd like to be able sync paid/unpaid member lists from CiviCRM to MailChimp automatically.
Giftaid: Automatically processing of giftaid application periodically.
Exporting to accounting software: We haven't decided on our new accounting software yet but it will be something SaaS-based - possibly Sage Cloud or Xero.

Questions we have about the proposed solution above:

Will this work? We plan to do a mix of the work ourselves but also work with a freelancer with build experience.
I'm all for using open source, I'm just concerned around the stability of the platform with upgrades etc. Do people have stable implementations like this?
Are they any recommendations for Membership plugins on the WordPress side that work well with CiviCRM?
How do people export their donations to their accounting software for end of year financials? Is it straightforward to do?
Looking at either self-hosting it on Google Compute Engine or a VPS - or looking at a hosted solution. Does anyone have any suggestions?
How are people supporting their solution once it's live? Any suggestions on ad-hoc use of a freelancer vs paid support options with an SLA?

We currently run Joomla with a membership management plugin that is no longer supported, and a few other plugins for mailing/backup etc that are all really challenging to use - hence the reason for looking at a new solution with some investment and hopefully, longevity!

Hopefully - this all makes sense. Really appreciate any suggestions and shedding some light on questions and design. Thanks.


texts: Using civi for big data sets (1 million plus)

texts:
I love civi! But mainly i use it for small datasets of sub 10,000

I have the opportunity to suggest its use in an organisation with a voter pool of 1 million+ I know this is an open ended question but does anyone out there have experience of using civi with large datasets. Is there anything BAD I shoudl know!Hopefully I won't get told off for asking the question!

Any thoughts welcome

Thanks


texts:
I have installed civicrm bitnami stack on google cloud.

I need to connect sql database with tableau for data visualisation. How can i get the server, port, username and password for this connection.


texts:
One can attach a file to an Activity, but is it possible to attach a file to a Contact ? How ?

Then, if the file is an image (jpg or png, ...) how to display it ?

(I am using CiviCRM/Drupal + Webform + Views)


texts: Upgrade error: Rebuild Multilingal Schema

texts:
I'm trying to upgrade CiviCRM on my Wordpress website from 5.25.0 to 5.28.0.
I've already completed upgrade in the past, so I know how to do it.
When I try to update the database, upgrade stay stuck on "[Executed: Rebuild Multilingal Schema]", and then become after few minutes "[Executed: undefined]".

I try to update to 5.26.0 and it's ok.
Then to 5.27.0 and ok too.
But with 5.28.0 it's not ok...

I tried to enable debug mod, but it don't give me more details, excepte when I try to update the database again:

I don't know where else to look, can you help me?
Thanks!
Update 2020-08-19:
I tried to disable all extension, downgrade Wordpress to 5.4.2, and tried to install again 5.28.0 update, but same issue...
Here is a video of the progress of the update:
https://streamable.com/5fubww


texts: How can I generate a CiviMail delivery & Click-thru report

texts: I need to email a report to a person of a particular mass email that was sent from CiviMail. The person doesn’t have access to CiviCRM. How can I generate a CiviMail detailed delivery & Click-thru report from CiviReport and email using scheduled job? Thanks


texts: "Log Volunteer Hours" form required permissions?

texts:
I've installed the CiviVolunteer extension on CiviCRM 4.6.6 on Drupal 7. I can create an event, enable volunteer management, assign volunteers, etc., from both the site's administrator account and from accounts part of the more permission-limited "staff" roll. As the site administrator I can also use the "Log Volunteer Hours" form without issue. However, when I try to use this form as a "staff" user, the form comes up and is populated, but the spinning "loading" triangle never goes away, and my cursor turns into an hourglass over the form. According to the browser console, when I run the page (and the form) as a "staff" user, there is an uncaught TypeError related to the jQuery "each" function (specifically, it is being supplied with an undefined object); this doesn't happen when run as the site administrator.

What permissions does a user have to have to be able to use the Log Volunteer Hours form?


texts: Get "Unable to extract symbolic link" error message when trying to install civicrm 5.19.1 module in Drupal

texts:
I installed Drupal 7 and when I try to add the civicrm (version 5.19.1) module into it, I get next error message on the web interface of Drupal:

  Unable to extract symbolic link
  {temporary://update-extraction-0a20b282/civicrm/vendor/pear/log/README.rst}

and the module is not installed. I would like to know how to solve this.


texts:
I'm having the exact same problem as reported in this ticket:
https://issues.civicrm.org/jira/browse/CRM-18157

I receive blank emails (Email Subject ok) on one of my email address but not on another one. If I send the same mail to both of them. I receive one blank mail and the other one is fine.

Don't know if it's related: with CiviMail, if I ask to receive a test on the problematic email adress, there is the following error message and no mail is send:

"Could not identify any recipients. Perhaps the group is empty?"

I'm using CiviCRM 4.7.6.


texts:
I am using CiviCRM 5.18.4 with WordPress 5.3.2.

On a Donation page, when "pay later" is available and selected, and when the option to send confirmation email is also selected, the "pay later" instructions that are displayed to the user include:
"An email confirmation with these payment instructions has been sent to ."

But no email address is displayed.  The email is sent OK, but the user is understandably worried.

I did see a question about this back in 2018, with a suggested code fix, but that fix has not been implemented.

If no one can fix the code, can someone suggest a workaround?  I do want to use the Pay Later option, without causing users to worry and me to look sloppy.

Thanks!


texts: Copied site to different domain - modules not recognized - resolved

texts:
I reviewed tutorial on migrating to a new domain.  It suggests fresh install of wordpress, then civicrm, which I did.  I changed settings in wp-includes/update/civicrm/civicrm.setting.php file to reflect new domain.  I then "dropped" all civi tables from database (at new domain, except civi_domain, and then used phpmyadmin to export large db file (just civi tables & data) from command line with "foreign key check disabled".  Then, due to .sql file, I ftp'd to user account.  Then, used the following mysql command to import db.sql.  This is culmination of 8 days of various processes and trial/fails.

mysql -u db_user_name -p db_name < db_file_to_import.sql  (it will prompt for mysql db password)

New domain worked, but the modules from "old domain" were listed and displayed as Enabled (Missing).  I am given the option to "Disable".  This is because the extensions were detailed in the db_table civicrm_extension, but no files due to fresh install.

I then ftp'd the extensions from old site to the new domain into;
/wp-content/upload/civicrm/ext/
And... then hit refresh in the extension mgr ui in civicrm and all were recognized...

I can also individually, disable, uninstall, find new, install each module and that process worked too.

In searching around for the extension info I did find one additional absolute path location from old site at /wp-content/upload/civicrm/persist/crm-ckeditor-default.js (FYI)

RESOLVED... Hope it helps someone else


texts: CiviCase: How to handle confidential cases

texts:
I have the following use-case: employees usually have access to all cases in CiviCRM, but occasionally there can be a sensitive case that must only be visible to users with a higher permission level.

I looked at CiviCRM ACLs, but they do not seem to apply to Cases. I also found an old make-it-happen campaign but I don't think it happened.

I'm tempted to create an extension that adds a "confidentiality" custom field to cases, which would restrict access to the case itself, as well as to the case activities. I might not be able to alter the queries for listings (search cases, search activities), but if the subject itself is not confidential, it would be an acceptable compromise (and eventually we can introduce hooks in those listings, if necessary).

Has anyone ever done this? Any other solutions?


texts: Does Authorize.net's MD5 Hash End-of-Life affect CiviCRM?

texts:
Regarding:
https://support.authorize.net/s/article/MD5-Hash-End-of-Life-Signature-Key-Replacement

  Authorize.Net is phasing out the MD5 based hash use for transaction response
  verification in favor of the SHA-512 based hash utilizing a Signature
  Key. The end of life for MD5 Hash will be done in two phases: Phase 1
  - Starting later this month to early February 2019, we will remove ability to configure or update MD5 Hash setting in the Merchant
  Interface. There are no changes to the existing API response.

  Phase 2 - Stop sending the MD5 Hash data element in the API response.
  This change will require that applications support the SHA-512 hash
  via signature key.  Dates for phase 2 will be announced later but is
  expected in the next 2-3 months.

  When you receive a transaction response from Authorize.Net, it
  includes the a SHA2 hash element the name and position depend on the
  API integration method used. The SHA2 has field contains HMAC-SHA512
  hash that Authorize.Net generated for the transaction.

Is CiviCRM's Authorize.net implementation affected?


texts: Recurring contribution cancelled in CiviCRM but still active in PayPal

texts:
I cancelled a monthly recurring contribution in the back end, and the status now shows "cancelled" but in PayPal (more than 24 hours later) it's still Active.
My understanding was the cancellation should have propagated to PayPal, yes?

CiviCRM 4.6.18
Joomla 3.5.1


texts: How to Export full back up of entire database

texts:
I would like to export a full copy of the database contact details - all the details not just the primary.
Short of selecting each individual field, how to I collect "all records' report?


texts: Cannot set sort order of custom fields in profile

texts:
I created a custom group and populated with custom fields. When I preview all fields in group, it is in the correct order.

When I use the custom group in a profile, the profile reverses the order.

I've tried changing weights to order, but I can't seem to make it work.
Any thoughts?


texts:
I noticed that a smart group I created a while back was not displaying the correct records (some were missing).

I rebuilt the cache, but to no avail.

In addition, when I did an advanced search with the same criteria, it did display the correct records.

The only difference I can notice in criteria is an extra "…AND…":

Old smart group:

...AND...
Status = Regular Attender OR Active Member

New advanced search:

Status = Regular Attender OR Active Member

One more data point: when I edit the old smart group criteria and remove all criteria, it only returns a subset of our database – not all records (which, I believe, it should).

Is the old smart group corrupted? What are the next steps in troubleshooting?

We're on CiviCRM 4.6.4 and Drupal 7.38.


texts: CiviMail - KC Finder Cannot Upload Images in CiviCRM 4.6.8

texts:
I'm using CiviCRM 4.6.8 on Wordpress 4.3.1. When using composing an HTML message template, I am unable to upload images into the email, using KC finder. I get these warnings:

  Warning: Invalid argument supplied for foreach() in
  /home/mysite/public_html/crm/wp-content/plugins/every-calendar-1/widgets/register.php
  on line 23

  Warning: Cannot modify header information - headers already sent by
  (output started at
  /home/mysite/public_html/crm/wp-content/plugins/every-calendar-1/widgets/register.php:23) in
  /home/mysite/public_html/crm/wp-content/plugins/civicrm/civicrm/packages/kcfinder/core/class/browser.php
  on line 112

  Warning: Cannot modify header information - headers already sent by
  (output started at
  /home/mysite/public_html/crm/wp-content/plugins/every-calendar-1/widgets/register.php:23) in
  /home/mysite/public_html/crm/wp-content/plugins/civicrm/civicrm/packages/kcfinder/core/class/browser.php
  on line 113

Then when I try to upload an image, I browse for the image on my local machine and then it gives me this warning:

  Cannot write to upload folder.

Where does Civi upload images by default?
How can I resolve this issue?


texts: How do I set up discount for people under 18 for CiviEvent?

texts:
Drupal 7.39
Civi version 4.6.7

Using CiviDiscount 3.1 to add Automatic Discount to an event for folks under 18.

In researching, I saw a PR referenced, that seems to address the issue, but it still doesn't work for me on two different sites.  I applied the patch but it doesn't seem to do anything.

Perhaps I'm misunderstanding the Auto Discount section, but in our use case, folks registering are more often than not, new unknown contacts as they register.  Do the contacts have to be logged on and/or known users for Auto Discount to work properly?

On the registration pages, we are including DOB.

However, regardless of whether we hit apply in the blank code area, the discount is not taken.

If we manually enter the code and hit apply, it works. But seems to disregard the age criteria.  If I am over 18 and have entered the code, I still get the discount.

Our discount configuration looks like this:

So the two issues I'm experiencing are:

The discount does not apply without the code
The discount criteria seems to be ignored and applies the discount to
anyone


texts: Create Drupal users with custom usernames from Company Data?

texts:
In my company members have a unique membership ID. Is it possible, that the Drupal users which are created by CiviCRM, can have this membership ID as the username and not the real name/email address as is used currently?

We would also like to use the members' date of birth as their password and set this automatically.

Thank you.


texts: How to link profile field with multiple values?

texts:
I would like to create a link to a pre-filtered profile search.
I have a field (custom_2) with multiple values.
I was able to link using one value (ex id=2) suing this url:
.../index.php?option=com_civicrm&task=civicrm/profile&Itemid=45&_qf_Search_display=true&custom_2=2

However when I try the following I only get results of the last ID (ex. 1):
.../index.php?option=com_civicrm&task=civicrm/profile&Itemid=145&_qf_Search_display=true&custom_2=2&custom_2=1

When using the following URL, I get the results of both values (2 and 1) but I also get an error:
.../index.php?option=com_civicrm&task=civicrm/profile&Itemid=145&_qf_Search_display=true&custom_2[]=2&custom_2[]=1

Error:
Warning: strpos() expects parameter 1 to be string, array given in /home1/.../public_html/administrator/components/com_civicrm/civicrm/CRM/Profile/Form/Search.php on line 65

Warning: explode() expects parameter 2 to be string, array given in /home1/.../public_html/administrator/components/com_civicrm/civicrm/CRM/Profile/Form/Search.php on line 66

Warning: Invalid argument supplied for foreach() in /home1/.../public_html/administrator/components/com_civicrm/civicrm/CRM/Profile/Form/Search.php on line 68

I'm not sure what to put in the URL to get rid of the error and get results from multiple value of the same field.

This is CiviCRM 4.7.29 on Joomla 3.8.3


texts:
I get an unwanted pair of paragraph tags at the top and bottom of my plain text messages. Any ideas how to get rid of this?

John
Civi 4.6.10
Drupal 7.41


texts: CiviCRM will not recognize valid email address

texts:
I am trying to add a new email address for an existing contact. The address is valid. However, the new address will not save and I received this message:
Please enter a valid email address

The address is: valerie.king@lottery.nh.gov

How can I get the change accepted and saved?


texts: How to identify case activities in find activities or advanced search

texts:
In Activity Detail Reports I can set a filter to include or exclude case activities.

Is there a way of filtering activity searches in a similar fashion?


texts: When editing or adding Individual and Organization contact types the main menu doesn't update the contact type text. For example the options under Contacts > Individuals > are still New Student, New Parent, and New Staff, when they should be New Member, New Intern, and New Staff. When I click on "New Student" it brings me to add a new member page, so it's really just the menu list that is not updating and the pages themselves are fine.


texts:
we just tried to edit some of the display preferences (unticking various things we don't need) but upon clicking 'save' the changes do not hold, even though the green message box says "changes saved".

Is this a known bug? Is anyone having the same issue or know a solution?


texts: Invalid currency "Arr" when modifying member profile

texts:
Why do I get this error message when simply modifying a contact?
Obviously there is no "Arr" currency in Civicrm. This is a new message.
Any thoughts ?


texts: Did the sort order for Campaign change recently?

texts:
I help a group that has a lot of Campaigns and they report that things are sorting differently after a recent update. It used to sort alphabetically when creating a new contribution, but now it sorts by Campaign ID in reverse order (newest first).

Did this change recently, and if so, is it possible to change it back in a setting?


texts: Mailchimp Extension - not recognising API key

texts:
I've installed mailchimp on a site (drupal 7.59, civi 4.6.33)

I have
Created an API key in Mailchimp
Copy/pasted API key to mailchimp settings in CiviCRM

And on clicking save/test get the following message

Could not use the Mailchimp API - API Key required. You will see this message If you have not yet configured your Mailchimp acccount.

Anyone else had this issue? Which blindingly obvious step have I missed out?


texts:
There is a need to manage neighbor-helping-neighbor volunteers in Senior Villages (and similar). Senior Villages are mutual-support organizations, often without paid staff, which provide social, cultural, fitness, and household support to enable their members to stay in their homes and age gracefully. Many Villages have a volunteer clearinghouse for things like rides to the doctor, watering plants while the homeowner is away, friendly welfare check-ups, shoveling snow, etc.
This is different from volunteers for fixed roles at fixed events. Maybe Civicase with an enhanced client/service match function would work. It is similar to a storefront, but for services, not products. It's actually kind of like Uber or AirB&B, where distributed producers provide distributed services through a clearing house.

What we need is:

volunteer registration, with tags for skill set, certification
(background check, CPR, etc.), and availability, including vacation
absences.

service requests, including: type of service, time of service, locations (transport needs start and final destinations; round
trip?); special concerns ("needs help with stairs"; "must transport
wheelchair/walker"), etc.
provider/service match (including volunteer's past workload), query, and assignment
mutual notification of client and provider
confirmation, evaluation, and "lessons learned" feedback from both client and provider; time sheet logging
performance reports for evaluation and recognition of outstanding performance ('cause we ain't paying the volunteers money)

Thanks for any help.

Does anyone know of a module to do this, or can suggest one that might be modified? There are commercial apps that do some of this (Ride Scheduler, Club Express), but not all and which are not readily customizable the way Civi is. Without a staff, we need to embed as much paperwork and process expertise in the system as possible.
As the population ages, but doesn't die or go into care, this is potentially a big market.


texts: Using the LIKE operator with a wildcard using API v3's REST interface

texts:
I am trying to do a simple GET request using a LIKE operator with a wildcard. It's easy to set up the explorer and works as expected. I'm using a demo civi environment using the example data included on install. There are two Heidis in the database.
The rest URL generated in the explorer is:
https://civi.site.com/wp-content/plugins/civicrm/civicrm/extern/rest.php ?entity=Contact &action=get&api_key=userkey&key=sitekey&json={"sequential":1,"first_name":{"LIKE":"Heid%"}}
As is, I know that the URL will generate the error: Unable to decode supplied JSON.
I have reformatted it to:
https://civi.site.com/wp-content/plugins/civicrm/civicrm/extern/rest.php?key=sitekey&api_key=userkey&entity=Contact&sequential=1&json=1&action=get&first_name=Heidi
That works as expected using the exact match on Heidi. I tried using the LIKE operator using array syntax:
https://civi.site.com/wp-content/plugins/civicrm/civicrm/extern/rest.php?key=sitekey&api_key=userkey&entity=Contact&sequential=1&json=1&action=get&first_name[like]=Heidi
I get the expected response, but this uses the exact value and no wildcard characters.
I've tried three different options for wildcards:

Like array no wildcard:
https://civi.site.com/wp-content/plugins/civicrm/civicrm/extern/rest.php?key=sitekey&api_key=userkey&entity=Contact&sequential=1&json=1&action=get&first_name[like]=Heid
Like array with wildcard:
https://civi.site.com/wp-content/plugins/civicrm/civicrm/extern/rest.php?key=sitekey&api_key=userkey&entity=Contact&sequential=1&json=1&action=get&first_name[like]=Heid%
Like array with encoded wildcard:
https://civi.site.com/wp-content/plugins/civicrm/civicrm/extern/rest.php?key=sitekey&api_key=userkey&entity=Contact&sequential=1&json=1&action=get&first_name[like]=Heid%25

None of the three wildcard attempts produce an error, but they return 0 results. I've looked through the docs and have done multiple Google searches but I can't find a workable solution. Any help would be greatly appreciated.


texts: Why are subsequent recurring contributions not recorded?

texts: It seems that only the 1st contribution in a recurring series is recorded in CiviCRM, and the others have to be noticed and entered manually. Is there any way that someone has found to fix this problem?


texts: processing error with civicrm 4.7.31 & stripe 4.7.3 on Wordpress 4.9.4

texts:
I'm getting this error from members trying to sign up, but it's intermittent so I'm wondering if it's browser related:

"Processing Error
An error occurred while processing your transaction.

Please review the error message below and click here to modify your information and try again.

Error Message: The supplied unique organisation name was invalid.

Error Code:07"

The last change I made was an incremental upgrade from 4.7.2* to 4.7.31. It maybe have started then.

I can't even work out what's generating that error message.

We do not accept any other payment method, even offline.

Our membership pages do not ask for organisation name.

I do see this in the Javascript on the page when viewing the source.

<script type="text/javascript">

  CRM.$(function($) {

    var orgOption = $("input:radio[name=org_option]:checked").attr('id');
    var onBehalfRequired = '$onBehalfRequired';
    var onbehalfof_id = $('#onbehalfof_id');
    var is_for_organization = $('#is_for_organization');

    selectCreateOrg(orgOption, false);

    if (is_for_organization.length) {
      $('#on-behalf-block').toggle(is_for_organization.is(':checked'));
    }

    is_for_organization.on('change', function(){
      $('#on-behalf-block').toggle($(this).is(':checked'));
    });

   $("input:radio[name='org_option']").click( function( ) {
     var orgOption = $(this).attr('id');
     selectCreateOrg(orgOption, true);
   });

Any ideas?

Dan


texts: Is it feasible to use CiviPledge as a microloan management system?

texts:
I haven't done much with CiviPledge but am curious about the potential of re-purposing it for a slightly different use to make CiviCRM work as a management tool for a nonprofit's microloan project. Would there be any downsides to doing something along these lines?

Rename it with string replacement so "CiviPledge" becomes "CiviLoan", "pledge" becomes "loan", etc.
Set up a "pledge" on an account when a microloan is given out.
Record a "pledge payment" when a loan repayment is received.


texts: Cant Change “Accept profile submissions from external sites” to No

texts:
I'm getting two errors when logging into the Civi admin back-end. The first is

  Remote Profiles Enabled
  Warning: External profile support (aka "HTML Snippet" support) is enabled in >system settings. This setting may be prone to abuse. If you must retain it, >consider HTTP throttling or other protections.

The second is

  Notice: Undefined offset: 1 in >/home/jgsny/public_html/administrator/components/com_civicrm/civicrm/CRM/Utils/>>check/Security.php on line 383

I navigate to system settings using the link in the error message which brings me to Misc settings page. The option "Accept profile submissions from external sites" is set to 'yes'. I change to 'no', save and return to the control panel, and the error message is gone.  However, on next login the error is back and the setting has reverted to 'yes'


texts: How are soft credits used for membership payments in webform?

texts:
Using Drupal 7.56, CiviCRM 4.7.x and Webform CiviCRM 7.x-4.15.
I have a webform that allows a parent (primary user) to pay the membership fees for up to four children (CiviCRM contacts). The total payment (contribution) is recorded against the parent. Apart from the fact that the membership for the children is renewed there is nothing to show that they have paid when looking at their contact record. Is it possible when using the Webform/CiviCRM module to have the membership contributions for the children to be recorded as soft credits? If so how is that achieved?

Later information
Unfortunately we have separate membership types for parents and children so it is not possible to use inheritance (as far as I can tell). Parents can have different levels of membership and there are different memberships for first, second, third and subsequent children. Maybe we have complicated our membership structure unnecessarily, however it is what it is at the moment. We create family relationships and when we view any child we can see the associated parent where the payment has been made. So what we have to do at the moment is view the child record, click on one of the parents (hopefully the one who has paid), select the contribution and view it. This will at least show the breakdown of the payment into the constituent parts. The only place where we can see the payment against the child is in a book keeping report. Soft Credits would absolutely solve our issues since we could see who has made the single payment and who it has be on behalf of (i.e. the children)
IMHO this would be a useful enhancement to CiviCRM.


texts: Assign all contacts created by a user to one group automatically?

texts:
Just what it says in the title. I have an issue with ACL where the user that has access to only one group creates a New Individual (through civicrm) winch then they do not have the access to.

My thinking was to create a rule where upon adding a Contact it gets added to a group of my choosing, with the condition that the contact was created by a specific user. That condition doesn't exist in CiviRules, as far as I can tell.

EDIT
To make it clear. A user, when creating a contact, can assign the contact to the group they have access to, but this isn't user friendly and feels burdensome. Isn't there an automated way to do this?


texts:
This OWASP document suggests that API keys for REST APIs should be passed as a POST parameter or a cookie. Not a GET parameter, because they can appear in the server logs.

Elsewhere they suggest that the right HTTP verb be used. Writes already have to be a POST request, so maybe read-only calls should still be a GET request (it makes the intent clearer).

As a GET or a POST parameter, the API key will still need to be accessible to client-side JS (assuming that's what your frontend app is written in). It may therefore be vulnerable to XSS.

A cookie can have the HttpOnly flag set so that on any modern browser it will not be accessible to client-side JS (and therefore safer against XSS). It will still be passed back to the server with each request. To set such a cookie, the frontend and backend probably need to be within the same domain.

In CRM_Utils_REST (as of 4.4 at least), the api_key is retrieved from $_REQUEST, which includes $_GET and $_POST. It used to include $_COOKIE (which would enable cookies to be used for the API key), but that is no longer the default in PHP due to other security concerns.

Is there any accepted best practice for treatment of CiviCRM REST API keys at the client side?


texts: Getting an error trying to add contacts to a group from an activity report.

texts:
Getting this error when trying to add contacts to a group from a report.

Table 'childpsy_civicrm.Array' doesn't exist

It's this 'xxx_civicrm.Array' doesn't exist that puzzles me. I'm getting it on another site, but not on others. The CiviCRM Demo site works fine. But that's 5.8.1

Also when viewing a contact, to see what groups they are in....the smart group membership does not work. Using v 5.6.

Can anyone repeat this?


texts:
Can someone tell me what I need to use Views with CiviCRM?  Is it the regular Drupal Views module with another module that provides integration?

Also, how would I use Views to display a count of how many people are registered for each of my events?


texts: How do I edit a contribution form to show the name of the organization and to put a note in like membership allows?


texts: Deduplicate by name AND surname (or vice versa)?

texts:
I'm just starting to use CiviCRM. So I realize that this could be a very dumb question.

I'm trying to deduplicate contacts by name AND surname. When I create a new deduplicating rule using name and surname, it looks like it gets all the contacts with the same name OR surname.

For example, if I have

Mario Rossi
Mario Verdi
Mario Bianchi
Mario Neri

they are all shown as duplicates...but they are not.

Is there a way to create a rule which addresses just contacts with same name AND surname (or vice versa)?

Thank you in advance.


texts: Smart group with manually added contacts

texts:
A smart group is a result of a search. The contacts in the group change dynamically depending on the criteria.

Though, I have several use cases where i want to be able to force some contacts in the group even if they don't meet the criteria in the search. For example, i want to send a newsletter to people that subscribe but also automatically to members.

It seems to be possible to manually add some people to a smart group like if it were a standard group. But is it a good practice ? Is there any known caveat ?


texts: As of 5.4.0, Activity Search gives an empty result set - patch is available

texts: We just upgraded our CiviCRM sites to 5.4.0 and found out that Search | Activity Search always leads to an empty result set. We're on Joomla 3.8.11 but I see the same result on the demo civicrm sandbox (which is running 5.6 alpha 1 on Drupal). Activities are still in place - they show up on contact pages and in the search builder. Is there a change in functionality on the Activity Search page that we're not aware of or is this a bug? Anyone able to confirm?


texts: Where do I submit bug for summary fields extension?

texts:
Where can I submit the bug for the Summary Fields extension?

It seems that the Summary Fields extension has an issue with Relative Dates. In Advanced Search I choose the Date of Last Contribution as Last 60 days including today. When I go back to saved Smart Group later, the relative date is replaced with fixed date (when the group was created).


texts: Can I use localhost:7979 for amp test and one or more different builds created with buildkit?

texts:
After running amp config and amp test, I successfully created a drupal-clean build using buildkit and civibuild on localhost:7979, and added a bunch of extensions, etc.

I turned off my Ubuntu 19.04 laptop, and booted up the next day. However, at localhost:7979 I received a lock error message. So I reran amp test to check everything, and the test passed. amp test also uses localhost:7979.

Now, at localhost:7979 I see

Error: Expected GET or POST value 'exampleData=foozball' Error: Failed to write /home/joe/.amp/canary/data/DSEGrMDEi4ocNQRuBOo4IbE2e73MaT8M/example.txt Error: Failed to remove /home/joe/.amp/canary/data/DSEGrMDEi4ocNQRuBOo4IbE2e73MaT8M/example.txt

I ran curl http://localhost:7979/index.php and get the same result as immediately above.

I ran sudo lsof -i :7979 and get this result:

COMMAND   PID     USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
apache2 16634     root    7u  IPv4 507012      0t0  TCP localhost:7979 (LISTEN)
apache2 16635 www-data    7u  IPv4 507012      0t0  TCP localhost:7979 (LISTEN)
apache2 16636 www-data    7u  IPv4 507012      0t0  TCP localhost:7979 (LISTEN)
apache2 16637 www-data    7u  IPv4 507012      0t0  TCP localhost:7979 (LISTEN)
apache2 16638 www-data    7u  IPv4 507012      0t0  TCP localhost:7979 (LISTEN)
apache2 16639 www-data    7u  IPv4 507012      0t0  TCP localhost:7979 (LISTEN)
apache2 16716 www-data    7u  IPv4 507012      0t0  TCP localhost:7979 (LISTEN)

In the results above, the first process is running as root, not www-data. Do I just need to kill that process? Something else?

Thanks for any guidance!


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

texts:
Drupal 7, Civi 5.12
I have created custom fields for civievent bookings (to be used for Participants, Individual, Organization).

Is there an easy way for a non developer to create tokens for these custom fields so that I can include them in the Contributions Invoice template?

(I asked the same question in 2017 and found a way around by using custom contact fields, but that was kludgy).


texts: Can "Contributions - Recurring Billing Updates" and similar messages be turned off?

texts:
We'd like to turn off Contributions - Recurring Cancellation Notification, Contributions - Recurring Billing Updates, and Contributions - Recurring Start and End Notification. We don't want the messages to be sent.
Generally, we update people's billing information from the backend. In this case, we don't want to send confirmation messages automatically. Sometimes we have to cancel a recurring donation and create it again to get the right financial type, etc. and in that case we definitely don't want email notifications going to donors!
Is there any way to entirely disable all these notifications?


texts: Getting errors when moving D7/CiviCRM install form localhost xampp portable to another location

texts:
I have xampp portable installed on Windows 10.

I run about a dozen Drupal, Wordpress and other CMS on there. I can move the whole stack to different drives and machines and it all works perfectly, only one that can't work is D7/CIVICrm install.

When I move it to another directory I get this error:

fatal error: Cannot redeclare class CRM_Core_ClassLoader in C:\Core\XAMPP_2018\htdocs\crm4\sites\all\modules\civicrm\CRM\Core\ClassLoader.php on line 36

Any idea how to make this work?

The files are absolutely identical from source to location, copy and paste whole Xampp portable folder...


texts: How to find all activities generated by one schedule reminder?

texts:
As the question says - How to find all activities generated by one schedule reminder ?

You can find all activities of type 'scheduled reminder'. This shows a few fields, but not which instance of the scheduled reminder created this activity. You can filter the search by activity 'subject' and 'details', but I don't think the instance of the scheduled reminder is in there (?).

Using the api (explorer) you can get a lot of relationships to activities, like 'medium' and 'parent', but I'm not sure what these mean. Is that information (which scheduled reminder created this activity) lost ?


texts:
We are running civicrm 5.33.1, wordpress 5.7, php 7.4.
The following test template only translates the contact.email greeting, the others stay as they are as do all other tokens in our templates.
Dear {contact.email_greeting}
{domain.address}
{domain.email}
{domain.phone}


texts:
I have a question about SMS, which a client has asked me about.

The problem

The staff member sends an SMS to a client via mobile
The client responds by SMS (their mobile) to the staff member.
Currently, the staff member then keys this into their database.

The challenge

Can we find a way for CiviCRM to file the SMS against the client’s record ?

I have thought about forwarding messages to an inbound processor, but the message would get filed against the staff member, not the client who sent it.

Anyone had this kind of problem before?


texts: How do I get Views working with CiviCRM and Backdrop?

texts:
I followed the instructions for getting Views working with Drupal but it's not working in Backdrop. I see:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'database_name.civicrm_contact' doesn't exist


texts: DB Error: unknown error when sending CiviMail

texts:
I recently upgraded my WordPress CiviCRM from 5.25 to 5.28 and in doing so needed to migrate the SQL old 5.5 database to 5.7.  The upgrades went fine, but I now have an error when trying to send group emails through CiviMail:
Error in call to Mailing_send_test : DB Error: unknown error
Aug 27 15:28:58  [error] $Fatal Error Details = Array
(
    [callback] => Array
        (
            [0] => CRM_Core_Error
            [1] => exceptionHandler
        )

    [code] => -1
    [message] => DB Error: unknown error
    [mode] => 16
    [debug_info] => CREATE TEMPORARY TABLE `civicrm_tmp_e_gccache_5999aedd9eade6251afdc6974a96b5b1` (contact_id int, group_id int, UNIQUE UI_contact_group (contact_id,group_id)) ENGINE=MEMORY DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci [nativecode=1787 ** Statement violates GTID consistency: CREATE TEMPORARY TABLE and DROP TEMPORARY TABLE can only be executed outside transactional context.  These statements are also not allowed in a function or trigger because functions and triggers are also considered to be multi-statement transactions.]
    [type] => DB_Error
    [user_info] => CREATE TEMPORARY TABLE `civicrm_tmp_e_gccache_5999aedd9eade6251afdc6974a96b5b1` (contact_id int, group_id int, UNIQUE UI_contact_group (contact_id,group_id)) ENGINE=MEMORY DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci [nativecode=1787 ** Statement violates GTID consistency: CREATE TEMPORARY TABLE and DROP TEMPORARY TABLE can only be executed outside transactional context.  These statements are also not allowed in a function or trigger because functions and triggers are also considered to be multi-statement transactions.]
    [to_string] => [db_error: message="DB Error: unknown error" code=-1 mode=callback callback=CRM_Core_Error::exceptionHandler prefix="" info="CREATE TEMPORARY TABLE `civicrm_tmp_e_gccache_5999aedd9eade6251afdc6974a96b5b1` (contact_id int, group_id int, UNIQUE UI_contact_group (contact_id,group_id)) ENGINE=MEMORY DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci [nativecode=1787 ** Statement violates GTID consistency: CREATE TEMPORARY TABLE and DROP TEMPORARY TABLE can only be executed outside transactional context.  These statements are also not allowed in a function or trigger because functions and triggers are also considered to be multi-statement transactions.]"]
)

I've tried cleaning up caches but stumped for any other ideas.  Please help.
Kind regards,
Alex


texts: Twilio extension stopped working; neither individual nor mass SMS go through

texts:
Trying to run mass SMS on Twilio which worked great a few months ago, and now it falls apart. Also we hang when trying to send an individual SMS.
And right after trying to send SMS, the run-all-jobs-manually link on Scheduled Jobs throws an Internal Server (500) error.

Running my CRON command line via SSH gives me this:

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /[REDACTED]/wp-content/uploads/civicrm/ext/org.civicrm.sms.twilio/Services/Twilio/Resource.php on line 90
Warning: include(/[REDACTED]/wp-content/uploads/civicrm/ext/org.civicrm.sms.twilio/Services/Twilio/Rest/.php): failed to open stream: No such file or directory in /[REDACTED]/wp-content/uploads/civicrm/ext/org.civicrm.sms.twilio/Services/Twilio.php on line 9
Warning: include(/[REDACTED]/wp-content/uploads/civicrm/ext/org.civicrm.sms.twilio/Services/Twilio/Rest/.php): failed to open stream: No such file or directory in /[REDACTED]/wp-content/uploads/civicrm/ext/org.civicrm.sms.twilio/Services/Twilio.php on line 9
Warning: include(): Failed opening '/[REDACTED]/wp-content/uploads/civicrm/ext/org.civicrm.sms.twilio/Services/Twilio/Rest/.php' for inclusion (include_path='/[REDACTED]/wp-content/uploads/civicrm/ext/com.cividesk.email.sparkpost/:/[REDACTED]/wp-content/uploads/civicrm/ext/com.joineryhq.percentagepricesetfield-1.1/:/[REDACTED]/wp-content/uploads/civicrm/ext/net.ourpowerbase.report.advancedfundraising/:/[REDACTED]/wp-content/uploads/civicrm/ext/com.webaccessglobal.module.civimobile/code:/[REDACTED]/wp-content/uploads/civicrm/ext/org.civicrm.sms.twilio/:.:/[REDACTED]/wp-content/plugins/civicrm/civicrm:/[REDACTED]/wp-content/plugins/civicrm/civicrm/packages:/[REDACTED]/wp-content/plugins/civicr in /[REDACTED]/wp-content/uploads/civicrm/ext/org.civicrm.sms.twilio/Services/Twilio.php on line 9
Fatal error: Uncaught Error: Class 'Services_Twilio_Rest_' not found in /[REDACTED]/wp-content/uploads/civicrm/ext/org.civicrm.sms.twilio/Services/Twilio/Resource.php:47
Stack trace:
#0 /[REDACTED]/wp-content/uploads/civicrm/ext/org.civicrm.sms.twilio/Services/Twilio/Rest/Account.php(23): Services_Twilio_Resource->setupSubresources('applications', 'available_phone...', 'outgoing_caller...', 'calls', 'conferences', 'incoming_phone_...', 'notifications', 'outgoing_caller...', 'recordings', 'sms_messages', 'short_codes', 'transcriptions', 'connect_apps', 'authorized_conn...', 'usage_records', 'usage_triggers', 'queues')
#1 /[REDACTED]/wp-content/uploads/civicrm/ext/org.civicrm.sms.twilio/Services/Twilio/Resource.php(25): Services_Twilio_Rest_Account->init(Object(Services_Twilio), '/2010-04-01/Acc...')
#2 /[REDACTED]/wp-content/uploads/civicrm/ext/org.civicrm.sms.twilio/Services/T in /[REDACTED]/wp-content/uploads/civicrm/ext/org.civicrm.sms.twilio/Services/Twilio/Resource.php on line 47

This blew my lunch today & I still haven't wrapped my head around it:

PHP Fatal error: Uncaught Error: Class 'Services_Twilio_Rest_' not found in /wp-content/uploads/civicrm/ext/org.civicrm.sms.twilio/Services/Twilio/Resource.php:47

Lines 42-51, inclusive:

protected function setupSubresources()

{
    foreach (func_get_args() as $name) {
        $constantized = ucfirst(self::camelize($name));
        $type = "Services_Twilio_Rest_" . $constantized;
        $this->subresources[$name] = new $type(
            $this->client, $this->uri . "/$constantized"
        );
    }
}

Where should I begin?


texts: So I was happily ticking along making webforms on Drupal for new contacts on civi.  The webforms consisted of adding contacts, registering for event amongst a couple of other components.  As I tried to make a new webform, contact details stopped being saved on civi.  I cannot for the life of me figure out what has changed.  Please can someone help. I am not a developer or a programmer, so in as basic instructions as possible please.


texts: CiviMail - 'No recipients': nothing added to table civicrm_mailing_recipients

texts:
I have migrated an existing installation to a new server followed by an upgrade to 4.7.31.

When creating a new mailing I keep getting "No recipients" when I add groups or smartgroups.
If I add recipients of past mailings, it works as expected (I get xx recipients).

In the database
- the table civicrm_mailing_group gets a new record (so OK)
- the table civicrm_mailing_recipients does not get new records added.

So the problem seems to be related to populating the civicrm_mailing_recipients table. How do I debug/solve this?


texts: Where are civicrm profile custom fields stored in the DB?

texts: I have a contribution form with profile with custom fields, I want to know where the custom fields data is stored in the DB for every new contact.


texts: Fatal Error when renewing membership after Upgrading to 4.6.16

texts:
Since upgrade, I am not able to renew membership from backend. As soon I press RENEW I am getting this Fatal Error message:

2016/05/13 11:57:55 [error] 8711#0: *2228 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Cannot pass parameter 2 by reference in /www/demo/sites/all/modules/civicrm/api/v3/utils.php on line 1408" while reading response header from upstream, client: 185.59.126.181, server: demo.com, request: "POST /civicrm/contact/view/membership HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm/demo.com.sock:", host: "demo.com", referrer: "https://demo.com/civicrm/contact/view/membership?action=renew&reset=1&cid=398&id=52&context=membership&selectedChild=member"

Can anyone help please? how to fix this?


texts: How to display CiviCRM status messages on CMS pages

texts:
We have a web page which links users to CiviCRM profiles, to allow them to update their details. After saving, the profile redirects users to the original web page.

Since the original page is not in CiviCRM, the 'Thank you, your details have been updated' message does not appear on the page. However, the next time the user visits a CiviCRM page, that stored message does appear.

We are using Drupal, but I imagine the issue is the same for other CMSes.

TL;DR
How do we render the the status message on the non-Civi page?

One idea would be to create a custom block in a Drupal with some code along the lines of:

civicrm_initialize();
$session = CRM_Core_Session::singleton();
$messages = $session->getStatus(TRUE);
if (count($messages)){
  foreach ($messages as $message) {
    $ds = 'status';
    if ( !empty($message['type']) && $message['type'] == 'error') { $ds = 'error'; }
    drupal_set_message(t('<strong>@title</strong> @message', array('@title' => $message['title'], '@message' => $message['text'])), $ds);
  }
}

This accesses the session, gets the messages, and converts them to drupal_set_message messages. Is there a better way?


texts: New to CiviCRM: Hosting (VPS) requirements and migration from NationBuilder

texts:
this is my first question to the forum, hope you can help me. My org wants to migrate from NationBuilder to CiviCRM. We currently have a shared hosting solution with GreenGeeks, so:

Question 1: with about 6,000 members, contributors... and sending about 50,000 mails a month, do you think a hosting solution like the 1GB option here would be good for a CiviCRM + Wordpress installation? https://www.greengeeks.com/vps-hosting/

Question 2: we'd like to migrate from NationBuilder to CiviCRM. Do you know of any guide/tutorial for this specific case?

Thanks!


texts: CiviCRM Public forms not respecting theme

texts:
I am using Drupal 7.4x and civicrm 4.6.10.

For some reason when my civi forms load on the front end they often load with the administration theme (seven) and then if I refresh, it will load with my front end theme (Zurb-Foundation 4).

In appearance settings, I have the civicrm admin theme set to 'SEVEN' and the public theme set to 'Default'

Any idea on what might be causing this?

UPDATE:
I noticed that every time caches are cleared the initial load of the civicrm public page will use the "SEVEN" theme but the sub-sequential loads will use my default theme.


texts: I created a custom field with a Tab setting, but when I go to Import the custom field is not visible as an option for importing.  Custom fields that are inline are visible.  Is this a limitation or a bug or something unique to my set-up?


texts: How to notify CEO of large contributions?

texts: How can you make an automatical notification to your CEO every time a contact donates more than 10 000?


texts: How to limit number of participant less than 10 for a single transaction?

texts:
Scenario is like this:

Total Participant for the event is 500 (I know how to define that)
2 types of ticket available: Adult & child
On a single transaction only 5 people should be able to register, mix and match of adult & child. (But when I
select "multiple participant is allowed", CiviCRM automatically enables
10 participants).

Is it something possible to do to decrease number of participant value to less than 10?


texts: Using Mailjet purely as SMTP server - pros & cons?

texts: Mailjet is undoubtedly very good at delivering emails, but the Mailjet extensions for Civi don't seem to be current & don't process bounces.  However, given this limitation, using Mailjet solely as an SMTP server without an extension works well and gets emails delivered.  Mailjet has some nice reports too. I've tested this setup and it works fine, but I'm concerned that there might be some disadvantage that I've overlooked.  Can anyone comment on this setup? Pros & Cons?  I'm using 5.13.5 with Drupal.


texts: More and more donors over the last few months have been asking to have custom Solicitation Frequency - IE: Once a year, once every six months.  I can't seem to find a spot within CIVICRM to indicate this within their record.  Is there a spot I am missing?


texts: How to keep "My billing address is same as above" UNTicked by default?

texts:
"My billing address is same as above" field by default is checked. I would like to keep it "UNTicked" by default. How can I do it?

I have tried to modify the template file in civicrm/templates/CRM/Core/BillingBlock.tpl and change <input type="checkbox" id="billingcheckbox" value="0"> value to 1, 2. But that doesn't seem to work.

Can anyone give me a hint how to do it from the template file please?


texts: Track activities and changes that were made in civicrm by staff

texts: What is the best way to track what changes that a staff member has made in civicrm? I am trying to track activities and changes that were made in civicrm by staff.


texts: Custom fields sometimes missing from profile, until flushing caches

texts:
On civicrm 5.20.1 under WordPress, we have added two custom fields to the Registration Info profile (gid=12). We've added that profile to the Online Registration config for one event.
Now and then, for reasons unknown, those fields will stop displaying: on the online registration form, and in the profile preview. Flushing caches (with cv flush or with the "Cleanup Caches" button at q=civicrm%2Fadmin%2Fsetting%2FupdateConfigBackend&reset=1) causes them to reappear.
Then sometime later, they disappear again, until caches are again flushed.
I've verified that neither the profile fields nor the custom fields are being disabled, nor are there any changes in user permissions, ACLs, profile config, custom field config, etc. The only corrective measure is to clear caches.
Is this a known issue in any 5.x version of civicrm? Naturally we're working toward an upgrade to the latest security release, but it would be nice to have some reason to believe that such upgrade might also address this mysterious issue; or to have any other way to address it besides periodically flushing caches.


texts: Which contacts in a mailing group are NOT recipients of a mass mailing?

texts:
I have a mailing group with 1396 contacts in it, 8 of whom don't have email addresses and 21 of whom have opted out of bulk email. Therefore there should be 1367 contacts emailed.

However, when I select the group for a mailing, it says "Total recipients: 1,348" which leaves 19 contacts unaccounted for. How do I find out either

Which contacts are recipients of the mailing, or
Which contacts are NOT recipients despite (a) being in the group, (b)
having an email address, (c) not having opted out of bulk email?

Any help would be appreciated.

Thanks!


texts: I have set up a mailing and scheduled it. The date and time has been and gone and the status is still scheduled... Any ideas where I am going wrong?


texts: Parse error unexpected 'clone' (T_CLONE), expecting '('

texts:
After upgrading to PHP 7.4, started getting
ParseError thrown
syntax error, unexpected 'clone' (T_CLONE), expecting '('
when accessing posts, tags, categories
Everything went back to normal after deactivating CiviCRM 4.5 (I'm using Wordperfect version 5.6)
How can I fix this?


texts: Why is the CiviCRM Data Processor "Country" field displayed as a number in Word Press Content Views?

texts: I successfully installed Content Views CiviCRM with CiviCRM Data Processor for pulling data via Content Views in WordPress. This integration that is explained here works fine. However, I'm encountering a problem that I don't know if it's a bug or a mishandling on my part: The country field is displayed as a number (e.g. I get 1193 instead of Slovenia). How can I fix this? Thank you for your support!


texts: How to fix it? By pressing "Print Summary", there are extra 2 blank pages printed

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


texts: CiviCRM with Worpdress defaults to incorrect host?

texts: I installed CiviCRM on my desktop installation of WordPress and everything worked fine. So I installed it on my working website, and after quite a bit of wrangling with the sysops, I got it to install. My problem is, when I go to configure it, it defaults to a different host than mine (eg., my host is nmsta.org and it goes to sfclt.org). I suspect the problem is in the database because it persists when I uninstall and reinstall it, even with two different versions. Any ideas where to start?


texts: Adding Organization filter to Event details report

texts:
I have a report that I've modified from the Attendee List report under the Event Reports, but it's missing the ability to filter by organization name. Essentially, the purpose of the report is to pull out detailed information of all employees who've attended events in a defined range. This can then be used to show the company the value they are receiving by being members. Everything I need is there except the ability to display only individuals from just one company. Is there a simple way to edit the report to filter by company?

I'm running CiviCRM 4.7.11 on Joomla 3.6.5


texts:
Is there a way to have the versafluid template available at Mosaico.io in CiviCRM?

Should I export and upload the .html file in

ext/uk.co.vedaconsulting.mosaico/packages/mosaico/templates/versafluid

?

regards

EDIT: I've tried to upload in the directory. The template appears but is not editable as template

Guillaume


texts:
I am using CiviCRM on Joomla.

I created an event so users can register and sign up for workshops. One our leaders dropped out and many people signed up for her session. I want them to choose another session before the conference so we can make sure we have enough space. I don't see where I can expose the event profile for editing.

Is this possible?


texts: Member reports javascript broken after update

texts:
Somewhere between 5.15 and 5.36, javascript starts breaking on all member reports.
In the html body, javascript is searching for
$originalElement = $dateElement.siblings('#membership_join_date_from').hide(),
        date_format = $originalElement.attr('format'),

and later does
date_format.indexOf('m') > -1

In my source, membership_join_date_from is not a sibling of $dateElement. it is nested inside a sibling span.crm-form-date-wrapper (and it doesnt have an attribute called format).
So date_format is undefined and the error stops javascript execution; the form layout with tabs and such breaks, even showing the SQL output when generating results.
Since nobody seems to have this, I am wondering if it is something with my reports ?


texts:
On a 4.7.11 site, I'm trying to send mails using the smtp relay server of google.

I followed the instructions on the google website for setting up mail relay in G suite (https://support.google.com/a/answer/176600?hl=en and https://support.google.com/a/answer/2956491)

Then in CiviCRM I configured outbound mail settings like this:

Select mailer: SMTP
SMTP Server: smtp-relay.gmail.com
SMTP port: 25
Authentication? No

When I click the "Save & Send Test Email" button, it works. So the setup of google relay for my account is correct.

Also, when I use activities to send an email, it works.

But when I try to send a test email using CiviMail, I get the error:

Error in call to Mailing_send_test : Failed to set sender: b.25.13.aa68527faac1fed1@EXAMPLE.ORG [SMTP: Invalid response code received from SMTP server while sending email. This is often caused by a misconfiguration in Outbound Email settings. Please verify the settings at Administer CiviCRM >> Global Settings >> Outbound Email (SMTP). (code: 550, response: 5.7.0 Mail relay denied [62.19.72.76]. Invalid credentials for relay for one 5.7.0 of the domains in: example.org (as obtained from helo and mail-from). 5.7.0 Email is being sent from a domain or IP address which isn't registered 5.7.0 in Google Apps account. Please login to your Google Apps account and 5.7.0 verify that your sending device IP address has been registered within 5.7.0 Google Apps SMTP Relay Settings. For more information, please visit 5.7.0 support.google.com/a/answer/6140680#maildenied e9sm8480344wjh.2 - gsmtp)]

Which is weird, because the IP address is correct and SMTP authentication is not required in my google settings.

Is CiviMail using other settings than the one defined in the outbound mail settings screen? Or does it use another method to send mails?

Thanks.

Alain


texts:
I've messed around unsuccessfully to update indices by following various posts in StackExchange for similar errors. I have the impression that the Update Indices button simply does not work correctly.

If I push it at the moment, I get:

DB Error: already exists
Debug information:
CREATE UNIQUE INDEX index_entity_id_entity_table_account_relationship ON civicrm_entity_financial_account (entity_id, entity_table, account_relationship) [nativecode=1062 ** Duplicate entry '0-civicrm_financial_type-12' for key 'index_entity_id_entity_table_account_relationship']

Does anyone have a good way of removing all indices and recreating them?

I just upgraded from 4.7.25 to 4.7.29 (and am on the latest Wordpress version) if that is relevant.

Tried CiviCRM Update 4.7.27 Operation failed: Update Indices Errno: 150 but it didn't work either (complained about ALTER table civicrm_option_value DROP INDEX index_option_group_id_name with #1091 - Can't DROP 'index_option_group_id_name'; check that column/key exists)

Thanks, David


texts:
I would like to be able to send a notification email to the office manager when a member joins through an online form.  The office manager should be notified for each new member.

How can I do this?

The membership form is set up as a contribution page.

I'm using CiviCRM 4.6.10 on Drupal 7.41.


texts: customize search field in Contact Reference Field

texts: In "New Membership" I need to search the contacts by External ID instead of default "name or email". Is there any smart solution for this?


texts: Search extension for first name = last name (to purge spam submissions)

texts:
Some years back there was a forum discussion about a custom search to find contacts where the first name was equal to the last name, which is (or was) common for spam submissions that ended up generating contacts.

A custom search was shared but I was curious if anyone had this working on a more recent version of CiviCRM via an extension. (If not, I may play with that).


texts: hook for search a household contact with the surname individual field from online contribution page

texts:
We are an association of parents of students.

We have a Contribution page for Membership Registration. But we can only add individual and organization fields to this contribution page, no household fields. Is this a CiviCRM bug?

Then we need a hook to search the household contact with the surnames of the individual contact, and if found, link the contribution to that household, and if not found, add new one.

Currently we have to link the individual and household records or create a new household and remove the individual.

How can we configure a contribution page to add and link an individual and a household record properly?


texts: Unable to use discount codes when registering in admin area

texts:
For an upcoming paid event, we need to register speakers, guests, etc. for free. In attempting to register those people in the admin area, we are unable to use a comp discount code that is for 100% off. Each time we enter the code, it accepts it and changes the total to $0, but upon save we get the error message "Please select at least one option from price set," even though an option was selected prior to submitting.

The discount codes work fine when used on the front-end, but these are courtesy registrations and we want to bypass the confirmation message, since those details have been handled separately.

I was able to work around the issue by creating a new price set for the event that makes use of admin-only options to remove the cost for speakers, however; the issue still remains that the discount codes don't work on the back-end. This has happened on other events in the past, which we by-passed by logging-in as the member and registering via the website front-end. Has anyone else experienced this, and are there troubleshooting steps I can take to find a resolution?

We are running CiviCRM 5.6.0 on Joomla 3.8.13

Updated to add a screenshot of the discount code.


texts: Questions regarding offline contribution receipt

texts:
After checking the box, send receipt after entering in an offline contribution, where do I see the copy of the receipt that was sent?

After importing contributions, do we have to click Send Receipt manually for each contribution that was uploaded in order to send a receipt?

Thanks.

Roshani


texts: What is the best way to alter menu permission?

texts:
I need different access argument for "civicrm/group/add"
For now I found only 2 options: alter Group.xml or with hook_civicrm_xmlMenu
unset Group.xml and use my own file to defined menus.
But it would be nice just to use some hook to alter access arguments. Is there anything like that?


texts: How to add custom fields to membership report display columns?

texts:
We have a set of custom data for memberships. One field is 'radio' type for newsletter delivery preference: online, paper, both, none. We can filter on this custom field in membership reports no problem, but cannot add it as a column in the report. I suspect this is an area related to custom report programming, and I'm not at all sure how to go about this. When I search on "custom field report column" I get a few hits in the forum that are a bit cryptic to me.

Update: To fix this all I had to do was upgrade to 4.6.2.


texts: CiviCRM Receipt Text for Offline Join and Renew

texts:
Can someone please explain where the text for the two fields is coming from? receipt_text_signup and receipt_text_renewal

CiviCRM 4.7.x on Drupal 7.

{if $formValues.receipt_text_signup}

{$formValues.receipt_text_signup|htmlize}

    {elseif $formValues.receipt_text_renewal}

{$formValues.receipt_text_renewal|htmlize}

    {else}

{ts}Thank you for your membership.{/ts}


texts:
I am starting to experiment with civirules, and it looks like it's going to help a lot for automated workflows. There are some actions that are missing and am interested in playing to add more.

Using Wordpress 4.92, Civicrm 4.7.27, CiviRules 1.17

Am looking here: https://docs.civicrm.org/civirules/en/latest/create-your-own-action/ but am having a hard time understanding exactly what I need to do to add an additional action.

"It is pretty simple (at least that is what we think) to add your own actions to the CiviRules Engine. You can either do that by adding it to the CiviRules extension or by creating your own extension and including your own action." Well it doesn't seem simple because I can't find a simple way of doing this.

There's some existing action items that would easily serve as templates for what I want to do, so I'd like to add an additional action to the existing CiviRules extension.

I've attempted to code additional mgd.php and .php files in the appropriate folder structure. But when I do this, the class isn't registered in the database - obviously.

"If you didn't create your extension with civix you should add the hook_civicrm_managed_entities to your extension and return the array below." How do I do this exactly if I'm adding to the existing extension and not creating a new one? Where do I put the hook? What's the syntax? I've never worked with hooks before. I've Google searched for hook_civicrm_managed_entities but I'm not sure what this is as it doesn't return anything. Is this the hook_civicrm_managed(&$entities) hook that is in https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_managed/?

I attempted to use create a hook directory as per https://docs.civicrm.org/dev/en/latest/hooks/setup/wordpress/ and use the code that is recommended and that broke my site. The info in this doc seems to imply that it relates to WordPress 4.6, and the link https://civicrm.org/blog/haystack/working-with-civicrm-46-in-wordpress has a comment that says the civicrm_managed_entities hook won't work properly with WordPress? "Tim Otten reminded me (thanks Tim) that there's another hook which won't behave as expected in WordPress, which is 'hook_civicrm_managed'. Callbacks work fine but, at present, there's no logic for managing the entities in WordPress. Another one for the roadmap, logged here for reference."

Help please!! Step 2 and 3 I can easily do, but Step 1, not so much.


texts: How to Set Up a Particularly Wonky Membership Type?

texts:
The foundation where I volunteer has been around for 52 years and is finally adopting a CRM and I am responsible for making it work :/ I didn't even know Civicrm existed until three days ago. I'm struggling mightily on multiple fronts. I haven't slept in two days, but to stay on topic;

It has a membership type called a "Lifetime Membership". In many ways its like a layaway program. Supporters can pay as little as they like, as long as they like, on whatever regular or irregular schedule they want. On the magic day that their contributions total the membership cost, they become Lifetime Members. In theory, I guess all I need to do is keep their membership status set to "pending" until they reach the goal, which could take years. But I'm kinda fumbling between the docs, youtube videos, this forum and the crm trying to set this up. If anyone would be so kind as to give me a bullet pointed list of action items to accomplish this, I would ... I think I would cry...
Thanks


texts: Date field format changes when set to view only

texts:
I made a custom field. The field type is a Date field. I set the date format to european (Dutch) settings: dd-mm-yyyy, with time = none.
I use the field in a profile that is published as a profile create form, where it works all right.
To allow a contact to view the data they sent trough this profile, I made a profile edit form as a menu item. After logging in, the contact can see this date field, but as view only.
In this last form the view only field presents the data as mm/dd/yyyy.

I checked all the places where date formats are set, changed everything everywhere to dd-mm-yyyy. This does not change the date-format in the view only field.

Is this normal behaviour, a bug or me doing something wrong?


texts: Error in civix generate:api "You cannot change the session module's ini settings at this time"

texts:
When attempting to run this:

civix generate:api Invoice Create

It creates an /api/v3/Invoice folder but doesn't create any files. Instead I get the following:

  Warning: ini_set(): A session is active. You cannot change the session
  module's ini settings at this time in
  /home/ubuntu/civix/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/NativeFileSessionHandler.php
  line 56

Civix works for me otherwise; I can create extensions, pages, etc. Any suggestions?


texts:
How can I add a phone number in a URL query string in CiviCRM?

Goal:  To bring up all records associated with that number

Thank you,

Laurie


texts: How to register participant for all repeating/recurring events - CiviCRM 4.6

texts:
I've been looking at the docs but can't find an obvious way to register someone onto all occurrences of a repeating/recurring event.

e.g. On a ten week course, I want to register them on one page, and not have to register them 10 times


texts:
I am using Civi 4.7.29 on Wordpress 4.9.1

When exporting the membership list for postal mailing, the expiration date is shown as YYYY-MM-DD.  I would really like it to be MM-DD-YYYY.

To export I go to Search>Find Memberships, I select my membership type then scroll to the bottom and click search.  On the next page I select All Records, then select Export Members from the drop down menu.

Is there a better way of doing this to get the date format I need, or are there some settings I can change?  The Localization > Date Formats do not seem to cover the exports.

Thank you.


texts:
I am a beginner of civi crm, and for views integration I have refered this link
https://docs.civicrm.org/sysadmin/en/latest/integration/drupal/

Configuration
If you have your Drupal and CiviCRM in separate databases adding CiviCRM support to Views takes a small bit of configuration. Views must be told where to look for CiviCRM data. Administer > System Settings > CMS Database Integration shows some code that must be copied and pasted into the Drupal settings.php

This section is not visible in my cicvicrm CMS Database Integration

It shows no query .. something need to enable this to work?Please help me to resolve this


texts: Crons are running but System Status is No cron runs have been recorded

texts:
Hosted (Linux) website on SiteGround + Joomla + CiviCRM

Versions

PHP 7.0.29;
Joomla! 3.8.6;
CiviCRM 4.7.31

Scheduled jobs are administered as documented Calling cron.php with curl

Cron jobs are running. One example:

CiviCRM System Status page reports Cron not running,

Why this post?

There are several similar questions being posted without clear answers.
Support from hosting company is limited at this time on this issue.
No hints in the CiviCRM documentation.
I hope to get support from CiviCRM community.

My question: Why cron runs "are not being recorded"?


texts: How can I set up a two part sign up form, where first submit leads to second with more fields?

texts:
My client doesn't want to scare potential subscribers off with a long form.

Is there a way to capture, and save, the name, email and phone of a subscriber and then redirect this user to a form that collects more information (like address, employer etc..)?

I could hide half the form with javascript but this means the first half wouldn't be saved.

I was thinking I could use the redirect field to redirect to a new form but then this information wouldn't be added to the same contact.

I'm using civiCRM with wordpress.

Thanks for your help!

Edit: I am looking to do this without the user having to create an account (with username, password). Just two profile forms that follow on from each other and are saved to the same contact.


texts:
Encountering the following npm related issue on using the latest buildkit. Any suggestions? NPM is already at latest.

If someone has a working buildkit they could tell me which version of npm they're on that'd be great.

Thanks.

vagrant@civi:~$ ~/buildkit/bin/civibuild create "4719" --admin-pass "password" --civi-ver "4.7.19-rc" --type "drupal-demo" --url "http://4719:7979" --force
npm WARN npm npm does not support Node.js v0.10.25
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm You can find the latest version at https://nodejs.org/

/usr/local/lib/node_modules/npm/lib/install.js:298
        [this, (next) => { computeMetadata(this.idealTree); next() }],
                       ^
npm ERR! Unexpected token >

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/vagrant/.npm/_logs/2017-06-04T20_40_46_477Z-debug.log


texts:
Is there a way i could restrict case clients to organizations only when creating a new case?

Wouldn't necessarily need to only show orgs in the autocomplete search, as long as submitting was restricted to orgs only..

I'm using Drupal 7 and latest CiviCRM

Thanks!