Hot answers tagged

8 votes

How to make status always 'Completed' for activities added to a case?

Might be easiest to update the database is_default field. Works for me on a 4.6 site: update civicrm_option_value set is_default=0 where option_group_id=26 and name='Scheduled'; update ...
user avatar
  • 17.5k
6 votes

What is the recommended level of PHP for CiviCRM? There seems to be some inconsistencies

CiviCRM PHP requirements recommends PHP5.5 or greater, and notes PHP5.3.10 is the bare minimum required. As well as this, you want to be sure your PHP version is actively getting security updates, and ...
user avatar
6 votes
Accepted

What to do about "File 'Array' presents a security risk and should be deleted." on 4.7?

CiviCRM is not warning you about a file named Array.php, the confusing error message is because it's rendering a PHP array to a text string. I've opened an issue in JIRA about this and submitted a ...
user avatar
6 votes

What version am I running?

You can also check the version from the file: civicrm-version.php in the downloaded folder of civicrm. File path : civicrm/civicrm-version.php
user avatar
  • 483
6 votes
Accepted

Help: Fatal error doing an export (Civi 4.7.4)

Line 435 in CRM/Export/BAO/Export.php that your error message is referring to says: if (!empty(self::defaultReturnProperty($exportMode))) { This will give an error in all PHP versions below 5.5. ...
user avatar
  • 76
6 votes
Accepted

How to Disable Calls to CiviCRM site in 4.7?

There are multiple calls to CiviCRM.org in the site codebase, so it's not clear which are triggering errors on your site. These are some of the things you could do ... Disable Version Checking ...
user avatar
6 votes
Accepted

How can I speed up a slow upgrade to 4.7?

The slowest part of upgrading on a large installation is usually the civicrm_mailing_event_* tables. That data is also often stale, so consider deleting it if you don't need to keep historical ...
user avatar
6 votes
Accepted

What differences are there between CiviCRM 4.6 and 4.7?

The performance improvements to move from 4.6 to 4.7 when you have a large installation is, in itself, worthwhile (we did it when we had about 500k contacts, we would have done it earlier if we'd ...
user avatar
  • 10.1k
6 votes

How to remove notice at login

This is a preference you can set, but it's not exposed in the web interface. There's a section of civicrm.settings.php that documents it. In case you've upgraded from an older version of CiviCRM ...
user avatar
5 votes

Upgrade to 4.7 breaks custom php

This does appear to be a legitimate issue, so I've created a bug in the tracker here: https://issues.civicrm.org/jira/browse/CRM-18079 Generally it's better not to use this folder for maintainability ...
user avatar
  • 1,917
5 votes
Accepted

What version am I running?

If you have CiviCRM 4.7 then from the top menu: Administer > Administration Console > System Status Your version number will be in the CiviCRM Up-to-Date section. [side note: the demo version of ...
user avatar
5 votes
Accepted

Exports in 4.7.6 are not working correctly

This is a bug and will be updated in the next release. In the meantime, you can use this PR to fix. Further info on Jira.
user avatar
5 votes

"Printer-friendly" pages

Agree, it's probably time to remove it. Over on https://civicrm.org, it's handled like this: .crm-container #printer-friendly { display: none; }
user avatar
5 votes
Accepted

Additional Fonts CKEditor

We had some more luck with the integrated UI configuration of CKeditor, and after some trial and error we came up with the following solution: In the following documentation I will assume that the ...
user avatar
  • 491
5 votes

Is 4.7.x end-of-life? Why does my site say that 4.7 has reached the end-of-life?

There is a helpful explanation. The numbering system changed, this is detailed here 5.0.0 is the next version after 4.7.31 and is not a major update. In The Q&A section there is an answer to ...
user avatar
4 votes

How do I use the joins feature of the new API

The JIRA Issue for this feature https://issues.civicrm.org/jira/browse/CRM-17795 reads This adds support for joins in api.get operations to fetch information from more than one table. It ...
user avatar
4 votes
Accepted

How to access the 4.7 Administrator Status Page?

@jdax worked on this at the Maryland sprint, and she's done except for a tiny bug to fix that a test just found. I expect it'll be included soon. Alerts will have a link to the status page, and the ...
user avatar
  • 7,337
4 votes

How to access the 4.7 Administrator Status Page?

You posted this question almost exactly at the same time that a PR to merge in this feature was posted - see the last comment on the CRM-13823 issue. I was part of the team that worked on this during ...
user avatar
4 votes

What version am I running?

If you have access to your DB you can look in the civicrm_domain table for field= version
user avatar
  • 26.9k
4 votes
Accepted

Error: Could not create directory

General tip: When I've had problems like this (a mysterious setting/value/datum), one other technique is to search the full database. There's no direct way to do that in MySQL, but you can dump the ...
user avatar
  • 5,564
4 votes

How to make status always 'Completed' for activities added to a case?

You can use the buildForm hook on an activity to check if the activity belongs to a case (in which case case_id will not be empty I think) and then set the default status to Completed. There is an ...
user avatar
4 votes

How can arrange custom fields so they are side by side?

The case custom fields are formatted as a series of one row tables. You could add some jQuery to move them around. For example: CRM.$(function($) { $('#Outcomes table:nth-of-type(3n+1)').each(...
user avatar
  • 10.8k
4 votes

How can I speed up a slow upgrade to 4.7?

For the specific case of upgrading to 4.7, here's a useful tip from Dave Jenkins : https://issues.civicrm.org/jira/browse/CRM-18526#comment-106825 In short: upgrading to 4.7 involves multiple changes ...
user avatar
  • 5,974
4 votes

Why has entering a date changed in 4.7.16? Can it be reverted?

There was an issue due to some refactoring around the handling of date fields to try to standardise them. This lead to a problem most notably in birth date fields in 4.7.16 but i'm guessing can be ...
user avatar
  • 1,279
4 votes

How can I fix this problem with duplicate index in 4.7.21?

You can apply this PR - and reload System status page. This will let you know in advance which indices are already present in DB and would result in DB error on hitting Update Indices button. So what ...
user avatar
4 votes

What is the latest version of CiviVolunteer?

I think there is confusion on release date. Version 4.7.31-2.3.0 was released on March 2018 not March 2017. I guess the maintainer forgot to update the year to 2018 in info.xml file. HTH Pradeep
user avatar
3 votes

How are recurring contributions (standing orders) implemented in 4.7?

I think you're asking a very UK-specific question about direct debit. UK has special rules for direct debit that CiviCRM doesn't know anything about. But the iATS Payments payment processor does ...
user avatar
  • 5,974
3 votes

What version am I running?

Another way from the API (4.7 onward) is to use the System.check API: $result = civicrm_api3('System', 'check', array( 'name' => "checkVersion", )); to get something like Array ( [is_error]...
user avatar
  • 7,337
3 votes
Accepted

How to fix translations in CiviCRM 4.7

Exists an unresolved localization issue that probably explains your translation problems. You can see here: CRM-17737 New Mailer dialog seems impossible to translate
user avatar
3 votes

Using Profiles for Data Entry

In Drupal under Configuration > Development > Logging and Errors ie admin/config/development/logging you can set Errors and warnings to be 'off' and it is normal to do so on the production site, while ...
user avatar
  • 26.9k

Only top scored, non community-wiki answers of a minimum length are eligible